
Capabilities Txt Registry
io.github.capabilityhostprotocolv0.1.0更新於 Oct 8, 2026
Discover what websites across the agentic web can do — query the capabilities.txt registry.
概覽
讓助理查詢 capabilities.txt 登錄檔,探索代理網路中各網站宣告自己能執行哪些操作。
- 功能
- 這個遠端 MCP 伺服器提供 capabilities.txt 登錄檔,這是一份公開目錄,收錄了發布 well-known capabilities.txt 或 capabilities.json 檔案的網站。助理可以查詢哪些主機宣告了建立客服單、查詢庫存或發起退貨等能力,以及這些能力如何描述。它只負責探索:實際呼叫會指向該主機的 MCP 伺服器、HTTP API 或其他端點。
- 適用情境
- 當助理需要先了解某個網站或主機公開提供哪些操作,再決定如何呼叫時使用;也適合在代理網路中尋找宣告了可被機器呼叫能力的主機。若只是讀取頁面內容或直接呼叫能力,則不需要它。
- 執行需求
- 位於 capabilitiestxt.org 的遠端 streamable HTTP 端點。未宣告任何套件、帳號、API 金鑰或環境變數;需要能連線至該端點的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Capabilities Txt Registry,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"capabilities-txt-registry": {
"type": "http",
"url": "https://capabilitiestxt.org/api/mcp"
}
}
}README
capabilities.txt
A simple, open convention for a website to declare what it can do — the capabilities an agent can discover and invoke — at a well-known location.
The web taught machines to read in layers. robots.txt says what a crawler may
access. sitemap.xml says what exists. llms.txt says what's worth reading.
Each answers one narrow question for an automated reader.
None of them answers the question agents now ask: what can this host actually do?
Agents have stopped only reading the web and started acting on it. An agent that lands on your site can summarize your docs — but it has no standard way to discover that you expose a "create support ticket" capability, a "check inventory" capability, or "start a return," and how to call them. Today that happens through bespoke, one-vendor-at-a-time integrations.
capabilities.txt is the missing layer: a public, well-known file where a host
declares the capabilities it offers, so any agent can discover what it can do.
It is deliberately small. llms.txt worked because you could adopt it in an
afternoon. capabilities.txt follows the same rule.
The two forms
A host publishes one or both:
/capabilities.txt— human- and agent-readable markdown: capabilities grouped by category, each with an id, version, and one-line description./.well-known/capabilities.json— the structured form: an array of capability references, each resolvable to a full descriptor.
The markdown form is for discovery and reading. The JSON form is for machines that want structure. Publishing the markdown form alone is a perfectly good start.
Format (/capabilities.txt)
Rules, kept minimal:
- Line 1 is
# capabilities.txt. - A blockquote (
>) summary follows: one sentence on what the host offers, plus optional links (the JSON form, docs, an invocation endpoint). ##headings group capabilities by category (free-form, your choice).###headings name a group, optionally with a stable(group-id).- Each capability is a list item: a stable
capability-id, an optional(v<version>), and a short— description. - It's just markdown. If a human can read it and an agent can parse it, it's valid.
Structured form (/.well-known/capabilities.json)
Each entry is a reference; descriptor (optional) points to a full machine-readable
description of inputs, permissions, and how to invoke.
Where it sits among the standards
It is not a replacement for MCP or an API spec. The Model Context Protocol is a
stateful connection-and-invocation protocol; OpenAPI describes an HTTP API.
capabilities.txt is the layer before invocation — a static, public, crawlable
advertisement an agent (or a search engine) can read with no live connection, that
points to your MCP server, HTTP API, or other endpoint for the actual call.
Discovery and invocation are different jobs. capabilities.txt does discovery; it
hands off invocation.
Adopt it
Fastest (no spec): copy the prompt at capabilitiestxt.org/implement
and hand it to your AI coding agent — it writes your capabilities.txt from your code.
Have an OpenAPI spec? Generate it in your browser (paste the URL) — or keep it current automatically in CI with the GitHub Action:
Then check it at capabilitiestxt.org/submit for a grade, fixes, and a badge — and it’s discoverable in the directory + map.
By hand:
- List the capabilities your site exposes (or could).
- Write them into
/capabilities.txtusing the format above. - Optionally publish
/.well-known/capabilities.json. - Add yourself to
adopters.mdwith a pull request.
Already have an OpenAPI spec? Generate it — no manual authoring:
Working references — a real, live capabilities.txt plus illustrative templates
across markets (e-commerce, support, banking, healthcare, dev platform) — are in
examples/. The tools in tools/ generate and validate files.
Where this goes next
Discovery is the first step. Once an agent knows what you can do, the next
questions are may I, what happened, and can I prove it — invocation,
governance, and evidence. Those are defined by the
Capability Host Protocol (CHP), an open
protocol for which capabilities.txt is the natural public face. You can adopt
capabilities.txt on its own; CHP is where it leads if you need the rest.
Status & license
This is a proposal with a working reference, not a finished standard — and it's better for your feedback. Open an issue or PR.
- Specification & site text (
README.md,index.html,SPEC.md): CC BY 4.0 — seeLICENSE-DOCS. - Tooling (
tools/): Apache-2.0 — seeLICENSE. - "capabilities.txt" is a free, open convention — use it freely. (No trademark.)
Copyright © 2026 Project Auxo, Inc. and contributors.
來源:README.md,提交 1f62cab
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026

