1. Conduid
  2. Commerce
  3. io.github.ofershap/docker
MCP server · Commerce

io.github.ofershap/docker

MCP server for Docker — manage containers, images, volumes, and compose services from your IDE

Unclaimed commerce
37Low

Scored 6 months ago · breakdown

About io.github.ofershap/docker

io.github.ofershap/docker is an MCP server in the Commerce category: mCP server for Docker — manage containers, images, volumes, and compose services from your IDE.

Install

Claude Code
claude mcp add io-github-ofershap-docker -- npx -y mcp-docker-server
npx
npx -y mcp-docker-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (10)

container_logsGet recent logs from a container

Parameters not published.

container_statsGet live CPU, memory, and network stats

Parameters not published.

exec_commandExecute a command inside a running container

Parameters not published.

list_containersList running (or all) containers with status, ports, and image info

Parameters not published.

list_imagesList all Docker images on the host

Parameters not published.

remove_containerRemove a container (with optional force)

Parameters not published.

remove_imageRemove a Docker image

Parameters not published.

restart_containerRestart a container

Parameters not published.

start_containerStart a stopped container

Parameters not published.

stop_containerStop a running container

Parameters not published.

Ask AI

✦

Ask AI about io.github.ofershap/docker

Powered by Claude · Grounded in docs

I know everything about io.github.ofershap/docker. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-server-docker

npm version npm downloads CI TypeScript

Control Docker containers, images, and services from your AI coding assistant. List, start, stop, read logs, run commands inside containers, and check resource usage.

npx mcp-docker-server

Compatible with Claude Desktop, Cursor, VS Code Copilot, and any MCP-compatible client. No API keys needed. Connects to your local Docker socket automatically.

MCP server for Docker containers, logs, and resource monitoring

Demo built with remotion-readme-kit

Why

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.

Tools

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

Quick Start

Cursor

Add to .cursor/mcp.json:

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

Claude Desktop

Add to claude_desktop_config.json:

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

VS Code

Add to user settings or .vscode/mcp.json:

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

Examples

  • "List all running Docker containers"
  • "Show me the logs from the nginx container"
  • "Restart the api-server container"
  • "What's the CPU and memory usage of my postgres container?"
  • "Execute ls -la /app inside the web container"
  • "List all Docker images and their sizes"
  • "Stop all containers that are using the old image"

Prerequisites

  • Docker must be running on your machine
  • The server connects to the Docker socket at /var/run/docker.sock (Linux/macOS) or the named pipe on Windows
  • No API keys or tokens required

Development

git clone https://github.com/ofershap/mcp-server-docker.git
cd mcp-server-docker
npm install
npm test
npm run build

See also

More MCP servers and developer tools on my portfolio.

Author

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © 2026 Ofer Shapira

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.ofershap/docker

How do I install io.github.ofershap/docker?

Run claude mcp add io-github-ofershap-docker -- npx -y mcp-docker-server, then add the server to your MCP client's configuration.

Is io.github.ofershap/docker safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.ofershap/docker still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.