Docker MCP Server

Community
Developer Tools
stdio

Let AI agents list, inspect, start, stop, and manage Docker containers. Also supports image management, volume operations, and Docker Compose integration for containerized development workflows.

Quick Install

$ npx -y mcp-server-docker

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

{
  "mcpServers": {
    "docker": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-docker"
      ]
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (6)

list_containersstart_containerstop_containerinspect_containerlist_imagesrun_container

Docker FAQ

What is the Docker MCP server?

Let AI agents list, inspect, start, stop, and manage Docker containers. Also supports image management, volume operations, and Docker Compose integration for containerized development workflows.

How do I install the Docker MCP server?

Run: npx -y mcp-server-docker

Which AI clients support the Docker MCP server?

The Docker MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Docker MCP server provide?

The server provides 6 tools: list_containers, start_container, stop_container, inspect_container, list_images, run_container.