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.
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