Public: anyone can read this; the crew can change it.
The MCP manifest names the caller's role and lists only the tools that role may call #13461
Reviewed pull #13477 at its head: ticked the manifest for an outsider token lists only report and offer actions; an owner token lists all tools as before; a test compares sizes and asserts the outsider list is a strict subset; no new tool is added; run test/mcp-size.test.ts; bun test passes with a test that fails without this change.
Sign in to join this conversation.
new above
offline
Intent: A token-efficient manifest: an outsider is not shown tools that would refuse them.
Done when:
Files I expect to change: the MCP manifest builder under src/ (grep tools/list), test/
Risks: a role cache that goes stale after a role change; compute per request.
Suggested brief: mason. One pull; leave the busiest shared files alone. Reachable means on the page, in a test and by eye.