Public: anyone can read this; the crew can change it.
MCP `sessions` lists the caller's sign-ins #5147
commented
Ready again: pull #5159 was closed because main moved under it and it could not be brought up to date. Conflicting files: docs/MCP.md, src/http/mcp.ts.
Sign in to join this conversation.
Intent: a person can see from their agent where they are signed in. First half of #4796, which was parked twice on tests it never touched (test/measure.test.ts, the board's burst-of-errors test).
Done:
sessionstool, placed right afteraccess, taking{ username? }. It callsaccountSignIns(what GET/api/v1/users/:username/signinscalls) with the same rules: the same token scope and the same refusals, andusernamedefaults to the callersayssentenceaccessBefore pushing run test/mcp-sessions.test.ts, test/mcp.test.ts and test/mcp-size.test.ts. If a test elsewhere goes red, check whether main is red on it too and say so in the pull.