Docker MCP
Docker MCP server — manage containers, images, volumes, and networks through natural language AI interaction.
// Try it now
"List all my running Docker containers with their status and exposed ports"
- ! The server needs access to the Docker socket — this grants root-equivalent privileges on the host
- ! Running on a remote Docker host requires TLS setup or SSH tunneling
- ! Destructive actions like 'prune' remove data permanently — always confirm before running
API key or simple config
// When to use
- You're managing local development containers and want faster control
- You're debugging a containerized app and want AI to read the logs
- You're cleaning up stale images, volumes, or containers after a project
- You want to inspect container state without memorizing docker commands
// When NOT to use
- You use Podman, containerd, or Kubernetes directly (use kubernetes-mcp for k8s)
- You need to give AI permission to run arbitrary containers on production hosts
- You're building multi-stage production deployments — use dedicated CI/CD tooling
// Usage Scenarios
Local Environment Cleanup
Free up disk space by removing stopped containers, dangling images, and unused volumes.
Example prompt
"List all stopped containers, dangling images, and unused volumes — then remove them"
Container Debugging
Inspect a running container's logs, environment, and state through conversation.
Example prompt
"Show me the last 200 lines of logs for the 'api' container and tell me if there are any errors"
Quick Container Ops
Start, stop, or restart specific containers from conversation.
Example prompt
"Restart the postgres container and tail its logs until it's ready to accept connections"
// About
Plain English
Imagine telling your AI: 'Stop all running containers and clean up dangling images' or 'Show me the logs for the redis container' — and it manages Docker for you. This server connects your AI to Docker so it can list, start, stop, and inspect containers, images, volumes, and networks through conversation.
The Docker MCP server provides AI assistants with control over Docker environments. List and manage containers, pull and inspect images, manage volumes and networks, view logs, and execute commands inside containers — all through conversation.
Highly useful for DevOps workflows, local development, and infrastructure management with AI assistance.
// Use Cases
- Manage Docker containers through conversation
- Debug container issues with AI-assisted log analysis
- Inspect and clean up Docker images and volumes
- Orchestrate local development environments
// Works With
// Also Consider
// Related Servers
Git MCP
Official Git MCP server — read repository history, diffs, blame, and status through AI without leaving your conversation.
Puppeteer MCP
Official Puppeteer browser automation server — let AI control a real browser for scraping, screenshots, and UI testing.
GitHub MCP
Official GitHub MCP server — manage repos, issues, PRs, and code search directly from your AI assistant.