Server data from the Official MCP Registry
MCP server for Docker — containers, health checks, Compose, logs for AI agents
MCP server for Docker — containers, health checks, Compose, logs for AI agents
This Docker MCP server is well-structured with proper error handling, input validation via Zod schemas, and appropriate scoping of permissions to local Docker socket operations. The codebase demonstrates good security practices with no hardcoded credentials, no network exfiltration, and no dangerous patterns. Minor issues include broad exception handling and lack of explicit permission validation, but these are low-severity and do not materially impact security for this category of server. Supply chain analysis found 4 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 10 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: DOCKER_HOST
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-friendlygeorge-docker-mcp-server": {
"env": {
"DOCKER_HOST": "your-docker-host-here"
},
"args": [
"-y",
"@supernova123/docker-mcp-server"
],
"command": "npx"
}
}
}From the project's GitHub README.
The Docker MCP server designed for agents that need their containers to stay running.
Without this: Your agent deploys a container, it crashes at 3am, and nobody notices until the user complains. Compose stacks drift. Health checks are manual. Logs are scattered across terminals.
With this: Your agent checks health, watches for readiness, restarts crashed containers, and follows logs, all through a single MCP interface. Containers stay running because your agent knows how to keep them running.
There are 11+ Docker MCP servers on npm. Most are stale, GPL-licensed, or only cover basic CRUD. This one is different:
| This server | ckreiling/mcp-server-docker | docker/hub-mcp | |
|---|---|---|---|
| License | MIT | GPL-3.0 | Apache-2.0 |
| Last updated | Active | Jun 2025 (stale) | Active |
| Health checks | ✅ HTTP/TCP/exec probes | ❌ | ❌ |
| Auto-restart | ✅ set_restart_policy | ❌ | ❌ |
| Compose lifecycle | ✅ up/down/ps/logs/restart | ❌ | ❌ |
| Log streaming | ✅ tail + timestamp filter | Basic | Basic |
| Agent positioning | ✅ Built for agents | Generic Docker | Registry API |
One command to run:
npx @supernova123/docker-mcp-server
Add to your MCP settings:
{
"mcpServers": {
"docker": {
"command": "npx",
"args": ["-y", "@supernova123/docker-mcp-server"]
}
}
}
claude mcp add docker -- npx -y @supernova123/docker-mcp-server
| Tool | Description |
|---|---|
list_containers | List containers with filters (state, label, name) |
inspect_container | Get detailed container config and state |
start_container | Start a stopped container |
stop_container | Stop a running container |
restart_container | Restart a container |
remove_container | Remove a container (with force option) |
recreate_container | Stop, remove, and re-create a container with same config |
run_container | Create + start a container in one call |
| Tool | Description |
|---|---|
list_images | List images with optional filters |
pull_image | Pull an image from a registry |
build_image | Build an image from a Dockerfile |
remove_image | Remove an image |
| Tool | Description |
|---|---|
compose_up | Bring up a Compose stack |
compose_down | Tear down a Compose stack |
compose_ps | List service states |
compose_logs | Tail Compose service logs |
compose_restart | Restart Compose services |
| Tool | Description |
|---|---|
check_health | Run a health probe (HTTP, TCP, exec) |
watch_health | Poll health until healthy or timeout |
set_restart_policy | Change restart policy on a running container |
| Tool | Description |
|---|---|
stream_logs | Get container logs with tail/timestamp filtering |
container_stats | CPU, memory, network, block I/O snapshot |
| Tool | Description |
|---|---|
exec_in_container | Run a command inside a running container |
| Tool | Description |
|---|---|
list_networks | List Docker networks |
list_volumes | List Docker volumes |
/var/run/docker.sockMIT
Be the first to review this server!
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption