Docker MCP
Provides comprehensive Docker management capabilities including container operations (create, start, stop, remove), image management (list, pull, remove), volume operations, container monitoring with logs and stats, and Docker Compose deployment and teardown.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Docker MCPlist all running containers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Docker MCP 🐳
Gerencie containers Docker diretamente através do Claude usando o Model Context Protocol (MCP)
🚀 Instalação (Containerizado)
Método Recomendado - Docker:
# 1. Navegue até o diretório
cd /root/.claude/docker-mcp-py
# 2. Construa a imagem (se ainda não existe)
docker build -t docker-mcp-py:latest .
# 3. Adicione ao Claude
claude mcp add docker-mcp-py -s user -- /root/.claude/docker-mcp-py/start-docker.sh
# 4. Verifique
claude mcp listMétodo Alternativo - Python Local (Legado):
# Use apenas se preferir não usar Docker
claude mcp add docker-mcp-py -s user -- \
/root/.claude/docker-mcp-py/venv/bin/python3 \
/root/.claude/docker-mcp-py/docker_mcp_server.py⚠️ IMPORTANTE:
RECOMENDADO: Use o método containerizado com
start-docker.shContainer tem acesso total ao Docker do host via socket
Não precisa mais do venv se usar o método Docker
Related MCP server: Docker MCP Server
🚀 Ferramentas Disponíveis (14 total)
create-container
list-containers
stop-container
start-container
remove-container
get-logs
get-container-stats
list-images
pull-image
remove-image
list-volumes
remove-volume
deploy-compose
compose-down
🔧 Solução de Problemas
Se aparecer "docker-mcp-py: failed":
Veja o arquivo SOLUCAO_DEFINITIVA_DOCKER_MCP.md
Para reinstalar:
claude mcp remove docker-mcp-py -s user
claude mcp add docker-mcp-py -s user -- /root/.claude/docker-mcp-py/venv/bin/python3 /root/.claude/docker-mcp-py/docker_mcp_server.py📁 Arquivos Importantes
Arquivos Docker (Novo):
Dockerfile- Define a imagem Docker do MCPrequirements.txt- Dependências Pythonstart-docker.sh- Script para iniciar via Docker.dockerignore- Arquivos ignorados no buildCONTAINERIZATION.md- Documentação da containerização
Arquivos Originais:
docker_mcp_server.py- Script principal do servidorsrc/- Código fonte do servidor MCPsetup.sh- Instalador de dependências (legado)
🔄 Migração para Docker
Teste o container:
./start-docker.shSe funcionar bem:
rm -rf venv/Atualize o Claude:
claude mcp remove docker-mcp-py -s user claude mcp add docker-mcp-py -s user -- /root/.claude/docker-mcp-py/start-docker.sh
Versão: 0.4.0 | Status: ✅ Containerizado
This server cannot be deployed
Maintenance
Related MCP Connectors
Your AI Agent's Infrastructure Layer. Connect Claude, Copilot, Codex, or ChatGPT to 200+ managed open source services. Start databases, pipelines, and applications through natural language.
Hosting for AI agents: your AI client deploys Docker apps to live HTTPS URLs over MCP.
Deploy full-stack apps (Postgres, Redis, S3, workers, backups) from Claude or curl. 59 MCP tools.
Remote MCP for RunComfy: ComfyUI deployments, hosted models, LoRA training. 31 tools.
Related MCP Servers
- AlicenseAqualityFmaintenanceAllows Claude and other AI assistants to interact with Docker through the MCP protocol, enabling container and image management including listing, running, stopping, and pulling Docker resources.675 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to manage Docker containers, images, and Docker Compose deployments through the Model Context Protocol. Provides secure container lifecycle management, image operations, and multi-host Docker server connections.168 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Docker containers, images, networks, volumes, and Compose services through the Model Context Protocol. It supports system operations, command execution within containers, and integration with Docker Hub and GitHub Container Registry.79 npm2MIT
- AlicenseAqualityDmaintenanceEnables managing Docker containers (run, list, stop, remove, view logs) through Claude Desktop using natural language commands.575 npmMIT