Docker MCP Server

Docker management tools for AI agents, built on the Model Context Protocol.

Local serverstdio

What is the Docker MCP Server?

@rog0x/mcp-docker-tools is an MCP project maintained in the rog0x/mcp-docker-tools repository. The maintainer describes its purpose as “Docker management tools for AI agents, built on the Model Context Protocol”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
docker_container_listList running or all containers with status, ports, image, created time, and resource usage (CPU, memory, network/block I/O)
docker_image_listList Docker images with size, tags, created date, and layer count
docker_dockerfile_analyzeAnalyze a Dockerfile for best practices: multi-stage builds, non-root user, layer caching, image size, security
docker_compose_analyzeAnalyze docker-compose.yml: services, ports, volumes, networks, health checks, dependencies, and improvement suggestions
docker_container_logsGet container logs with tail, keyword filter, time range, and timestamp support

How to install the Docker MCP Server

{
  "mcpServers": {
    "docker-tools": {
      "command": "node",
      "args": [
        "D:/products/mcp-servers/mcp-docker-tools/dist/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.