Docker MCP Server
Docker for AI agents — containers, compose stacks, logs and databases, locally or over…
The repository was last updated 85 days ago and is published under MIT.
- Pricing
- Open source
- Runs
- Locally
- GitHub stars
- 1
- Last commit
- 3 months ago
- Language
- TypeScript
- License
- MIT
About Docker MCP Server
Docker MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
Install
Run in a terminal
claude mcp add docker-mcp-server -- npx -y @hypnosis/docker-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"docker-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
]
}
}
}Configuration
DOCKER_MCP_PROFILES_FILEAbsolute path to the JSON file describing the Docker hosts this agent may reach. Without it the server answers about the Docker on this machine.DOCKER_PROFILESThe same profiles JSON inline, used when no profiles file is set.DOCKER_MCP_ALLOW_SSH_FALLBACKKeep going when a profile's SSH key is missing, instead of refusing the profile. Defaults to false.LOG_LEVELLog verbosity: error, warn, info or debug. Defaults to info.
Pricing
Open source
Docker MCP Server FAQ
Is Docker MCP Server free?
Yes. Docker MCP Server is open source, so you can use and self-host it for free.
How do I add Docker MCP Server to Claude Code?
Run this command in your terminal: claude mcp add docker-mcp-server -- npx -y @hypnosis/docker-mcp-server
What are the best alternatives to Docker MCP Server?
The closest alternatives to Docker MCP Server are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Docker MCP Server

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools