Changing One Default Broke an MCP Server's Tool Fingerprints, Exposing an Approval Gap
A developer found that the MCP client approves a tool once and then trusts whatever schema the server later presents under that name, with no re-check. Since they maintain their own my-git-manager server with eight FastMCP tools, they initially assumed this was a non-issue, but tested it and found otherwise. A prior bug already showed a mismatch: list_repos's docstring promised a limit of 1-100, yet negative values silently returned nearly all repos. The developer is proposing a lockfile-style approach, hashing each tool's canonical schema derived from its AST so changes are only accepted deliberately. The broader supply-chain trust problem for remote servers would still require client-side support for pinning tool definitions.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in