NestDaddy

Docker MCP Server

io.github.hypnosis/docker-mcp-server ยท v2.0.1

Docker for AI agents โ€” containers, compose stacks, logs and databases, locally or over SSH.

Connect Runs on your machine

Terminal
claude mcp add docker-mcp-server -e DOCKER_MCP_PROFILES_FILE=<DOCKER_MCP_PROFILES_FILE> -e DOCKER_PROFILES=<DOCKER_PROFILES> -e DOCKER_MCP_ALLOW_SSH_FALLBACK=<DOCKER_MCP_ALLOW_SSH_FALLBACK> -e LOG_LEVEL=<LOG_LEVEL> -- npx -y @hypnosis/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/[email protected]"
      ],
      "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/[email protected]"
      ],
      "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "docker-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/[email protected]"
      ],
      "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>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
DOCKER_MCP_PROFILES_FILE
Optional
Absolute path to the JSON file describing the Docker hosts this agent may reach. Without it the server answers about the Docker on this machine.
DOCKER_PROFILES
Optional
The same profiles JSON inline, used when no profiles file is set.
DOCKER_MCP_ALLOW_SSH_FALLBACK
Optional
Keep going when a profile's SSH key is missing, instead of refusing the profile. Defaults to false.
LOG_LEVEL
Optional
Log verbosity: error, warn, info or debug. Defaults to info.

Details

Package@hypnosis/[email protected] (NPM, stdio)
First published24 Aug 2026
Last updated24 Aug 2026
Registry nameio.github.hypnosis/docker-mcp-server

More cloud and devops servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.