Overview
Docker MCP Server is a tool designed to manage Docker containers using natural language commands, making it easier for users to interact with Docker without needing to memorize complex command-line syntax.
To use the Docker MCP Server, ensure you have the required prerequisites installed, clone the repository, and configure your environment as per the provided instructions. You can then use natural language prompts to manage your Docker containers.
- Compose containers using natural language prompts. - Introspect and debug running containers easily. - Manage persistent data with Docker volumes. - Provides tools for listing, creating, and managing containers, images, networks, and volumes.
- Server administrators can manage remote Docker engines for public-facing websites.
- Developers can quickly spin up local containers without needing to run command-line instructions.
- Tinkerers can experiment with Docker configurations using simple language prompts.
Add to your AI client
Use these steps to connect 🐋 Docker MCP server 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": {
"ckreiling-mcp-server-docker-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ckreiling-mcp-server-docker-mcp-mirror"
]
}
}
}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": {
"ckreiling-mcp-server-docker-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ckreiling-mcp-server-docker-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ckreiling-mcp-server-docker-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ckreiling-mcp-server-docker-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ckreiling-mcp-server-docker-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ckreiling-mcp-server-docker-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ckreiling-mcp-server-docker-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ckreiling-mcp-server-docker-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ckreiling-mcp-server-docker-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ckreiling-mcp-server-docker-mcp-mirror"
]
}
}
}FAQ
Can I use Docker MCP Server for any Docker setup?
Yes! It is designed to work with any Docker environment as long as the prerequisites are met.
Is there a risk of exposing sensitive data?
Yes, users are advised not to configure containers with sensitive data, as it can be compromised.
How does the natural language processing work?
The server uses a language model to interpret user prompts and generate the necessary Docker commands.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":668,"uuid":"675b80a9-7d8f-49ea-9bf6-3f59a0b4cce0","name":"ckreiling_mcp-server-docker","title":"🐋 Docker MCP server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:25:59.064Z","updated_at":"2025-02-23T07:15:14.246Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"docker,mcp-server,natural-language","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/ckreiling_mcp-server-docker","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]