Koskamo

Docker MCP Server

A community-driven Model Context Protocol server that enables AI agents to manage Docker environments. It allows agents to inspect containers, read logs, check health, query databases, take dumps, and manage Compose stacks locally or remotely via SSH. It provides structured, Docker-native tool responses rather than parsing ASCII tables, supporting clients like Claude Code, Cursor, and Codex.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Docker MCP Server logo, by hypnosisCommunity listingLocal stdioSource reviewed; not executedPublished by hypnosis
Vendor documentation

What you can do with it

  • Inspect containers and check health status
  • Read container logs and query databases
  • Bring Compose stacks up or down
  • Manage Docker hosts over SSH

Source and maintenance

Community listingRegistry 2.0.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@hypnosis/docker-mcp-server 2.0.1

npmnpx
@hypnosis/docker-mcp-server package definition
{
  "version": "2.0.1",
  "transport": "stdio",
  "identifier": "@hypnosis/docker-mcp-server",
  "runtimeHint": "npx",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "DOCKER_MCP_PROFILES_FILE",
      "format": "filepath",
      "description": "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."
    },
    {
      "name": "DOCKER_PROFILES",
      "format": "string",
      "description": "The same profiles JSON inline, used when no profiles file is set."
    },
    {
      "name": "DOCKER_MCP_ALLOW_SSH_FALLBACK",
      "format": "boolean",
      "description": "Keep going when a profile's SSH key is missing, instead of refusing the profile. Defaults to false."
    },
    {
      "name": "LOG_LEVEL",
      "format": "string",
      "description": "Log verbosity: error, warn, info or debug. Defaults to info."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "docker-mcp-server-hypnosis-docker-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/docker-mcp-server@2.0.1"
      ],
      "env": {
        "DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
        "DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
        "DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "docker-mcp-server-hypnosis-docker-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/docker-mcp-server@2.0.1"
      ],
      "env": {
        "DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
        "DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
        "DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "docker-mcp-server-hypnosis-docker-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/docker-mcp-server@2.0.1"
      ],
      "env": {
        "DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
        "DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
        "DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "docker-mcp-server-hypnosis-docker-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/docker-mcp-server@2.0.1"
      ],
      "env": {
        "DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
        "DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
        "DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Docker MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.