MCP server for Docker: list containers/images, analyze Dockerfiles and docker-compose, view container logs Install: npx @rog0x/mcp-docker-tools
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add docker -- npx -y @rog0x/mcp-docker-tools~/.codex/config.toml
[mcp_servers.docker]
command = "npx"
args = ["-y", "@rog0x/mcp-docker-tools"]
# codex mcp add docker -- npx -y @rog0x/mcp-docker-tools~/.cursor/mcp.json
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-docker-tools"
]
}
}
}.vscode/mcp.json
{
"servers": {
"docker": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-docker-tools"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-docker-tools"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-docker-tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-docker-tools"
]
}
}
}