Docker MCP logo

Docker MCP

by QuantGeekDev

Manage Docker containers, compose stacks, logs, and status through MCP tools.

Install Docker MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "quantgeekdev-docker-mcp": {
      "command": "uvx",
      "args": [
        "docker-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx docker-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Overview

QuantGeekDev/docker-mcp MCP server exposes Docker container and Compose operations through the Model Context Protocol. It can create standalone containers, deploy Compose stacks from YAML, retrieve container logs, and list containers. The server runs locally through uvx and connects to Docker Desktop or Docker Engine. Reach for it when an MCP-compatible client needs to inspect or operate a local Docker environment through Claude Desktop.

Use cases

  • Create standalone Docker containers from an MCP client
  • Deploy Compose stacks from YAML
  • Retrieve logs from a named container
  • List containers and inspect their status

Key features

  • Create standalone containers
  • Deploy Docker Compose stacks
  • Retrieve container logs
  • List containers and statuses

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

20/21 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · docker-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars504Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Docker MCP works

What QuantGeekDev/docker-mcp MCP server does

QuantGeekDev/docker-mcp MCP server connects an MCP client to Docker operations. Its documented scope covers creating standalone containers, deploying Docker Compose stacks, retrieving logs from a named container, and listing containers.

The server is intended for local Docker environments. The prerequisites list Docker Desktop or Docker Engine, Python 3.12 or newer, and UV. Claude Desktop is the documented client, with configuration examples for both production use and local development.

How it works

The MCP server exposes four tools:

  • create-container creates a standalone container. Its documented input includes an image name, container name, port mappings, and environment data.
  • deploy-compose deploys a Compose stack from a project name and Compose YAML content.
  • get-logs retrieves logs for a specified container.
  • list-containers returns a list of Docker containers and their status information.

Operations are issued by the connected MCP client, while Docker performs the underlying container actions. Compose deployments are supplied as YAML in the tool request rather than described as a repository path in the available examples.

Setup and configuration

The documented production configuration runs QuantGeekDev/docker-mcp MCP server with uvx:

config.json
{
  "mcpServers": {
    "docker-mcp": {
      "command": "uvx",
      "args": ["docker-mcp"]
    }
  }
}

Add this entry to the Claude Desktop configuration file. On macOS, the README identifies ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows, it identifies %APPDATA%/Claude/claude_desktop_config.json.

For development, the repository documents cloning the project, creating a Python virtual environment, activating it, and running uv sync. The development client configuration uses uv --directory <path-to-docker-mcp> run docker-mcp, so a local checkout path is required for that mode. Docker must also be installed and available to the host.

Tools and capabilities

The server covers basic container lifecycle and inspection workflows. You can create a container with selected image, name, port, and environment fields; deploy a Compose application; inspect logs for a particular container; and list containers for status monitoring.

These tools fit workflows such as starting a service from an image, bringing up a multi-service development stack, checking application output, or reviewing what is currently running.

Limitations and notes

QuantGeekDev/docker-mcp MCP server lists several unsupported or unavailable management areas: built-in environment-variable support for containers, volume management, network management, container health checks, restart policies, and container resource limits. Treat it as a focused interface for the documented creation, Compose deployment, log retrieval, and listing operations rather than a complete Docker administration layer.

The project is licensed under MIT. No API key, OAuth flow, or other external credential is documented; access depends on the local Docker installation and the MCP client's ability to launch the server.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Docker MCP

Install UV, Docker Desktop or Docker Engine, and Python 3.12 or newer, then configure Claude Desktop to run `uvx` with the `docker-mcp` package.

Yes. The README provides Claude Desktop configuration examples and identifies it as a prerequisite.

It documents tools for creating containers, deploying Compose stacks, retrieving container logs, and listing containers.

No. Volume management and network management are listed among the current limitations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDocker MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/quantgeekdev-docker-mcp?style=directory)](https://allmcps.com/mcp/quantgeekdev-docker-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/quantgeekdev-docker-mcp"><img src="https://allmcps.com/api/badge/quantgeekdev-docker-mcp?style=directory" alt="Docker MCP on AllMCPs" /></a>