Updated March 2026

Install Docker

Pick your client, copy the command, done.

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add docker -- npx -y mcp-docker-server

Available Tools (10)

Once configured, Docker gives your AI agent access to:

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)
exec_commandExecute a command inside a running container
container_statsGet live CPU, memory, and network stats
list_imagesList all Docker images on the host
remove_imageRemove a Docker image

Try 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.
Remember this setup