连接
在您的助手的 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 版本。