Docker Integration MCP Servers

Docker MCP servers provide interfaces for LLMs to interact with Docker containers and services. These servers enable AI models to manage containers, handle image operations, and assist with Docker infrastructure tasks.

{
  "mcpServers": {
    "mcp-server-docker": {
      "command": "uvx",
      "args": [
        "mcp-server-docker"
      ],
      "env": {
        "DOCKER_HOST": "ssh://[email protected]"
      }
    }
  }
}

Overview

The MCP Docker Server enables AI models to interact directly with Docker through the Model Context Protocol (MCP). It provides a standardized interface for container operations, allowing AI to assist with container management, image handling, and Docker infrastructure tasks. 1

Sensitive Data:

DO NOT CONFIGURE CONTAINERS WITH SENSITIVE DATA.

This includes API keys, database passwords, etc.

Any sensitive data exchanged with the LLM is inherently compromised, unless the LLM is running on your local machine.

Key features include:

  • Container management (create, start, stop, remove)
  • Image operations (build, pull, push)
  • Volume management
  • Network configuration
  • Docker Compose support
  • Resource monitoring
  • Log management

Tools

Containers

Images

Networks

Volumes

Sources

Footnotes

  1. https://github.com/modelcontextprotocol/servers/tree/main/src/docker