Docker image without a fixed version
Medium docker-latest
An image without a tag, or with :latest, can change under you: the next pull runs different code.
Why it matters
docker run image without a tag means image:latest, and latest moves. Pulling again, or running on a new machine, can give you different code than the one you checked.
How to fix it
Use a version tag, or better a digest (image@sha256:...), and update it on purpose.
Use an explicit version tag, or pin the digest (image@sha256:...) for an image that cannot change. Many MCP images are published on GitHub Container Registry with release tags.
Before
"args": ["run", "-i", "--rm", "ghcr.io/github/github-mcp-server"]
After
"args": ["run", "-i", "--rm", "ghcr.io/github/github-mcp-server:v0.13.0"]
Applies to every MCP client that reads a JSON config: Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and others.
Other checks
Related free tools
Published ; awaiting review.