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)
- Open Settings, then Connectors, and choose Add custom connector.
- Name it to.co and enter https://mcp.to.co/mcp as the URL.
- 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
- 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
- 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
- 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
- In Settings, open Apps and connectors and turn on developer mode under Advanced.
- Create a connector with https://mcp.to.co/mcp as the server URL and OAuth as the authentication.
Windsurf
- 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
- Use Streamable HTTP at https://mcp.to.co/mcp.
- 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.
| Azione | Cosa fa | Argomenti | Accesso |
|---|---|---|---|
resolve | The business at a to.co address. |
| Chiunque Sola lettura |
website | The businesses whose website is on this hostname. A website can belong to more than one business, so this returns a list. |
| Chiunque Sola lettura |
search | Businesses whose name matches, newest first. |
| 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.
| Azione | Cosa fa | Argomenti | Accesso |
|---|---|---|---|
list | Every business the account owns, with its record key and publish status. | Nessuno | Accesso, ambito companies:readSola lettura |
get | One business the account owns, by record key. |
| Accesso, ambito companies:readSola lettura |
update | Change 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. |
| Accesso, ambito companies:writeModifica 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.
| Azione | Cosa fa | Argomenti | Accesso |
|---|---|---|---|
list | Every location of a business you own, with its record key, kind (registered or trading), hours, phones and profiles. |
| Accesso, ambito companies:readSola lettura |
update | Set 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. |
| Accesso, ambito companies:writeModifica 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.
| Azione | Cosa fa | Argomenti | Accesso |
|---|---|---|---|
whoami | Whether this connection is signed in, and which tools and actions it can use. | Nessuno | Chiunque Sola lettura |
guide | The usage guide as Markdown (also the resource toco://guide). | Nessuno | Chiunque 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
- Server card —
https://mcp.to.co/.well-known/mcp.json - Voce nel registro MCP (co.to/mcp) —
https://mcp.to.co/server.json - Metadati della risorsa protetta (RFC 9728) —
https://mcp.to.co/.well-known/oauth-protected-resource - Metadati del server di autorizzazione (RFC 8414) —
https://my.to.co/.well-known/oauth-authorization-server - llms.txt di questo sito
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.