Manage local Docker containers, images, logs, commands, and resource usage through an MCP-compatible assistant.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Server Docker.
list_containersList running (or all) containers with status, ports, and image info
container_logsGet recent logs from a container
start_containerStart a stopped container
stop_containerStop a running container
restart_containerRestart a container
remove_containerRemove a container (with optional force)
Control Docker containers, images, and services from your AI coding assistant. List, start, stop, read logs, run commands inside containers, and check resource usage.
Compatible 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
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.
| Tool | What it does |
|---|---|
list_containers | List running (or all) containers with status, ports, and image info |
container_logs | Get recent logs from a container |
start_container | Start a stopped container |
stop_container | Stop a running container |
restart_container | Restart a container |
remove_container | Remove a container (with optional force) |
exec_command | Execute a command inside a running container |
container_stats | Get live CPU, memory, and network stats |
list_images | List all Docker images on the host |
remove_image | Remove a Docker image |
Add to .cursor/mcp.json:
Add to claude_desktop_config.json:
Add to user settings or .vscode/mcp.json:
ls -la /app inside the web container"/var/run/docker.sock (Linux/macOS) or the named pipe on WindowsThis repo is an Agent Plugins 1.0.0 package: plugin.json, portable mcp.json, and skills/ ship together with the MCP server.
For Cursor, clone the repo and copy or symlink it to ~/.cursor/plugins/local/mcp-server-docker, then reload the window. Skills and MCP show up under Customize > Plugins.
The Cursor and VS Code install buttons above still work: they add the same npx -y mcp-docker-server stdio server as manual JSON.
The npm package for this MCP server (repo name mcp-server-docker). It talks to your local Docker socket to list containers, tail logs, exec commands, and manage images.
Yes. The daemon must be up and the MCP process must reach docker.sock (or the Windows named pipe).
Treat stop/remove/restart as destructive. Confirm with the user before changing production workloads.
Yes. Use ~/.cursor/plugins/local/mcp-server-docker so the bundled docker-management skill loads with the MCP config.
No. Only local Docker access.
More MCP servers and developer tools on my portfolio.
README built with README Builder
MIT © 2026 Ofer Shapira
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ofershap-mcp-server-docker)<a href="https://allmcps.com/mcp/ofershap-mcp-server-docker"><img src="https://allmcps.com/api/badge/ofershap-mcp-server-docker?style=directory" alt="MCP Server Docker on AllMCPs" /></a>