Docker logo

Docker MCP Server

Docker MCP servers list, run and manage containers, images and compose stacks. It is an official, vendor-maintained server. Works in Claude, Cursor and Claude Code.

Docker

What Docker can do

Docker MCP servers list
Manage containers, images, compose stacks

Tools Docker exposes

5 tools · from docs

The exact tools this MCP server gives your AI.

list_containersList containersread
run_containerRun a containerwrite
list_imagesList imagesread
get_logsRead container logsread
compose_upStart a compose stackwrite

Try asking Claude

Example prompts once Docker is connected.

Spin up a container.
Check what is running.
Read container logs.

Set up Docker

Pick your client. Every snippet is copy-ready.

Claude Desktop → Settings → Developer → Edit Config (claude_desktop_config.json).

{
  "mcpServers": {
    "docker": {
      "command": "docker",
      "args": [
        "mcp",
        "gateway",
        "run"
      ]
    }
  }
}

Permissions & safety

Read & writeAuth: None

Can change data via: run_containercompose_up

Runs locally, so your data stays on your machine and only what the AI needs is sent to the model.

To stay safe, connect with least-privilege scopes and use a read-only credential where the service supports one.

Troubleshooting

“command not found” when the client starts the server
Install the runtime it needs (Node.js for npx, uv for uvx) and make sure it’s on your PATH.
Tools don’t appear after adding it
Fully restart the client (Claude Desktop, Cursor). Local servers load on startup.
A tool returns nothing for your Docker data
Confirm the account you authorised actually contains that data, and that your plan includes it.

FAQ

Docker runs as a local MCP server. Get its install command from https://github.com/docker/mcp-gateway, add it to your client's MCP config, then restart the client.

More Cloud & DevOps MCP servers

A
Written by Ari · Founder

Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.

Something wrong with this listing? Report it.