# Docker MCP

Docker MCP is a Docker image that wraps the mcp-server-docker Python package with supergateway, exposing a Model Context Protocol (MCP) server over HTTP/SSE so clients can manage Docker in a trusted homelab. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2575/docker-mcp

## Description

Docker MCP is a Docker image that wraps the mcp-server-docker Python package with supergateway, exposing a Model Context Protocol (MCP) server over HTTP/SSE so clients can manage Docker in a trusted homelab.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

39/100 (Low), based on 4 of 4 factors.
- Maintained: 69 (last commit 65 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)

## Links

- Docker Hub: https://hub.docker.com/r/louij2/docker-mcp
- GitHub: https://github.com/louij2/docker-mcp
- Unraid: https://ca.unraid.net/apps/docker-mcp-1uo1wxk00fwsgs?q=docker-mcp

## Common questions

### How should I limit who can reach the container?

It mounts the Docker socket, which is root-equivalent on the host, so only run it where you trust every client that can reach it.

### How does a stdio MCP server become available to HTTP clients?

The image wraps the mcp-server-docker Python package with supergateway, bridging the stdio MCP server over HTTP.

### What failure areas should I check if the setup does not work?

Common failure modes to check include Docker environment issues, gateway configuration problems, tool registration failures, secret mismatches, and container crashes.

### Which Docker operations can the server perform?

It uses standard Docker CLI commands to list, run, stop, and remove containers, as well as to pull images from registries.

### Can I build other MCP server images on top of this one?

Yes, several sibling images build FROM local/docker-mcp:latest and layer their own MCP server on top. Build this image first if you are rebuilding that family from scratch.

---
Source: Our Local Host (https://ourlocalhost.com/app/2575/docker-mcp), the self-hosted and open-source app directory.
