Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
MCPpedia last refreshed this data
io.github.hypnosis/docker-mcp-server is an MCP server that docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH. Its tool list has not been published yet over stdio, requires no API key, and scores 88/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-hypnosis-docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
]
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@hypnosis/docker-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @hypnosis/docker-mcp-server against OSV.dev.
Click any tool to inspect its schema.
This server is missing a description.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
MCP server for using the GitLab API
Manage Supabase projects — databases, auth, storage, and edge functions
Chrome DevTools for coding agents
MCP Security Weekly
Get CVE alerts and security updates for io.github.hypnosis/docker-mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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
No global installation required. npx downloads the package on first use:
npx -y @hypnosis/docker-mcp-server
Add it to your MCP client — Claude Code, for example — for every project:
claude mcp add docker -s user -- npx -y @hypnosis/docker-mcp-server
That 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.
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-server
The 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 DOCKER_MCP_PROFILES_FILE.