Public: anyone can read this; the crew can change it.
The rosters: generate the MCP doc roster from one file per member (child of #14248) #14440
Merged 13d 18h ago, live in production
The MCP tool table is no longer stored in docs/MCP.md. It is built from the tool files each time it is read, so a pull that adds a tool no longer edits that shared doc. The type check passes and the MCP tests I ran pass (mcp-table, mcp-guide, mcp-doc-matches-tools, mcp-tools, mcp-size).
-
Reviews
ApprovedClean: the ~200-row generated table and its markers leave docs/MCP.md, which stops being a hot file. The marker helpers and their allowlist entry are removed with no dead code left. Tests now hold the roster equal to src/http/mcp/tools/ and keep docs/MCP.md free of a table, and I found no security surface touched. Nits, non-blocking: the ssh_keys comment in test/mcp-doc-matches-tools.test.ts still says the doc keeps its row, and the
toolFilesimport in test/mcp-table.test.ts sits mid-file. -
Checks
shipped production is serving it deploy f8f8b8f
-
History
- Try: run bun scripts/mcp-table.ts to print the tool roster, or open /llms.txt 428043e
- The MCP doc roster is built from the tool files, not kept in docs/MCP.md: a pull adding a tool edits no shared doc (#14436) e5a3d7e
- Every page's `rel=alternate` link to /api/v1/here answers, not 404 (#14426) e8a2a93
- Red after landing: test/llms-budget.test.ts fails on main (#14430) 5d56100
- A cross-origin write is refused in words that name the cause, not 'your credentials lack the scope' (#14427) fa0d888
- /api/v1/here says who a start token is, and says a token it does not know is not recognised (#14425) 257cdfc
- /api/v1/user/repos refuses a bad limit or page with 422 instead of quietly using the default (#14424) f1bb0c5
- The MCP list tools refuse a bad limit with one code and the maximum their schema promises (#14423) df35f72
- /system lists the child forges the host adopted after a restart, with when, and the terminal's system screen the same (#14377) 5ed51fb
- small: a not-found page is small: the 404 answer weighs under 3 KB, not 10.7 KB (#14332) f6d530e
- small: the docs say only what is true: the one OpenAPI URL, and billing's Stripe receiver and checkout as built (#14416) 66ebb55
- The forge can be restored when the forge is gone: the bucket's credentials are not only inside the database being backed up (#14246) c1f7ebf
- Cloning from outside is slow enough to fail: serve the bulk of a clone from object storage, not the home uplink (#14410) 1b8007e
- Every route answers HEAD and OPTIONS as HTTP says: HEAD carries GET's length and encoding, OPTIONS answers 204 with Allow, a wrong method on a page is 405 (#14386) c40e86e
- Server-rendered pages answer a repeat visit with 304: / and /explore carry an ETag today only on some pages (#14300) 230962b
- A guided review's doors: the terminal walks and sets the steps, a how-to, the MCP read and the brief line (#14229) 1b99fee
- A search query has a length limit at the boundary: /explore?q= with 5,000 characters answers a 31 KB page today (#14400) 6cf404e
- One answer for a bad `limit`: /api/v1/explore says `invalid` (1 to 100), /api/v1/repos says `invalid_limit` (1 to 200) (#14402) 460c945
- A green change's card on the asks page says "its tests passed" every time, not "its check passed" when another run sorts first (#14407) 5074df6
- /explore says what it did with a sort it does not know: ?sort=zzz renders the default with no word (#14403) 282deda
The MCP tool table is no longer stored in docs/MCP.md. It is built from the tool files each time it is read, so a pull that adds a tool no longer edits that shared doc. The type check passes and the MCP tests I ran pass (mcp-table, mcp-guide, mcp-doc-matches-tools, mcp-tools, mcp-size). The one failure on the first run was a test I had just made obsolete, and I removed it. bun scripts/gate.ts --fix changed nothing. I did not run the full suite or bun test beyond those files.
The issue didn't say which roster "the MCP doc roster" meant. I took it to be the checked-in table in docs/MCP.md, which every tool change regenerated. I did not add a keep_plan entry or a time estimate.
- Doc: the "Tools" section keeps its prose and points at the code. The ~200-row table and its
mcp-tools:begin/endmarkers are gone. - Reading it:
bun scripts/mcp-table.tsnow prints the table instead of rewriting the doc./llms.txtalready serves each tool's line live. - Code:
src/http/mcp_table.tskeepsrenderTableandtoolRows. The marker helpers (tableIn,withTable,TABLE_BEGIN,TABLE_END) are removed, along with thetableInentry in the unused-exports allowlist. - Tests:
mcp-table.test.tsnow checks that the roster equalssrc/http/mcp/tools/, one row per tool file, plusreport,startandoffer. It also checks thatdocs/MCP.mdholds no table. The two tests that parsed the table out of the doc (mcp-guide,mcp-doc-matches-tools) read the rendered roster instead.mcp-sizeis unchanged and I did not touch the ceilings.
Not done: the duty roster in src/maintain/registry.ts is still an explicit import list, so I left it alone. The issue says #14355 did it, but it is not built from its directory.
The pre-push hook wanted a commit saying how to try the change, so a second, empty commit carries that line.
To try it: run bun scripts/mcp-table.ts to print the roster, then bun test test/mcp-table.test.ts.
🤖 Generated with Claude Code
The MCP tool table is no longer stored in
docs/MCP.md. It is built from the tool files each time it is read, so a pull that adds a tool no longer edits that shared doc. The type check passes and the MCP tests I ran pass (mcp-table,mcp-guide,mcp-doc-matches-tools,mcp-tools,mcp-size). The one failure on the first run was a test I had just made obsolete, and I removed it.bun scripts/gate.ts --fixchanged nothing. I did not run the full suite orbun testbeyond those files.The issue didn't say which roster "the MCP doc roster" meant. I took it to be the checked-in table in
docs/MCP.md, which every tool change regenerated. I did not add a keep_plan entry or a time estimate.mcp-tools:begin/endmarkers are gone.bun scripts/mcp-table.tsnow prints the table instead of rewriting the doc./llms.txtalready serves each tool's line live.src/http/mcp_table.tskeepsrenderTableandtoolRows. The marker helpers (tableIn,withTable,TABLE_BEGIN,TABLE_END) are removed, along with thetableInentry in the unused-exports allowlist.mcp-table.test.tsnow checks that the roster equalssrc/http/mcp/tools/, one row per tool file, plusreport,startandoffer. It also checks thatdocs/MCP.mdholds no table. The two tests that parsed the table out of the doc (mcp-guide,mcp-doc-matches-tools) read the rendered roster instead.mcp-sizeis unchanged and I did not touch the ceilings.Not done: the duty roster in
src/maintain/registry.tsis still an explicit import list, so I left it alone. The issue says #14355 did it, but it is not built from its directory.The pre-push hook wanted a commit saying how to try the change, so a second, empty commit carries that line.
To try it: run
bun scripts/mcp-table.tsto print the roster, thenbun test test/mcp-table.test.ts.🤖 Generated with Claude Code
Closes #14436