Docker MCP Server
Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
0 stars162 downloads/wk
Reviews
Write oneNobody has reviewed Docker MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Docker MCP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-21 · same rubric, same numbers if you re-run it
- Code scan151 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 28 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Docker MCP Server repository's README, as published. We do not edit it. Read it on GitHub
Docker MCP Server — Docker tools for AI agents
A Docker MCP server that lets AI agents operate Compose stacks with structured, Docker-native tools — instead of brittle shell commands and terminal-shaped output.
Inspect containers, read logs, check health, query databases, take dumps, and bring stacks up or down — on your laptop or on a server across the world by naming its profile.
It speaks Docker the way you do: your compose files, project names, and service names. Answers come back as named fields with enough context for an agent to act on them, rather than parse an ASCII table and guess.
Works with Claude Code, Codex CLI, Cursor, opencode, Gemini CLI, Qwen Code and other MCP clients.
Install · Tools · Setup · Security · Docs · Changelog
Install in 30 seconds
No global installation required. npx downloads the package on first use:
npx -y @hypnosis/docker-mcp-serverAdd it to your MCP client — Claude Code, for example — for every project:
claude mcp add docker -s user -- npx -y @hypnosis/docker-mcp-serverThat is the whole setup for the Docker on this machine. No profiles file, no environment variables: the server uses the local Docker socket, and the compose project of your working directory is the project it answers about.
For a Docker host on another machine, add one file with the servers you reach over SSH:
claude mcp add docker -s user \
-e DOCKER_MCP_PROFILES_FILE="$HOME/.claude/docker-profiles.json" \
-- npx -y @hypnosis/docker-mcp-server{
"default": "local",
"profiles": {
"local": { "mode": "local" },
"production": {
"host": "prod.example.com",
"username": "deployer",
"privateKeyPath": "~/.ssh/id_ed25519"
}
}
}Now every tool takes a profile, and docker_health({ action: "profiles" }) lists what the server was given.
Codex, Cursor, opencode and other clients are covered in Set up the Docker MCP server.
Install as a plugin
Some clients — Claude Code, for example — can take the whole thing as a plugin instead:
/plugin marketplace add hypnosis/docker-mcp-server
/plugin install docker-mcp-server@docker-mcp-serverThe plugin brings the server up against the Docker on this machine, with no configuration at all. Point it at other hosts the same way as above, with DOCKERMCPPROFILES_FILE.
Requirements
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y @hypnosis/docker-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add docker-mcp-server -- npx -y @hypnosis/docker-mcp-server
Docker MCP Server: common questions
- Is Docker MCP Server safe?
- Yes, by our scan: it is graded A (92/100). Read the Docker MCP Server safety report
- How do I install Docker MCP Server?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Docker MCP Server need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is Docker MCP Server maintained?
- The last commit was 28 days ago (2026-08-24). The latest release is v2.0.1.
- What can I use instead of Docker MCP Server?
- Servers from other publishers that do the same job: Docker MCP Server, Dokploy MCP server and Servonaut MCP server. Compare all Docker MCP Server alternatives.
Alternatives to Docker MCP Server
Same job from other publishers: the closest match first, then the best rated.
- Docker MCP ServerManage Docker (containers, images, Compose, Swarm, registries) via the Docker SDK and CLI.not reviewedGrowingA
- DokployDokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers.not reviewedGrowingA
- ServonautManage AWS, Hetzner, OVH and SSH servers: status, logs, CloudWatch, IP bans, safe command exec.not reviewedGrowingA
- Container Host AIopsGoverned Docker + Portainer container-host ops: reads, RCA analyses, guarded writes. 38 tools.not reviewedGrowingA
- devcontainer-mcpManage dev container environments via MCP (Docker, DevPod, Codespaces).not reviewedGrowingA