Docker MCP Server for Grok
io.github.hypnosis/docker-mcp-server
Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
client:Grok
transport:stdio
runtime:npm
Install Docker MCP Server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"docker-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server"
],
"env": {
"DOCKER_MCP_PROFILES_FILE": "<DOCKER_MCP_PROFILES_FILE>",
"DOCKER_PROFILES": "<DOCKER_PROFILES>",
"DOCKER_MCP_ALLOW_SSH_FALLBACK": "<DOCKER_MCP_ALLOW_SSH_FALLBACK>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs