連線
在您的助手的 MCP 設定中使用上方的伺服器網址。任何人無需登入即可查詢公開的企業資訊。
Claude Code:在終端中執行以下命令。
claude mcp add --transport http 50heads https://50heads.uk.to.co/mcpCursor、VS Code、Windsurf 及大多數其他客戶端:將伺服器新增到其 MCP 配置文件中。
{
"mcpServers": {
"50heads": {
"url": "https://50heads.uk.to.co/mcp"
}
}
}查詢企業資訊
business 工具根據 50heads 在其主頁上發布的內容作答,與訪客看到的資訊相同。主頁上沒有的資訊會被略去,絕不猜測。任何人都可以呼叫,無需登入,也不收費。
助手在代人聯絡該企業之前,應先閱讀該企業針對助手的政策(action assistant_policy)。該政策是企業自己的宣告;to.co 不負責執行。
50heads 目前不接收助手傳送的訊息。
面向所有者
manage 工具供擁有 50heads 的帳戶使用。您的助手會請您登入 to.co(透過信箱驗證碼、Google 或通行金鑰),並批准它可以執行的操作。該連線僅對此企業有效。您帳戶中的代理令牌同樣可用。
所有者每次登入後的呼叫都會消耗該企業一個月度 API 額度。查詢企業資訊則不會消耗。
工具
每個工具接收一個 action 及該 action 的引數。引數和結果均使用 snake_case 欄位名。
business 關於此企業
企業在其主頁上發布的內容:它是誰、如何聯絡、何時何地營業,以及它允許助手做什麼。
| 操作 | 作用 | 引數 | 存取權限 |
|---|---|---|---|
profile | 企業是誰:名稱、業務內容、類別、網站及 to.co 是否已核對該網站、公司註冊號和稅務登記號(如有)、是否仍在經營、當前公告,以及主頁最近一次更改的時間。 | 無 | 任何人 只讀 |
contact | 如何聯絡:電話號碼、信箱地址(僅在確認後顯示)、網站、選單、訂購和預約連結、其他服務、社交媒體主頁,以及是否接收助手傳送的訊息。 | 無 | 任何人 只讀 |
hours | 企業及每個地點的營業時間,包括即將生效的特殊營業時間,以及按企業所在時區各地點當前是否營業。提供一個日期即可獲得當天適用的營業時間。 |
| 任何人 只讀 |
locations | 註冊地址和營業地點:每個地點的地址、電話號碼、營業時間及在該處提供的服務。只有在 to.co 核實後才會提供街道地址。 | 無 | 任何人 只讀 |
posts | 企業在 to.co 上發布的動態,按時間倒序:每條的標題、網址、首次發布日期和簡短摘要。草稿絕不會列出。 |
| 任何人 只讀 |
post | 按 slug 獲取的一條已發布動態,格式為 Markdown:標題、日期和正文,與其頁面顯示的一致。 |
| 任何人 只讀 |
dealings | 登入後:你的連線所代表的商家與此商家之間的往來,依此人在 to.co 可見的範圍:雙向文件的編號、日期與狀態(絕不含金額)、供應商申請,以及即將到期的文件。提供編號即可查找單一文件。 對於訂單,還會逐行列出剩餘部分,僅含數量。 |
| 登入後,範圍 companies:read只讀 |
assistant_policy | 企業允許助手為他人做什麼:諮詢、申請預約或申請報價(關閉、需確認或開啟)、每天多少次請求,以及轉交給誰處理。 | 無 | 任何人 只讀 |
{
"name": "business",
"arguments": {
"action": "profile"
}
}messages 閱讀此企業的訊息(僅限所有者)
供企業所有者在登入後使用:閱讀企業收到的訊息。此企業目前不接收助手傳送的訊息,因此此工具無法傳送訊息。如需協助他人聯絡此企業,請提供該企業頁面的網址。
| 操作 | 作用 | 引數 | 存取權限 |
|---|---|---|---|
list | 企業收到的訊息,按時間倒序。 |
| 所有者,權限範圍 messages:read只讀 |
get | 企業收到的一條訊息。 |
| 所有者,權限範圍 messages:read只讀 |
{
"name": "messages",
"arguments": {
"action": "list"
}
}manage 管理此企業
面向所有者:讀取完整記錄(包括草稿),並更改企業資料和營業地點。每次更改都會重新發布主頁。
| 操作 | 作用 | 引數 | 存取權限 |
|---|---|---|---|
profile | 企業的完整記錄,包括草稿和私密設定。 | 無 | 所有者,權限範圍 companies:read只讀 |
update_profile | 更改資料欄位並重新發布主頁。未提供的欄位保持原值;空值會清除該欄位。已註冊公司的正式名稱以登記資訊為準,請改為設定其常用名稱。 |
| 所有者,權限範圍 companies:write會更改資料 |
locations | 企業的所有地點,註冊地址排在首位,附記錄鍵、營業時間、電話和社交媒體主頁。 | 無 | 所有者,權限範圍 companies:read只讀 |
update_location | 設定營業地點的簡介、營業時間、特殊營業時間、電話號碼或社交媒體主頁,並重新發布主頁。註冊地址來自公司登記資訊,無法在此更改。 |
| 所有者,權限範圍 companies:write會更改資料 |
{
"name": "manage",
"arguments": {
"action": "profile"
}
}documents This business's documents
Read and share the trade documents an organization holds in its accounting systems (Xero: invoices and bills, credit notes, quotes, purchase orders, payments as remittance advices, and customer statements), read live through its to.co address. A member of the organization sees everything; anyone else sees only what a grant names, as the accounting system holds it now. Amounts are decimal strings; a document that does not reconcile under the rules is flagged in validation, never hidden. Documents made on to.co can be created, edited and moved through their lifecycle here: a draft you make is marked prepared, and a person in the organization confirms it in the to.co app before it can be issued; only a person issues or sends. Documents read from an accounting system are not changed through this tool, and a transition that is not built yet answers not_implemented. Confirm with the person before you share anything.
| 操作 | 作用 | 引數 | 存取權限 |
|---|---|---|---|
list | The documents you may see at this organization, one page at a time: pass next_cursor back as cursor until it is null. A member names one type per call and reads the documents made on to.co first (its own, then those it received from trading partners), then every connected accounting system in turn, or one by connection. One type covers both directions: an invoice issued is a sale, an invoice received is a bill; filter with direction. direction received is the Received list: each document sent on to.co shows as a summary with mailbox.partner.host, the address to read it at with get. |
| 所有者,權限範圍 documents:read只讀 |
get | One document, through the projection you are entitled to. |
| 所有者,權限範圍 documents:read只讀 |
create | Create a draft. The content must reconcile under the rules (GET /rules/{type}); the answer names any field that does not. A draft you make is marked prepared (prepared.via "assistant"): a person in the organization confirms it in the to.co app before it can be issued, and only a person issues or sends it. |
| 所有者,權限範圍 documents:write會更改資料 |
update | Edit a draft with a JSON merge patch over its content (null removes a field, arrays replace whole), under the etag you read. Your change marks the draft prepared again, so a person confirms it again in the to.co app before it can be issued. |
| 所有者,權限範圍 documents:write會更改資料 |
transition | Run a lifecycle transition: void, accept, reject, expire, close or record_settlement, as the document type allows (GET /rules/{type}). Issuing and sending a document need a person: a token is refused with session_required, so ask the person to issue or send it in the to.co app. |
| 所有者,權限範圍 documents:write會更改資料 |
share | Grant a connected trading partner (by to.co address), or a person at one (by email), named access to documents, as the accounting system holds them, until a date. Anyone else is refused: invite the business as a partner first, in the to.co app. Payment details and internal accounting fields are shared only when named in actions. |
| 所有者,權限範圍 documents:share會更改資料 |
revoke | Revoke a grant at once, with every link and capability derived from it. Cannot be undone; share again instead. |
| 所有者,權限範圍 documents:share會更改資料 |
grants | The grants at this organization, a page at a time: all of them for a member (needs documents:share), your own otherwise. |
| 所有者,權限範圍 documents:read只讀 |
requests | Access requests at this organization, a page at a time (a member sees all; a requester their own). |
| 所有者,權限範圍 documents:read只讀 |
decide | Approve, reject or cancel an access request. Approval names exactly what is granted; nothing is inferred from the request. |
| 所有者,權限範圍 documents:share會更改資料 |
send | Ask the person to send one of this business's documents: a draft is confirmed and issued first, then sent on to.co to the connected trading partner it is for (channel partner) or by email as a signed link (channel email, with the address). Nothing is sent from here: you get a to.co address for the person, where they see exactly what will go and approve or decline it (72 hours). Give them the address. Call again with the same arguments to learn whether it went. |
| 所有者,權限範圍 documents:write會更改資料 |
{
"name": "documents",
"arguments": {
"action": "list"
}
}help 說明
檢查連線並閱讀此伺服器的指南。
| 操作 | 作用 | 引數 | 存取權限 |
|---|---|---|---|
whoami | 連線是否已登入,以及在此可以使用哪些工具和操作。 | 無 | 任何人 只讀 |
guide | 此伺服器的指南,格式為 Markdown。 | 無 | 任何人 只讀 |
{
"name": "help",
"arguments": {
"action": "whoami"
}
}資源和提示詞
toco://guide— 此伺服器的指南,格式為 Markdown。toco://business— 主頁所發布的企業資訊,格式為 JSON。visit_this_business— 企業何時營業、在哪裡,以及如何聯絡。review_this_business— 面向所有者:關於讓資料措辭更清晰的建議。在您確認之前不會有任何更改。
限制
- 單個呼叫方每分鐘 120 次請求(代理令牌;沒有令牌時按 IP 地址計)。
- 所有呼叫方合計每分鐘對此企業 600 次請求。
- 單個呼叫方每小時呼叫 business 工具 600 次。
- 請求正文最大 1,024 KB。
- 超出限制時,返回 HTTP 429 及 Retry-After 標頭。
發現
- 伺服器卡片 —
https://50heads.uk.to.co/.well-known/mcp.json - OAuth 受保護資源後設資料 —
https://50heads.uk.to.co/.well-known/oauth-protected-resource - 該企業的 llms.txt
本頁面也提供 Markdown 版本。