Docker MCP
Provides remote Docker management capabilities via SSH, including container lifecycle, image management, compose operations, and system monitoring.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Docker MCPlist all running containers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Docker MCP
Personal note: Keep in mind that all AIs are essentially retarded geniuses. Refactor instructions as needed if your child acts up.
Remote Docker management over SSH — exposed as a local MCP server for GitHub Copilot sessions.
No server-side component required. The MCP runs locally and SSHes into the remote host to execute Docker commands.
Tools
Tool | Description |
| List containers |
| Fetch logs (tail, since, grep) |
| Run command inside container |
| Start new container |
| Lifecycle control |
| Remove container(s) |
| Detailed container/image info |
| Resource usage snapshot |
| Processes inside container |
| List images |
| Image management |
| Compose operations |
| Disk usage |
| System info |
| Network & volume listing |
Related MCP server: dokploy-logs
Setup
1. Clone the repository
git clone git@github.com:Isak-Landin/mcp-docker-engine.git ~/mcp-docker-engine
cd ~/mcp-docker-engine2. Install dependencies
sudo apt install python3.12-venv
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt3. Configure SSH target
cp config.example.json config.json
# Edit config.json with your server detailsconfig.json fields:
{
"host": "your-server.example.com",
"user": "ubuntu",
"key_path": "~/.ssh/id_rsa",
"port": 22
}4. Verify SSH access
Using the values from your config.json:
ssh -i <key_path> <user>@<host> docker ps5. Register with GitHub Copilot
Copilot CLI — mcp-config.json
Add the docker-mcp entry to the mcpServers object in your Copilot home's mcp-config.json:
"docker-mcp": {
"command": "/home/<your-username>/mcp-docker-engine/.venv/bin/python3",
"args": ["/home/<your-username>/mcp-docker-engine/server.py"]
}VS Code — .vscode/mcp.json
Add the docker-mcp entry to the servers object:
"docker-mcp": {
"type": "stdio",
"command": "/home/<your-username>/mcp-docker-engine/.venv/bin/python3",
"args": ["/home/<your-username>/mcp-docker-engine/server.py"]
}Copilot instructions — copilot-instructions.md
Add the contents of copilot-instructions.md to your Copilot home's copilot-instructions.md or instructions.md.
Notes
The SSH connection uses
StrictHostKeyChecking=accept-new- safe for known hosts, will warn on key changes.docker_buildanddocker_pulluse a 5-10 min timeout; adjusttimeoutinserver.pyif needed.For Compose tools,
project_diris the remote path containingdocker-compose.yml.docker_logsanddocker_execredirect stderr to stdout so output is always captured.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Run commands and read/write files on your servers over Termalin's keyless tunnels (hosted MCP).
Manage CloudPepper servers, Odoo instances, backups, and deployments over MCP.
Secure tunneling, reverse proxy and remote access for local applications.
Remote MCP server for creating and selling digital products via MoneMee. It lets AI agents create, publish, and sell digital products such as e-books, AI prompt packs, software, courses without a human touching a dashboard. Docs: https://monemee.com/mcp Sign up on Monemee to get a token.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables secure Docker command execution from isolated environments like containers through MCP protocol. Provides tools for managing Docker containers, images, and Docker Compose services with security validation and async operation support.MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables reading Docker container logs and stats from remote servers via SSH, supporting container listing, log retrieval, stats, inspection, and Docker Compose logs.
- FlicenseNot gradedqualityDmaintenanceManages Docker containers, images, and Compose stacks on a remote host over SSH, with file sync and deploy orchestration.
- FlicenseNot gradedqualityDmaintenanceEnables Docker container management and test execution via MCP tools, supporting image building, container operations, and automated test runs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Isak-Landin/mcp-docker-engine'
If you have feedback or need assistance with the MCP directory API, please join our Discord server