# MCP Server Docker (MCP server)

> MCP Server Docker is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. An MCP server for managing Docker with natural language. It has 749 GitHub stars, is released under the GPL-3.0 license and runs locally with uvx mcp-server-docker.

An MCP server for managing Docker with natural language! A quick demo showing a WordPress deployment using natural language:

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/ckreiling/mcp-server-docker |
| GitHub stars | 749 |
| License | GPL-3.0 |
| Language | Python |
| Transport | stdio |
| Packages | pypi: mcp-server-docker |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Cloud & DevOps |
| Latest release | v0.3.0 (Aug 7, 2026) |
| Last commit | Aug 7, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

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

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env DOCKER_HOST=your-value --transport stdio mcp-server-docker -- uvx mcp-server-docker
```

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

```json
{
  "mcpServers": {
    "mcp-server-docker": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-docker"
      ],
      "env": {
        "DOCKER_HOST": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

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

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

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `DOCKER_HOST`: Shown in the README's example configuration.

## Tools

- `list_containers`
- `create_container`
- `run_container`
- `recreate_container`
- `start_container`
- `fetch_container_logs`
- `stop_container`
- `remove_container`
- `list_images`
- `pull_image`
- `push_image`
- `build_image`
- `remove_image`
- `list_networks`
- `create_network`
- `remove_network`
- `list_volumes`
- `create_volume`
- `remove_volume`

## Similar MCP servers

- [Flux Operator](https://appsgit.com/mcp-servers/flux-operator): The Flux Operator is a Kubernetes CRD controller that manages the lifecycle of CNCF Flux CD and the ControlPlane enterprise distribution. (779 stars, AGPL-3.0, official)
- [Trinity](https://appsgit.com/mcp-servers/trinity): Self-hosted AI Agents Platform for AI Native companies. (701 stars, Apache-2.0)
- [SSH — policy-gated remote access](https://appsgit.com/mcp-servers/ssh-policy-gated-remote-access): Policy-gated, audited SSH for Linux and Windows hosts: roles, approvals, and an audit log. (831 stars, MIT, needs API key)
- [rustunnel](https://appsgit.com/mcp-servers/rustunnel): Give AI agents public HTTPS/TCP/UDP URLs for any localhost service. (657 stars, AGPL-3.0)
- [Golf](https://appsgit.com/mcp-servers/golf): Production-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents. (841 stars, Apache-2.0)
- [Vestige](https://appsgit.com/mcp-servers/vestige): Causal Proof Engine for AI agents: signed log, zero vectors, failures traced to their cause. (656 stars, AGPL-3.0)

---

Canonical page: https://appsgit.com/mcp-servers/mcp-server-docker
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
