Home page di to.co
Inizia

Il server MCP di to.co

Permetti a un assistente AI di cercare le schede delle attività pubblicate su to.co e di tenere aggiornato il profilo della tua attività. Cercare le attività è gratis e non richiede l’accesso.

Collega il tuo assistente Strumenti

URL del server
https://mcp.to.co/mcp
Trasporto
Streamable HTTP (revisioni del protocollo MCP 2026-07-28, 2025-11-25)

Collega il tuo assistente

Aggiungi l’URL del server al tuo assistente. Le ricerche funzionano subito. Per permettergli di gestire le tue attività, accedi a to.co quando te lo chiede, come descritto in «Accesso».

Claude (claude.ai and the desktop app)

  1. Open Settings, then Connectors, and choose Add custom connector.
  2. Name it to.co and enter https://mcp.to.co/mcp as the URL.
  3. Leave the client ID and secret empty. Lookups work at once; to let Claude work on your own businesses, sign in to to.co and choose Allow when it asks.

Claude Code

  1. Run this in a terminal, then run /mcp in Claude Code and choose toco to sign in when you want the companies and locations tools.
claude mcp add --transport http toco https://mcp.to.co/mcp

Cursor

  1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Cursor asks you to sign in to to.co when the companies or locations tool first needs it.
{
  "mcpServers": {
    "toco": {
      "url": "https://mcp.to.co/mcp"
    }
  }
}

VS Code

  1. Add this to .vscode/mcp.json, then start the server from the MCP view. VS Code asks you to sign in to to.co when the companies or locations tool first needs it.
{
  "servers": {
    "toco": {
      "type": "http",
      "url": "https://mcp.to.co/mcp"
    }
  }
}

ChatGPT

  1. In Settings, open Apps and connectors and turn on developer mode under Advanced.
  2. Create a connector with https://mcp.to.co/mcp as the server URL and OAuth as the authentication.

Windsurf

  1. Add this to ~/.codeium/windsurf/mcp_config.json. The Authorization header, with an agent token, is needed only for the companies and locations tools; leave it out for lookups.
{
  "mcpServers": {
    "toco": {
      "serverUrl": "https://mcp.to.co/mcp",
      "headers": {
        "Authorization": "Bearer toco_at_…"
      }
    }
  }
}

Any other client

  1. Use Streamable HTTP at https://mcp.to.co/mcp.
  2. For the companies and locations tools, sign in with OAuth (the server advertises https://my.to.co in its protected resource metadata) or send Authorization: Bearer with an agent token.

Accesso

Gli strumenti identity e help non richiedono l’accesso. Gli strumenti companies e locations operano sulle attività di proprietà del tuo account, quindi l’assistente deve agire per conto tuo. Ci sono due modi.

Accedi con to.co (OAuth). Quando l’assistente usa per la prima volta lo strumento companies o locations, il server risponde che serve l’accesso, e l’assistente apre una pagina di to.co dove accedi e vedi cosa ti chiede: leggere le tue attività e modificarne il profilo pubblico. Puoi togliere la spunta alle modifiche. Riceve poi un token che dura un’ora e si rinnova da solo; puoi scollegarlo in qualsiasi momento nella pagina «Accesso e sicurezza». Funziona con gli assistenti che supportano l’accesso MCP (OAuth).

Oppure usa un token per agenti, per script e assistenti senza accesso MCP. Creane uno nella pagina «Accesso e sicurezza» di my.to.co. Dura 90 giorni, inizia con toco_at_, può fare tutto ciò che fanno gli strumenti companies e locations, e puoi revocarlo lì. Invialo come Authorization: Bearer toco_at_…. Trattalo come una password: i token provenienti da pagine web vengono rifiutati. In entrambi i casi, il server verifica la proprietà a ogni chiamata: l’attività di un altro account risulta come non trovata.

Gestisci app collegate e token

Il server proprio di ogni attività

Ogni attività pubblicata su to.co ha anche il proprio server MCP, al proprio indirizzo con /mcp alla fine, per esempio https://mybusiness.uk.to.co/mcp. È un server distinto da mcp.to.co, con strumenti propri su quella sola attività: ciò che pubblica sulla sua pagina (chi è, come contattarla, quando e dove è aperta, e cosa permette di fare agli assistenti), i messaggi dove l’attività li accetta, e strumenti per il suo titolare. Nessuno cerca un’altra attività, e nessuno accetta un indirizzo. Chiedere informazioni sull’attività è gratuito e non richiede l’accesso. Il server di ogni attività è documentato al suo indirizzo, in /mcp/docs, nella lingua di chi legge. La pagina dell’attività vi rimanda, e il suo llms.txt e un’intestazione Link (rel="service-desc") rimandano alla sua scheda del server, /.well-known/mcp.json.

Per collegarti, aggiungi l’indirizzo dell’attività, che termina con /mcp, al tuo assistente come connettore personalizzato o server MCP. L’accesso funziona come descritto in Accesso, e il collegamento vale solo per quell’attività: un token per un’altra attività, o per mcp.to.co, viene rifiutato. Il titolare trova l’indirizzo in my.to.co, nella scheda Assistenti IA dell’attività.

Consultare un’attività non costa nulla, con o senza accesso: ogni chiamante (un token o, senza, un indirizzo IP) può fare 600 consultazioni all’ora sul server di ogni attività. Una chiamata che richiede l’accesso la paga chi la fa. L’account del titolare usa i crediti API mensili dell’attività, con ogni piano. Chiunque altro ha una propria quota per tutte le attività: 60 chiamate all’ora e 500 al mese. Oltre le 500 del mese, paga con i suoi crediti API mensili un’attività del suo stesso account su to.co; senza, le chiamate vengono rifiutate fino al giorno 1. I rifiuti sono HTTP 429: credits_exhausted quando il mese dell’attività è esaurito, allowance_exhausted per il mese della persona e rate_limited con Retry-After per un’ora.

Con Pro e Grow, il titolare può permettere agli assistenti di inviare un messaggio all’attività con lo strumento messages, dopo che la persona per cui agisce l’assistente l’ha visto e ha chiesto di inviarlo, con il proprio nome e i propri recapiti. È disattivato finché il titolare non lo attiva.

Strumenti

Ogni connessione ha i quattro strumenti qui sotto; gli account che hanno effettuato l’accesso hanno anche strumenti per documenti, partner commerciali e messaggi. Ognuno accetta un argomento action che indica cosa fare, più gli argomenti richiesti da quell’azione. I nomi dei campi di argomenti e risultati sono in snake_case, come nell’API di to.co. Ogni risultato è JSON, restituito come contenuto strutturato con uno schema di output corrispondente. Gli orari di apertura mantengono la forma in cui sono memorizzati: day (da 0 per domenica a 6 per sabato) o date (YYYY-MM-DD), open, open_time e close_time nel formato 24 ore HH:mm; un orario di chiusura precedente a quello di apertura prosegue oltre la mezzanotte.

identity — Look up a business identity

Look up published business identities on to.co. Anyone can call it; no sign-in needed. Records are the public projection: never internal keys or account details.

AzioneCosa faArgomentiAccesso
resolveThe business at a to.co address.
  • host string, obbligatorio A to.co address, e.g. mybusiness.uk.to.co or mybusiness-bristol.biz.to.co
Chiunque
Sola lettura
websiteThe businesses whose website is on this hostname. A website can belong to more than one business, so this returns a list.
  • website string, obbligatorio The business's own website, e.g. mybusiness.com or https://www.mybusiness.com/
Chiunque
Sola lettura
searchBusinesses whose name matches, newest first.
  • query string, obbligatorio Part of the business name, at least 2 characters
  • limit integer Maximum results, 1-25 (default 10)
Chiunque
Sola lettura

Esempio di chiamata

{
  "name": "identity",
  "arguments": {
    "action": "resolve",
    "host": "mybusiness.uk.to.co"
  }
}

companies — Manage your businesses

Read and update the businesses the connected account owns, drafts included. Needs the person to sign in (OAuth) or an agent token; only the owning account can read or change a record.

AzioneCosa faArgomentiAccesso
listEvery business the account owns, with its record key and publish status.NessunoAccesso, ambito companies:read
Sola lettura
getOne business the account owns, by record key.
  • domain string, obbligatorio The record key of a company you own, as returned by companies list (the `domain` field)
Accesso, ambito companies:read
Sola lettura
updateChange profile fields and publish the page again. Fields you leave out keep their value; an empty string or null clears one. A registered company takes its official name from the company register, so its name cannot be changed; set informal_name instead.
  • domain string, obbligatorio The record key of a company you own, as returned by companies list (the `domain` field)
  • name string The name of a business that is not registered. Refused for a registered company
  • informal_name string A shorter everyday name. An empty string or null clears it
  • description string What the business does, up to 2000 characters. An empty string or null clears it
  • website_url string The business website, a full https:// URL. An empty string or null clears it
  • email string A public contact email. A new address is shown on the page only after its owner confirms it from a link emailed to it; the old one stays until then. An empty string or null clears it
  • phones object Phone numbers by kind; kinds you leave out keep their value. Whether to.co verified a number is read-only
  • links object Links shown as actions on the page; links you leave out keep their value
  • keywords string Search keywords, up to 1000 characters. An empty string or null clears it
  • category string The business category shown on the page, e.g. Bakery. An empty string or null clears it
  • vat_registration_number string An optional VAT, GST or other tax registration number for the company's home country. Up to 100 characters; upper-cased, and anything but letters and digits removed. Where the country has a rule (the EU, the UK, Switzerland, Norway, Australia, New Zealand, Canada, India) its format and check digit are checked and a number that fails is refused; EU and UK numbers are saved with their country prefix. An empty string or null clears it
  • contact_preferences object How the business prefers to be contacted by to.co: true or false for email, sms, post and tel
  • social_links object Social profiles by network (linkedin, x, instagram, facebook, youtube, tiktok, pinterest, vimeo, snapchat, clubhouse): a profile link, or a handle for x and instagram. An empty string or null removes one
Accesso, ambito companies:write
Modifica i dati

Esempio di chiamata

{
  "name": "companies",
  "arguments": {
    "action": "list"
  }
}

locations — Manage your trading locations

Read the locations of a business the connected account owns, and set the description, opening hours, phone numbers and social profiles of its trading locations. These changes keep a location verified. The registered office comes from the company register and cannot be changed here; moving an address needs new proof, in the to.co app.

AzioneCosa faArgomentiAccesso
listEvery location of a business you own, with its record key, kind (registered or trading), hours, phones and profiles.
  • domain string, obbligatorio The record key of a company you own, as returned by companies list (the `domain` field)
Accesso, ambito companies:read
Sola lettura
updateSet the description, opening hours, special hours, phone numbers or social profiles of a trading location and publish the page again. Hours replace the current ones; fields you leave out keep their value. Phone numbers are saved as international numbers; the answer's checks say what was changed, and a value that cannot be accepted is refused, naming the field.
  • domain string, obbligatorio The record key of a company you own, as returned by companies list (the `domain` field)
  • location string, obbligatorio The record key of a trading location, as returned by locations list (the `domain` field)
  • description string What this location offers: its own services, products and benefits, in plain words (no name, address, phone, email, links or prices; they are checked and removed). An empty string or null clears it
  • normal_hours array Weekly opening hours, replacing the current ones: one entry per slot, up to 4 a day; a day with no entry or open false is closed. [] or null clears them
  • special_hours array Holiday and closure hours that replace the weekly hours on their date, replacing the current list. [] or null clears them
  • phones object Phone numbers by kind; kinds you leave out keep their value. Whether to.co verified a number is read-only
  • social_links object Social profiles by network (linkedin, x, instagram, facebook, youtube, tiktok, pinterest, vimeo, snapchat, clubhouse): a profile link, or a handle for x and instagram. An empty string or null removes one
Accesso, ambito companies:write
Modifica i dati

Esempio di chiamata

{
  "name": "locations",
  "arguments": {
    "action": "list",
    "domain": "yxpx6pdx.uk.to.co"
  }
}

help — Connection and usage help

Check this connection and read the usage guide.

AzioneCosa faArgomentiAccesso
whoamiWhether this connection is signed in, and which tools and actions it can use.NessunoChiunque
Sola lettura
guideThe usage guide as Markdown (also the resource toco://guide).NessunoChiunque
Sola lettura

Esempio di chiamata

{
  "name": "help",
  "arguments": {
    "action": "whoami"
  }
}

Risorse

  • toco://guide (text/markdown) — How to look businesses up and keep your own profile current, with examples.
  • toco://identity/{host} (application/json) — The published record at a to.co address, as JSON. Example: toco://identity/mybusiness.uk.to.co

Prompt

  • look_up_business — Find a business on to.co by its to.co address, website or name, and summarize its record. Argomenti: business.
  • review_my_profile — Read a business you own and suggest clearer wording for its public profile. Changes nothing until you confirm. Argomenti: domain.

Errori

Una chiamata che l’assistente può correggere torna come risultato dello strumento contrassegnato come errore, che inizia con un codice stabile e dice cosa cambiare:

  • invalid_arguments — Un argomento manca, è fuori intervallo o è sconosciuto (i nomi dei campi sono in snake_case), oppure l’azione è sconosciuta.
  • not_found — Nessuna attività pubblicata corrisponde, oppure nessuna attività o sede di tua proprietà ha quella chiave della scheda.
  • unauthenticated — L’azione richiede l’accesso (si vede solo con i client che non gestiscono l’HTTP 401 descritto sotto).
  • insufficient_scope — Il collegamento non è autorizzato per questa azione, per esempio una modifica quando era consentita solo la lettura.

Una chiamata companies o locations senza accesso riceve HTTP 401 con un header WWW-Authenticate che punta ai metadati della risorsa protetta del server: così l’assistente sa che deve avviare l’accesso. Un’azione al di fuori di quanto hai consentito riceve HTTP 403 con error=insufficient_scope e l’ambito da richiedere. Un token non valido, scaduto o revocato riceve HTTP 401 prima che venga eseguito qualsiasi strumento; non viene mai trattato come assenza di token. Troppe richieste ricevono HTTP 429 con un header Retry-After.

Limiti

  • 120 richieste al minuto per ciascun token per agenti o, senza token, per indirizzo IP.
  • Corpo delle richieste fino a 1024 KB.
  • La ricerca restituisce fino a 25 attività per chiamata.

Individuazione

Dati e privacy

Le ricerche restituiscono solo schede pubblicate, con gli stessi dati della pagina pubblica dell’attività. Il server registra quale strumento e quale azione sono stati eseguiti, se hanno funzionato e quanto tempo hanno richiesto, senza argomenti e senza contenuto delle schede. Quando colleghi un assistente, to.co conserva una registrazione del collegamento (il nome dell’app, cosa hai consentito, quando è stato creato e usato l’ultima volta), che resta come registro di sicurezza anche dopo che lo scolleghi.

Prossimi passi

Lingua