Updated March 2026
Install Docker
Pick your client, copy the command, done.
1
Add it to Claude Code
Run this in a terminal.
claude mcp add docker -- npx -y mcp-docker-serverAvailable Tools (10)
Once configured, Docker gives your AI agent access to:
list_containersList running or all containers with status, ports, and image infocontainer_logsGet recent logs from a containerstart_containerStart a stopped containerstop_containerStop a running containerrestart_containerRestart a containerremove_containerRemove a container (with optional force)exec_commandExecute a command inside a running containercontainer_statsGet live CPU, memory, and network statslist_imagesList all Docker images on the hostremove_imageRemove a Docker imageTry It Out
After setup, try these prompts with your AI agent:
→List all running Docker containers and their current status.
→Show me the logs from the nginx container to debug the recent error.
→Restart the api-server container.
→What is the current CPU and memory usage of my postgres container?
→Execute 'ls -la /app' inside the web container.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
- Docker installed and running
Keep this setup from going cold
Save the docs, env vars, and workflow around Docker in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.