Docker MCP Server for Cursor
io.github.hypnosis/docker-mcp-server
Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH.
client:Cursor
transport:stdio
runtime:npm
Install Docker MCP Server in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs