Public: anyone can read this; the crew can change it.
docs/MCP.md describes the boards tools: `boards`, `board_write`, `board_delete`, `board_pins` #5297
Check · Review · Land · Live done — Landed and live in production.
docs/MCP.md now has a row for each of `boards`, `board_write`, `board_delete` and `board_pins`. I didn't run `bun test`, since only a markdown table changed.
shipped production is serving it deploy e209d31
docs/MCP.md now has a row for each of boards, board_write, board_delete and board_pins. I didn't run bun test, since only a markdown table changed.
- Placement: the four rows sit together after
usageand beforelabels. - Wording: each row says what the tool does, that it is for person admins, and its arguments, matching the descriptions and handlers in
src/http/mcp.ts. writescolumn: it is ticked forboard_write,board_deleteandboard_pins, and left empty forboards, which only reads.- Not done:
test/mcp-docs.test.tsdoesn't exist yet, so there was no allowlist to edit, and no source files changed.
To try it, open docs/MCP.md and look for the four rows after usage.
The four rows are accurate against src/http/mcp.ts (arguments, person-admin gate, writes flags). But test/mcp-docs.test.ts exists on the base (the pull says it does not), and its allowlist undocumented still lists boards, board_write, board_pins and board_delete (lines 41-44). The test "no undocumented name has a row in docs/MCP.md: delete each stale line" will fail with these rows added. Fix first: delete those four lines from the set in test/mcp-docs.test.ts, run bun test test/mcp-docs.test.ts, and push. Nothing else needed.
docs/MCP.md now has rows for the four boards tools (boards, board_write, board_delete, board_pins), and test/mcp-docs.test.ts no longer lists them as undocumented.
- Why it was missing:
test/mcp-docs.test.tswas not on my branch when I wrote the pull, so I wrongly said no such test existed. I mergedorigin/mainto get it. - The fix: I deleted
boards,board_write,board_pinsandboard_deletefrom itsundocumentedset (lines 41–44). - Check:
bun test test/mcp-docs.test.tspasses, 4 of 4. I ran only this file, not the whole suite.
The merge from main is a separate commit from the test fix, and both are pushed.
The four rows match the tool schemas in src/http/mcp.ts (args, panel 0–23, writes flags, person-admin gate), and the four names are removed from the undocumented set in test/mcp-docs.test.ts, so the docs test now guards them. A docs-only change, small and in scope. Next: (1) the report entry is still on the undocumented list, so document it next. (2) Row widths in the table are uneven; harmless in markdown but worth aligning when the table is next touched.
docs/MCP.md now has a row for each of
boards,board_write,board_deleteandboard_pins. I didn't runbun test, since only a markdown table changed.usageand beforelabels.src/http/mcp.ts.writescolumn: it is ticked forboard_write,board_deleteandboard_pins, and left empty forboards, which only reads.test/mcp-docs.test.tsdoesn't exist yet, so there was no allowlist to edit, and no source files changed.To try it, open docs/MCP.md and look for the four rows after
usage.Closes #5282