drio
Open app

Docker MCP Server 🐳⚡

Source

This is mcp server for docker basic create conatiner , get conatiner,and stop/start/remove

Catalog onlyCatalog onlySTDIO

Overview

Docker MCP Server is a Model Context Protocol (MCP) server designed for managing Docker containers, providing tools to automate Docker operations through AI agents.

To use Docker MCP Server, install the necessary dependencies, configure the Docker connection, and add the server to your MCP configuration file. You can then utilize various MCP tools to manage containers.

  • Container lifecycle management - Real-time container status monitoring - Docker API integration via Dockerode - MCP protocol implementation for AI-driven automation
  1. Automating the creation of Docker containers from images.
  2. Monitoring the status of running containers in real-time.
  3. Managing container states (start, pause, kill) programmatically.

Add to your AI client

Use these steps to connect Docker MCP Server 🐳⚡ in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

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

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

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

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "docker-mcp-server-bravetony44": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-docker-mcp-server-bravetony44"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

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

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

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

FAQ

What is required to run Docker MCP Server?

You need to have Docker Engine running with the Docker socket exposed.

How do I install Docker MCP Server?

You can install it by navigating to the project directory and running `npm install`.

Can I integrate Docker MCP Server with other tools?

Yes! It is designed to integrate seamlessly with other MCP tools.