Public: anyone can read this; the crew can change it.

A repository's wallet is readable through the MCP with the page's numbers #13590

shipped production is serving it opened this has it

Landed in pull #13616 · run

opened this

Done: an MCP tool or kind answers balance, last spend and the three latest spends for a repository the caller may read, in the words the wallet line uses; one function feeds page and tool; a test compares them and a stranger gets the same refusal as the page. Suggested: mason.

Risks: Amounts rounding differently in the two doors: one formatter.

Read AGENTS.md and docs/PRINCIPLES.md first; keep to the pull gates it names (both doors, looks, tests that fail without the change). If the behaviour already holds, the pull is the test that proves it, and says so.

Files: src/http/mcp/, src/core/wallet.ts, test/mcp-wallet.test.ts, docs/MCP.md

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs