MCP Server Security

Server pinning: definition and example

Server pinning is the practice of locking an MCP server to a reviewed version and detecting any change afterward. It can pin the package version, a content hash, or a hash of the full tool definition. It reduces the chance that an approved server changes after review.

Facts read on .

Example

The MCP local-server guide says that if you do one thing, open your client's MCP configuration, remove the servers you no longer use, and make sure you know where each remaining one comes from and that its version is pinned.

Sources