drio
Open app

Docker Container MCP Server 🛠

Source

An MCP (Model Context Protocol) server to create docker containers.

Catalog onlyCatalog onlySTDIO

Overview

Docker Container MCP Server is a Model Context Protocol (MCP) server designed to facilitate the creation and management of Docker containers.

To use the Docker Container MCP Server, ensure that Docker is installed and running on your machine. You can create a container by specifying the desired Docker image using the create_container tool.

  • Create a container from a specific Docker image. - Get the status of a container.
  1. Rapidly deploy applications in isolated environments using Docker containers.
  2. Manage and monitor the status of running containers.

Add to your AI client

Use these steps to connect Docker Container 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-container-mcp-emresahna": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-docker-container-mcp-emresahna"
      ]
    }
  }
}

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-container-mcp-emresahna": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-docker-container-mcp-emresahna"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

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-container-mcp-emresahna": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-docker-container-mcp-emresahna"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is the purpose of the Docker Container MCP Server?

It is designed to create and manage Docker containers using the Model Context Protocol.

Do I need to install Docker to use this server?

Yes, Docker must be installed and running on your machine to use the Docker Container MCP Server.

Can I create containers from any Docker image?

Yes, you can create containers from any Docker image that is available in your Docker environment.