An advisory says a server is fixed in some version, and you need to know if your setup is below it. The version you installed and the version your AI client starts are not always the same thing. A config with no version in it can run a different one after a cache refresh. This guide walks through finding what your client actually launches, checking the version for each install method, comparing it to the advisory, and pinning the fix. Each command below comes from a doc in the sources list at the end. We checked those docs on 2026-11-03.
The worked example is GHSA-r6mm-377j-qg8m, an advisory for the AWS Serverless MCP Server. It covers the Python package awslabs.aws-serverless-mcp-server, which is usually launched with uvx.
Find what your client config launches
Start with the config file, because it decides which command runs. Each server entry has a command, such as npx, uvx, docker, or a path to Python, and an args list. The package name is in args, and so is the version if there is one.
Where the config lives:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS,%APPDATA%\Claude\claude_desktop_config.jsonon Windows, and~/.config/Claude/claude_desktop_config.jsonon Linux. You can also open it from Settings, then Developer, then Edit Config. Servers sit undermcpServers. - Cursor:
~/.cursor/mcp.jsonfor servers available in every project, or.cursor/mcp.jsoninside a project. Servers sit undermcpServers. - VS Code:
.vscode/mcp.jsonin your workspace, or themcp.jsonin your user profile, which the MCP: Open User Configuration command opens. This format puts servers underservers. VS Code also reads the portable format, which usesmcpServers, from.mcp.jsonat the workspace root or$COPILOT_HOME/mcp-config.jsonfor your user, which falls back to~/.copilot/mcp-config.json.
Then look at how the package is named in args:
"some-server@2.0.1"or"--from", "some-server==2.0.1"is pinned to one version."some-server@latest"asks for the newest version."some-server"with nothing after it is unpinned. Which version runs depends on the tool's cache, covered in the sections below.
The AWS Serverless MCP Server's README shows this entry:
"command": "uvx",
"args": ["awslabs.aws-serverless-mcp-server@latest", ...]
That entry asks uvx for the newest release each time it starts. Go by what your own file says, not what the README says. Many configs get edited after setup.
Check the version for npx servers
If the config pins a version, such as @scope/server@1.4.0, that's the version npx runs.
If it doesn't, npx uses a copy from the npm cache. npm's docs say the cache goes through staleness checks, and the --prefer-online flag forces a check for updates right away. To see what's in the npx cache on npm 11, run:
npm cache npx ls
To see the newest version on the registry and the full version list, run:
npm view <package> version
npm view <package> versions
If you installed the package yourself with npm install -g, then npm ls -g shows the installed version. That's only what's installed, though. A config that runs npx may not use it.
Check the version for uvx servers
uv's docs explain the rule. The first time uvx runs a tool with no version given, it uses the latest version. After that it reuses the cached version until a different version is requested, the cache is pruned, or the cache is refreshed. If you've installed the tool with uv tool install, uvx uses that installed version by default.
So an unpinned uvx entry can stay on an old version after a fix ships. The forms that settle it are:
uvx <package>@<version>runs that exact version.uvx --from '<package>==<version>' <command>does the same with a version specifier.uvx <package>@latestrequests the newest version and refreshes the cache.
For tools you installed with uv tool install, uv tool list lists them, and --show-version-specifiers shows the version specifier each one was installed with. uv doesn't document a command that prints which version a cached uvx environment holds. If you need to be sure, pin the version in the config.
Check the version for pip installs
Some configs point command at a Python inside a virtual environment where the server was installed with pip. Run pip with that same Python:
/path/to/venv/bin/python -m pip show <package>
The Version: line is the installed version. If you run pip show from a different environment, you'll get that environment's answer, or nothing. To list the versions available on PyPI, run:
python -m pip index versions <package>
Check the version for Docker images
A Docker config names an image in args, such as example/mcp-server:1.4.0. With no tag, Docker uses latest.
latest is just a tag name. It doesn't tell you which build you have. By default, docker run uses the image already on your machine and only pulls when it's missing, so a latest image can be months old. To see the images on your machine with their digests, run:
docker images --digests
A tag can move to a new image. A digest can't. Docker's docs describe pulling by digest as the way to pin an image to one version. Compare the tag or digest you have with the one the publisher lists for the fixed release.
Compare to the advisory
GitHub advisories list two fields for each package:
- Affected versions is the range where the problem exists.
<0.2.1means every version below 0.2.1. If no lower bound is given, the range starts above 0. - Patched versions is the earliest version with the fix.
For GHSA-r6mm-377j-qg8m, the package is awslabs.aws-serverless-mcp-server on pip. Affected versions are <0.2.1, and the patched version is 0.2.1. The advisory rates it Moderate and links CVE-2026-116635. In the advisory's words, the issue "might allow an actor who can influence the MCP agent to read the contents of JSON files outside the intended deployment status directory." It also says "There is not a workaround for this issue," so upgrading is the fix it lists.
So:
- 0.2.0 or any earlier version is in the affected range.
- 0.2.1 or later is at or above the fixed version the advisory lists.
PyPI shows 0.2.1 was released on 2026-10-30, and it was still the latest release when we checked on 2026-11-03.
If you run a fork or a server built on this code, its version numbers may not follow the original's. Check the fork's own release notes against the advisory. For other October advisories, see the Minimum fixed versions table in our October 2026 MCP security advisories roundup.
Pin or upgrade
Change the entry in your client config, then restart the client so it launches the new command.
- npx: put the fixed version on the package name, as in
"args": ["-y", "@scope/server@1.4.1"]. - uvx: use
<package>@<version>or--from '<package>==<version>'. For the worked example, that's"args": ["awslabs.aws-serverless-mcp-server@0.2.1", ...]. Keep your other arguments as they were. - pip: in the server's virtual environment, run
python -m pip install '<package>==<version>'to pin, orpython -m pip install -U <package>for the newest release. Without-U, pip leaves an installed version as it is. - Docker: name the fixed tag, or its digest to pin one exact image. To fetch a newer image under the same tag, pull it again, or use
docker run --pull=always.
For Claude Desktop, the MCP docs say to quit the app completely and open it again so it loads the new config. Then run the version check for your install method once more and confirm it matches what you set.
A pinned version doesn't move when the next fix ships. Check new advisories against the versions you pin.
FAQ
Does updating the package on my machine update what Claude Desktop, Cursor, or VS Code runs?
Not always. The client runs whatever its config's command and args say. An npx or uvx entry can run a cached copy instead of the one you installed, and a pip entry uses the Python it points to. Check the config first.
Why does my MCP server show a different version than the one I installed?
The config may launch it a different way than you installed it, such as uvx instead of pip, or a cached copy. uv's docs say an unpinned uvx keeps using its cached version until the cache is refreshed or a different version is requested.
How do I pin an MCP server to a specific version?
Put the version in the config's args. That's @1.2.3 on the package name for npx, @1.2.3 or --from 'package==1.2.3' for uvx, or a tag or digest for Docker. For pip, install ==1.2.3 in the server's virtual environment instead. Restart the client afterward.
What does "fixed in" mean on a security advisory? It's the earliest version with the fix, listed as Patched versions on GitHub advisories. The Affected versions field shows the range below it where the problem exists.
What if the advisory lists no workaround? Then the advisory names the upgrade as the fix. GHSA-r6mm-377j-qg8m says there is no workaround and that version 0.2.1 addresses the issue.
How do I check a server that runs in Docker?
Find the image and tag in the config's args, then run docker images --digests to see the image and digest on your machine. A latest tag doesn't tell you the version, and Docker reuses a local image unless you pull again.
Sources (checked 2026-11-03)
Client configs
- Claude Desktop config paths, Edit Config,
mcpServers, restart: https://modelcontextprotocol.io/docs/develop/connect-local-servers - Claude Desktop paths, corroborated, and VS Code formats (
servers,.vscode/mcp.json,.mcp.json,~/.copilot/mcp-config.json, MCP: Open User Configuration): https://code.visualstudio.com/docs/copilot/reference/mcp-configuration - VS Code
serversvsmcpServers: https://code.visualstudio.com/docs/copilot/customization/mcp-servers - Cursor
~/.cursor/mcp.json,.cursor/mcp.json,mcpServers,command,args: https://cursor.com/docs/context/mcp - Pinned
@versionin an MCP config entry (Anthropic): https://claude.com/docs/connectors/building/mcp-apps/getting-started
npm
npx <pkg>@<version>, npm cache folder: https://docs.npmjs.com/cli/v11/commands/npx- Cache and staleness checks,
--prefer-online: https://docs.npmjs.com/cli/v11/commands/npm-exec npm view <pkg> version(field syntax, defaultlatest),npm view <pkg> versions: https://docs.npmjs.com/cli/v11/commands/npm-viewnpm ls,global: https://docs.npmjs.com/cli/v11/commands/npm-lsnpm cache npx ls: https://docs.npmjs.com/cli/v11/commands/npm-cache
uv
- First run uses latest, then the cached version, installed tool priority,
@latestrefreshes: https://docs.astral.sh/uv/concepts/tools/ uvx pkg@version,--from 'pkg==version', exact-version-only@: https://docs.astral.sh/uv/guides/tools/uv tool list,--show-version-specifiers: https://docs.astral.sh/uv/reference/cli/
pip
python -m pip show: https://pip.pypa.io/en/stable/cli/pip_show/python -m pip index versions: https://pip.pypa.io/en/stable/cli/pip_index/python -m pip install 'pkg==ver',-U, install leaves version as-is without--upgrade: https://pip.pypa.io/en/stable/cli/pip_install/
Docker
- Default
latesttag, pin by digest, re-pull a tag: https://docs.docker.com/reference/cli/docker/image/pull/ --pulldefaultmissing,--pull=always: https://docs.docker.com/reference/cli/docker/container/run/docker images,--digests: https://docs.docker.com/reference/cli/docker/image/ls/
Advisories
- GHSA-r6mm-377j-qg8m (affected
<0.2.1, patched0.2.1, Moderate, CVE-2026-116635, no workaround, quote): https://github.com/awslabs/mcp/security/advisories/GHSA-r6mm-377j-qg8m - PyPI release date of 0.2.1 and current latest: https://pypi.org/project/awslabs.aws-serverless-mcp-server/ and https://pypi.org/pypi/awslabs.aws-serverless-mcp-server/json
- README
uvx ...@latestentry: https://raw.githubusercontent.com/awslabs/mcp/main/src/aws-serverless-mcp-server/README.md - Affected and Patched fields,
<operator, implicit lower bound: https://docs.github.com/en/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database and https://docs.github.com/code-security/repository-security-advisories/best-practices-for-writing-repository-security-advisories