Creates a standalone Docker container with specified image, name, ports, and environment variables
Deploys a Docker Compose stack using the provided YAML configuration
Retrieves logs from a specific Docker container
Lists all Docker containers on the system
Docker Management is a powerful Model Context Protocol server that enables seamless Docker operations through Claude AI. It allows you to create and manage containers, deploy Docker Compose stacks, retrieve container logs, and monitor container status directly from your AI assistant. With this tool, developers can streamline their Docker workflow by leveraging natural language commands to perform common Docker operations without switching contexts or remembering complex command syntax. The server bridges the gap between AI assistants and container management, making DevOps tasks more accessible and efficient.
Docker Management is a Model Context Protocol (MCP) server that enables Claude to interact with Docker on your system. This integration allows you to manage containers, deploy compose stacks, view logs, and monitor container status through natural language interactions with Claude.
Before installing Docker Management, ensure you have:
The easiest way to install Docker Management is through Smithery:
npx @smithery/cli install docker-mcp --client claude
This automatically configures Claude Desktop to use the Docker Management MCP.
uvx install docker-mcp
For macOS:
Edit ~/Library/Application\ Support/Claude/claude_desktop_config.json
For Windows:
Edit %APPDATA%/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"docker-mcp": {
"command": "uvx",
"args": [
"docker-mcp"
]
}
}
}
Once installed, you can interact with Docker through Claude using natural language. Here are some example prompts:
To deploy a multi-container application with Docker Compose, you can ask Claude to create and deploy a compose file. For example:
"Deploy a Docker Compose stack with Redis and a Python web application that connects to it."
Claude will use the deploy-compose
tool to create the necessary configuration and deploy the stack.
If you encounter issues, you can use the MCP Inspector for debugging:
npx @modelcontextprotocol/inspector uvx docker-mcp
This will provide a web interface where you can monitor the communication between Claude and the Docker Management MCP.
The current version has some limitations:
These features may be added in future versions of the tool.