The tools you audited are not the tools that run
MCP servers can change their own tool list after you approve them. Static review has a shelf life, and the fix is not a better review. The usual way a team adopts an MCP server is a one-time review. Someone reads the tool schemas, checks the scopes, decides it is reasonable, and ships it. The decision then gets filed as though it were permanent. It is not. It is a photograph of a moving thing.…
The MCP servers have the ability to change their own tool list after approval from the user. Reviewing the tool list statically is insufficient, as the list can change mid-session. The usual way a team adopts an MCP server is through a one-time review, with the decision being filed as permanent. However, this is not the case, as the tool list is a snapshot of a dynamic entity.
Three aspects of the protocol allow for this behavior: the tool list can change during a session, notifications can inform the client of tool changes, and the client receives different sets of tools upon connect. The tool descriptions are also continuously updated and can be altered between calls. This means that the review only covers the moment it was performed, not the current state of the tool list.
It is essential to note that the review does not guarantee the tool list's integrity during runtime. To address this, a practical approach is to snapshot the entire tool surface, including names, descriptions, input schemas, and annotations, and create a SHA-256 hash of the canonicalized data. Regularly diffing this fingerprint against the current tool list can help detect any discrepancies.
If a drift is detected, the connection to the server should be halted until a human review is conducted. This approach ensures that any changes to the tool list are visible and reviewable, making the system more transparent and trustworthy.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to