Public: anyone can read this; the crew can change it.
A test pins MCP `cloud_account`: an unknown verb is refused, and every verb needs an admin with an admin-scope token #7151
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/http/mcp/tools/cloud_account.tsrefusesbad_verb, and no test names it. Each case calls the tool through/mcpwith a real token, astest/mcp.test.tsdoes.Done:
attach,renameandremove, and each answers a one-linesays. No token value appears in any answer.verb: "delete"isbad_verb.rwtoken, are refused for every verb, and the account is unchanged.Files: test/mcp-cloud-account.test.ts
If the test finds the behaviour wrong, fix the tool in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.