Overview
docker-mcp is a powerful Model Context Protocol (MCP) server designed to facilitate Docker operations, enabling seamless management of containers and Docker Compose stacks through Claude AI.
To use docker-mcp, configure it in your Claude Desktop app's configuration files and ensure you have the necessary prerequisites installed, including Python 3.12+ and Docker.
- 🚀 Creation and instantiation of Docker containers. - 📦 Deployment of Docker Compose stacks. - 🔍 Retrieval of container logs. - 📊 Monitoring and listing of container statuses.
- Deploying a microservices architecture using Docker Compose.
- Managing and monitoring the status of multiple containers in a development environment.
- Analyzing container logs for debugging purposes.
Add to your AI client
Use these steps to connect 🐳 docker-mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"docker-mcp-quantgeekdev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docker-mcp-quantgeekdev"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"docker-mcp-quantgeekdev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docker-mcp-quantgeekdev"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"docker-mcp-quantgeekdev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docker-mcp-quantgeekdev"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"docker-mcp-quantgeekdev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docker-mcp-quantgeekdev"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"docker-mcp-quantgeekdev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docker-mcp-quantgeekdev"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"docker-mcp-quantgeekdev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docker-mcp-quantgeekdev"
]
}
}
}