ckreiling/mcp-server-docker
MCP server for Docker
Platform-specific configuration:
{
"mcpServers": {
"mcp-server-docker": {
"command": "npx",
"args": [
"-y",
"mcp-server-docker"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
An MCP server for managing Docker with natural language!
public-facing website.
supporting Docker.
A quick demo showing a WordPress deployment using natural language:
https://github.com/user-attachments/assets/65e35e67-bce0-4449-af7e-9f4dd773b4b3
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
<details> <summary>Install from PyPi with uv</summary>
If you don't have uv installed, follow the installation instructions for your system: link
Then add the following to your MCP servers file:
"mcpServers": {
"mcp-server-docker": {
"command": "uvx",
"args": [
"mcp-server-docker"
]
}
}</details>
<details> <summary>Install with Docker</summary>
Purely for convenience, the server can run in a Docker container.
After cloning this repository, build the Docker image:
docker build -t mcp-server-docker .And then add the following to your MCP servers file:
"mcpServers": {
"mcp-server-docker": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/var/run/docker.sock:/var/run/docker.sock",
"mcp-server-docker:latest"
]
}
}Note that we mount the Docker socket as a volume; this ensures the MCP server can connect to and control the local Docker daemon.
</details>
docker_composeUse natu
Loading reviews...