Docker MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 1 050 installs a week from pypi. Last commit 1 Nov 2026.
Manage Docker (containers, images, Compose, Swarm, registries) via the Docker SDK and CLI.
We read the source, 21 h ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
return env_flag(IN_CONTAINER_ENV) or Path("/.dockerenv").exists()
proc = subprocess.run( # noqa: S603 - shell=False, argv is a list, binary is resolved via shutil.which
def exec( # noqa: DOC502
- name: File or update the failure issue
shell: bash
env:
GH_TOKEN: ${{ inputs.token }}
absolute = dockerfile if os.path.isabs(dockerfile) else os.path.join(path, dockerfile)
candidates.append(Path("/var/run/docker.sock")) # classic / native Linux engine
ssh_config_file = os.path.expanduser("~/.ssh/config")
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add docker-mcp-server -- uvx docker-mcp-server
{
"mcpServers": {
"docker-mcp-server": {
"command": "uvx",
"args": [
"docker-mcp-server"
]
}
}
}
[mcp_servers.docker-mcp-server]
command = "uvx"
args = ["docker-mcp-server"]
{
"mcpServers": {
"docker-mcp-server": {
"command": "uvx",
"args": [
"docker-mcp-server"
]
}
}
}
{
"servers": {
"docker-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"docker-mcp-server"
]
}
}
}
MCP server for managing Docker containers, images, networks, volumes, and registries
MCP server for Docker — manage containers, images, volumes, and compose services from your IDE
Rust MCP server and CLI for Arcane Docker and container management.
MCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AI
Dokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers.
MailDev MCP server. Manage Docker containers and inspect emails from your AI editor or MCP client.
Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
MCP server and CLI that resolves config/env-var cascade across .env, docker-compose, and Kubernetes
Answers built from our own checks of this server.