Docker MCP server
MCP server for Docker — manage containers, images, volumes, and compose services from your IDE
3 stars
Reviews
Write oneNobody has reviewed Docker yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Docker tools (10, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
container_logsGet logs from a Docker container.
container_statsGet CPU, memory, and network stats for a running Docker container.
exec_commandwrite actionExecute a command inside a running Docker container.
list_containersList Docker containers. Set all=true to include stopped containers.
list_imagesList Docker images on the host.
remove_containerwrite actionRemove a Docker container. Use force=true to remove running containers.
remove_imagewrite actionRemove a Docker image. Use force=true to force removal.
restart_containerRestart a Docker container.
start_containerStart a stopped Docker container.
stop_containerStop a running Docker container.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 49 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install Docker in Claude Code, Cursor or VS Code
Runs npx -y mcp-docker-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add docker -- npx -y mcp-docker-server
What the publisher says
From the Docker repository's README, as published. We do not edit it. Read it on GitHub
mcp-server-docker
Control Docker containers, images, and services from your AI coding assistant. List, start, stop, read logs, run commands inside containers, and check resource usage.
npx mcp-docker-serverCompatible with Claude Desktop, Cursor, VS Code Copilot, and any MCP-compatible client. No API keys needed. Connects to your local Docker socket automatically.
Demo built with remotion-readme-kit
Why
If you work with Docker daily, you know the routine: switch to a terminal, type docker ps, scroll through logs, copy container IDs, restart services. It adds up. This MCP server lets your AI assistant handle those tasks for you while you stay focused on code. Ask it to check which containers are running, pull up logs from a failing service, or restart something that got stuck. It talks to Docker's API through the local socket, so there's nothing to configure and no credentials to manage.
Tools
Quick Start
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"docker": {
"command": "npx",
"args": ["-y", "mcp-docker-server"]
}
}
}Claude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"docker": {
"command": "npx",
"args": ["-y", "mcp-docker-server"]
}
}
}VS Code
Add to user settings or .vscode/mcp.json:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Docker: common questions
- Is Docker MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Docker safety report
- How do I install Docker?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Docker need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Docker maintained?
- The last commit was 64 days ago (2026-08-10). The latest release is v1.0.1.
- What can I use instead of Docker?
- Servers from other publishers that do the same job: Pare Docker MCP server, Docker MCP Server and Komodo MCP Server. Compare all Docker alternatives.
Alternatives to Docker
Same job from other publishers: the closest match first, then the best rated.
- Pare DockerPare Docker ג€” Structured Docker operations (ps, images, logs, build, compose) as typed JSON.not reviewedGrowingA
- Docker MCP ServerManage Docker (containers, images, Compose, Swarm, registries) via the Docker SDK and CLI.not reviewedGrowingA
- Komodo MCP ServerMCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AInot reviewedGrowingB
- PodmanA Model Context Protocol (MCP) server for container runtimes (Podman and Docker)not reviewedGrowingA
- HomebutlerTells an agent what changed on a server since it last looked - status, Docker, backups, Proxmox.not reviewedEstablishedC