Docker containers are fundamental to modern development and deployment. MCP servers can give Claude access to manage containers, images, and Docker Compose stacks. Here are the best options for Docker integration.
Recommended MCP Servers
Docker MCP
docker/docker-mcp
Official Docker integration for managing containers, images, volumes, and networks.
Key Features
- Container lifecycle management
- Image operations
- Volume and network management
- Docker Compose support
Installation
npx docker-mcpThe Docker MCP provides comprehensive container management. Start, stop, and inspect containers, manage images, and work with Docker Compose. Essential for containerized development workflows.
Shell MCP + Docker CLI
anthropics/mcp-server-shell
Run Docker CLI commands directly for full control over your Docker environment.
Key Features
- Full Docker CLI access
- Docker Compose commands
- Build and push images
- Any Docker operation
Installation
npx @modelcontextprotocol/server-shellThe Shell MCP gives Claude access to the full Docker CLI. Run any docker command—build images, compose up, exec into containers. Maximum flexibility for Docker power users.
MCP Server Docker
ckreiling/mcp-server-docker
Docker container management with tools to list, start, stop, and manage containers and images.
Key Features
- Container operations
- Log streaming
- Exec into containers
- Development focused
Installation
npx mcp-server-dockerA Docker MCP focused on development workflows. Good for managing local development containers, viewing logs, and debugging containerized applications.
Quick Comparison
| MCP | Stars | Best For | Pros | Cons |
|---|---|---|---|---|
| Docker MCP | >500 | Full management | Official support | Structured API |
| Shell + CLI | >2k | Any operation | Full CLI power | Less structured |
| MCP Docker | >200 | Development | Simple workflow | Limited features |
Getting Started
To manage Docker with Claude Code:
Ensure Docker is running on your system.
For structured access, install Docker MCP:
npx docker-mcpFor full CLI access, Claude can use bash directly:
"List all running containers and show their resource usage."
Example prompt: "Start the development database container and show me its logs."