Does Docker have an MCP server?
Docker maintains an official MCP server.
- Access
- Local server
- Repository
- docker/mcp-gateway
- Maintainer
- Docker
- License
- MIT
- Language
- Go
- Stars
- 1.5k
- Last commit
- today
- Category
- Developer Tools
docker mcp CLI plugin / MCP Gateway
docker mcp CLI plugin / MCP Gateway
Runs on your machine over stdio, launched by your MCP client.
Add it from the terminal, then restart your session:
claude mcp add docker -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"docker": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does Docker have an official MCP server?
Yes. Docker maintains an official MCP server. The source lives at docker/mcp-gateway on GitHub.
How do I connect Docker to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
docker/mcp-gateway is the canonical official repo (the `docker mcp` CLI powering Docker's MCP Toolkit, docs.docker.com); docker/hub-mcp is the narrower Hub server. GitHub metadata is refreshed every six hours.
docker/mcp-gateway is the canonical official repo (the `docker mcp` CLI powering Docker's MCP Toolkit, docs.docker.com); docker/hub-mcp is the narrower Hub server.
- github data refreshed 2026-08-11, then every 6 hours
- vendor docs verified on 2026-08-10
Spotted something out of date? Tell us — corrections ship same-day.