# Docker MCP Server

> Docker MCP Server is an open-source MCP server for developer tools. Manage Docker containers, images, Compose and Swarm from an AI agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, Linux, macOS
- **Repository:** https://github.com/l337-org/docker-mcp
- **MCP Registry name:** io.github.L337-org/docker-mcp-server
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-11-18

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add docker-mcp-server -- uvx docker-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "uvx",
      "args": [
        "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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/docker-mcp-server
