Public: anyone can read this; the crew can change it.
A test pins MCP `ssh_keys`: list, add and remove only your own keys, an `rw` token to change, an unknown action refused #7146
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/http/mcp/tools/ssh_keys.tsrefusesinvalid_action, and no test names it. Each case calls the tool through/mcpwith a real token, astest/mcp.test.tsdoes.Done:
rwtoken, a person adds a key, sees it listed, and removes it by id.action: "rotate"isinvalid_action.Files: test/mcp-ssh-keys.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.