This repository provides an MCP server that uses natural language to manage Docker containers. It allows users to compose, introspect, debug, and manage persistent data with Docker volumes.
An MCP server that manages Docker using natural language.
Installation instructions are provided using uv
or Docker.
docker_compose
Compose containers using natural language. Provide a project name and container descriptions, and the LLM will generate a plan for you to apply. The LLM will enter a plan+apply
loop, where you can provide feedback to refine the plan.
The server provides resources for each container, including stats (CPU, memory) and logs.
Provides tools for managing containers, images, networks, and volumes.
Avoid configuring containers with sensitive data. Review created containers carefully, as Docker is not a secure sandbox. The server doesn't support sensitive Docker options like --privileged
.
Uses the Python Docker SDK's from_env
method for configuration.
Devbox is recommended for configuring the development environment.
ckreiling/mcp-server-docker
December 7, 2024
March 28, 2025
Python