Skip to content
MCP server

Docker MCP Server

Manage Docker containers, images, Compose and Swarm from an AI agent

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, Linux
Runs
Locally
Version
2.3.0
Listing updated
today

Similar MCP servers

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.

Each Docker operation is its own typed tool, flagged read-only or not, with destructive actions marked separately. A client can auto-approve reads and always confirm anything destructive, or the whole server can start in read-only or no-destructive mode so those tools are never registered. Output is capped with a truncated flag rather than flooding the agent's context.

With no configuration it finds your local Docker socket. It can also manage several daemons in one session, for example a dev machine and a remote production host over TCP, TLS or SSH, with some marked read-only. It can run on a machine without Docker installed and reach remote daemons over SSH.

The README lists 150+ tools, plus resources for logs, stats, the Docker SDK reference and a live tool catalog. Domains such as swarm or scout can be excluded for clients that load every tool eagerly. It runs on your machine and sends no telemetry.

Install

Run in a terminal

claude mcp add docker-mcp-server -- uvx docker-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "uvx",
      "args": [
        "docker-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "uvx",
      "args": [
        "docker-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "docker-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "docker-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "uvx",
      "args": [
        "docker-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "uvx",
      "args": [
        "docker-mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it does

Typed per-operation tools
Over 150 tools, each marked read-only or destructive.
Safety modes
Read-only and no-destructive modes keep write tools unregistered.
Multiple daemons
Manage local and remote daemons over TCP, TLS or SSH in one session.
Bounded output
Large results are truncated with a flag instead of overflowing context.
Domain exclusion
Drop swarm or scout tools to shrink the tool list.
Several install routes
PyPI, container image, .mcpb bundle or Claude plugin.

Good for

  • Find out why a container crashed
  • Check disk usage of volumes
  • Compare test and production Docker environments
  • Monitor a Swarm cluster in read-only mode

Pricing

Open source

Docker MCP Server FAQ

Does it need Docker installed locally?

Not necessarily; it can manage remote daemons over SSH, TLS or TCP, though some features need SSH.

Can I stop it from deleting things?

Yes. Start it in no-destructive or read-only mode and those tools are not registered.

What does it require to run natively?

Python 3.14 or newer and uv; the container image and .mcpb bundle remove those needs.

Does it send telemetry?

The README says it sends none and runs entirely on your machine.

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 -- uvx docker-mcp-server

What are the best alternatives to Docker MCP Server?

The closest alternatives to Docker MCP Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers