Loading...

Docker-mcp manages Docker containers and Compose stacks via Claude AI, offering container lifecycle management and log retrieval.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Docker-mcp manages Docker containers and Compose stacks via Claude AI, offering container lifecycle management and log retrieval.
This MCP server provides useful Docker management capabilities but requires careful consideration due to its ability to create, deploy, and delete containers. It's relatively safe when used for monitoring and log retrieval, but risky when deploying complex Compose stacks or creating containers without proper resource constraints.
Performance is largely dependent on the Docker Engine and the complexity of the container operations. Large Compose stacks may take longer to deploy.
There are no direct monetary costs associated with this MCP server, but resource consumption (CPU, memory, disk) on the Docker host should be considered.
npx @smithery/cli install docker-mcp --client claude{
"mcpServers": {
"docker-mcp": {
"command": "uvx",
"args": [
"docker-mcp"
]
}
}
}create-containerCreates a Docker container with specified image, name, ports, and environment variables.
Can create containers with potentially insecure configurations.
deploy-composeDeploys a Docker Compose stack using a provided YAML file.
Compose files can contain arbitrary configurations, posing significant security risks.
get-logsRetrieves logs from a specified Docker container.
Read-only operation with no side effects.
list-containersLists all Docker containers and their status.
Read-only operation with no side effects.
None
cloud
This MCP server provides useful Docker management capabilities but requires careful consideration due to its ability to create, deploy, and delete containers. It's relatively safe when used for monitoring and log retrieval, but risky when deploying complex Compose stacks or creating containers without proper resource constraints.
The server allows for full read/write access to Docker, so caution is advised when granting autonomy. There is no built-in sandboxing or rollback support.
Production Tip
Implement robust validation of Docker Compose files and container configurations before deployment to prevent errors in production.
Docker Desktop or Docker Engine is required, but the specific version compatibility isn't documented.
Resource limits are not directly supported by this MCP server. You need to configure them within the Docker Compose file or using Docker CLI options.
No, this MCP server is designed for standalone Docker containers and Docker Compose stacks, not for Swarm or Kubernetes orchestration.
Yes, you can use environment variables in your Docker Compose files, but the MCP server itself doesn't provide built-in environment variable management.
The MCP server will likely propagate errors from Docker Compose. Check the container logs and Docker Engine logs for details.
No, there is no built-in rollback support. You need to manually revert the changes or use a separate version control system for your Compose files.
You can update an existing stack by modifying the Compose file and redeploying it using the `deploy-compose` tool.
Alex Andru
Core Contributor
Ali Sadykov
Core Contributor