CodexSpot
D

Docker MCP Server

Provides AI assistants with Docker control through MCP, enabling listing and running containers, building images, and executing commands inside running containers.

stdioLocalNo Authnpm

What This Server Exposes

Tools

list_containersrun_containerbuild_imageexec

Setup Instructions

  1. 1Ensure Docker Desktop or Docker Engine is installed and running
  2. 2Ensure Node.js 18+ is installed
  3. 3Add the Docker server config to your Claude Desktop configuration
  4. 4Restart Claude Desktop

Configuration

Claude Desktop Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "docker": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-docker"
      ]
    }
  }
}

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude DesktopClaude Code

Safety Notes

Docker access allows running arbitrary containers and executing commands on your host. Only enable in trusted environments. Be cautious with volume mounts and privileged containers, as they can expose the host filesystem.

This listing is for informational purposes only. CodexSpot is not affiliated with Docker MCP Server.