mcp-registry/mcp-server-docker

    ==================
      
       /// MCP ///
      /// MCP ///
        
    ==================
        
    [server:online]
    [protocol:ready]

mcp-server-docker

by ckreiling

MCP server that lets you manage Docker containers, images, networks and volumes through natural-language prompts. Ships CLI + Docker image, supports local or remote (SSH) Docker daemons, and exposes a rich tool set for compose/inspect/debug workflows.

532
62
Open Source

Installation

Prerequisites:
1. Docker Engine ≥ 20.10 installed and running.
2. (Optional) docker-compose ≥ v2 for simplified orchestration.
Quick start (single container):
# Pull the published image (replace <tag> with a release tag or "latest")
docker pull ckreiling/mcp-server:<tag>
# Run the server, exposing the default MCP port 8080
# Adapt volumes and environment variables as required.
docker run -d \
--name mcp-server \
-p 8080:8080 \
-v $PWD/data:/var/lib/mcp \
ckreiling/mcp-server:<tag>
Using docker-compose:
version: "3.9"
services:
mcp:
image: ckreiling/mcp-server:latest
container_name: mcp-server
ports:
- "8080:8080"
volumes:
- ./data:/var/lib/mcp
environment:
# Example: customize if the server requires a secret or token
MCP_ADMIN_TOKEN: "change-me"
Start the stack:
docker compose up -d
After the container is healthy, open http://localhost:8080 to reach the MCP endpoint.
Update:
docker pull ckreiling/mcp-server:latest
docker compose down
docker compose up -d
Uninstall:
docker compose down -v # removes containers and volumes

Documentation

# Transform Your Docker Workflow with Augment Code

Stop context-switching between your IDE and terminal for Docker management. The **mcp-server-docker** integration brings powerful Docker orchestration directly into Augment Code, letting you manage containers, images, and infrastructure through natural language commands without leaving your coding environment.

## Seamless Docker Integration in Your Coding Flow

With this MCP server connected to Augment Code, you can now handle your entire containerized development workflow through conversation. Ask Augment to "spin up a WordPress site with MySQL for testing my new plugin" and watch it plan, create networks, pull images, and configure containers—all while you stay focused on your code. The server's intelligent **docker_compose** prompt guides Augment through a plan-and-apply workflow, letting you review and refine deployment strategies before execution.

**Real-world scenarios where this integration shines:**
- **Rapid prototyping**: "Deploy a Redis cache and Node.js API server for my new microservice"
- **Database testing**: "Create a PostgreSQL container with test data and expose it on port 5433"
- **Environment debugging**: "Show me the logs from my frontend container and restart it if there are errors"
- **Multi-service orchestration**: "Set up a complete development stack with Nginx proxy, React app, and MongoDB"

## Productivity Gains That Matter

The combination of Augment Code's AI assistance with comprehensive Docker management eliminates the friction of containerized development. Instead of memorizing `docker run` flags or crafting complex docker-compose files, you describe what you need and Augment handles the implementation details—from creating custom networks to managing persistent volumes. The server supports both local development and remote Docker hosts via SSH, making it perfect for managing cloud infrastructure or development servers directly from your IDE.

Configure the server in your Augment Code settings and unlock a new level of development efficiency where infrastructure management becomes as natural as writing code.
License: GNU General Public License v3.0
Updated 7/15/2025

Table of Contents