Docker MCP Server

Control Docker containers, images, and services from your AI coding assistant. List, start, stop, read logs, run commands inside containers, and check resource usage. Its 10 documented tools cluster into run & execute, read & search, container, delete. It runs locally over stdio via the published package.

People who work with containers, devops and docker and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-10 · ★ 3 · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Docker

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add ofershap-mcp-server-docker -- npx -y mcp-docker-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "ofershap-mcp-server-docker": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-docker-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package mcp-docker-server - unscoped; check the name against the project README before installing

registry namespace io.github.ofershap is GitHub-verified and matches the repo owner

03 · What Docker can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can list running (or all) containers with status, ports, and image info, get recent logs from a container, start a stopped container, and stop a running container.

Capability map

Tools grouped from the project's README - what Docker lets an agent do.

run & execute

3 tools - e.g. Start a stopped container; Stop a running container; Execute a command inside a running container

start_container · stop_container · exec_command

read & search

2 tools - e.g. List running (or all) containers with status, ports, and image info; List all Docker images on the host

list_containers · list_images

Container

2 tools - e.g. Get recent logs from a container; Get live CPU, memory, and network stats

container_logs · container_stats

delete

2 tools - e.g. Remove a container (with optional force); Remove a Docker image

remove_container · remove_image

Restart

1 tool - e.g. Restart a container

restart_container

04 · Who maintains Docker

docker is maintained by ofershap. We track 15 MCP servers from ofershap - 15 actively maintained, 98 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from ofershap.

  1. real-browser MCP server + Chrome extension for AI browser control with real sessions. ★ 51
  2. ai-context-kit Lint, measure, and sync AI context files across Cursor, Claude Code, Copilot. ★ 8
  3. scraper Web scraping MCP - extract clean markdown, links, and metadata from any URL. ★ 6
  4. markdown Markdown MCP - search, extract sections, list headings, find code blocks. ★ 5
  5. s3 AWS S3 MCP - list buckets, browse objects, upload/download, presigned URLs. ★ 4
  6. github-actions GitHub Actions MCP - view runs, read logs, re-run jobs, and manage CI/CD. ★ 4

05 · Facts

category
cloud infrastructure - actively maintained as of 2026-09-18.
registry
io.github.ofershap/docker (active, first published 2026-03-10)
packages
npm:mcp-docker-server

06 · Docker FAQ

Is Docker still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-10. We re-verify nightly.

What can Docker do?

With this server connected, an agent can list running (or all) containers with status, ports, and image info, get recent logs from a container, start a stopped container, and stop a running container.

How do I install Docker?

Run `npx -y mcp-docker-server`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Docker run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Docker

More cloud infrastructure MCP servers · S3 (ofershap) · Ckan MCP Server · Service Public France · ABAP Accelerator · OPA MCP

More TypeScript MCP servers · GitHub Actions · GitHub Gist · Markdown · Scraper · see all