Only 5 of 191 MCP server READMEs pin a version. Here's how to pin yours.
Most MCP server READMEs tell you to add something like this to your client config: { "command": "npx", "args": ["-y", "some-mcp-server"] } No version. A review of 191 open-source MCP server READMEs that give an
Most MCP server READMEs tell you to add something like this to your client config:
{ "command": "npx", "args": ["-y", "some-mcp-server"] }
No version. A review of 191 open-source MCP server READMEs that give an npx / uvx / bunx / pnpm dlx launch line found that only 5 pin a version in every launch line.
Why it matters
An unpinned launch line runs whatever version the launcher resolves: the copy already in its cache, or the newest release when the cache is empty or refreshed (a new machine, a CI run, a cleared cache). Nobody chooses that update. If a release is compromised or simply changes behaviour, it runs with every permission the server already has: your files, your tokens, your APIs.
And servers move fast. Of 65 servers read at a fixed commit in mid-November 2026, 44 had new commits within 12 days, and 21 had 50 or more.
How to pin
npm packages:
{ "command": "npx", "args": ["-y", "[email protected]"] }
Python packages run with uv:
{ "command": "uvx", "args": ["[email protected]"] }
(uvx tool@version is the form documented by uv for an exact version.)
Avoid @latest: it asks for the newest release on purpose.
Then
- update on purpose, after reading the changelog
- re-review after big jumps
- give each server a token scoped to only what it needs
The full report (method, numbers and a free config checker that flags unpinned and @latest servers) is the canonical page for this post.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.