v1.0.6MCPread-onlydocker

🐳 dockroot-mcp

Virtual Docker Root for AI Agents. Give your agent read-only power over its own Docker stack — without host root.

docker_ps · docker_logs · docker_inspect · docker_stats · docker_networks
plus the full tavern connectivity toolkit (status, self_check, wire, rediscover, models, chat).

Why this exists

AI agents get asked "why is my Open WebUI broken?" constantly. Without docker access they flail — they invent commands, read the wrong configs, or hallucinate fixes. With dockroot-mcp the agent can:

  1. List the containers on its network (docker_ps)
  2. Read logs to find the real error (docker_logs)
  3. Inspect env / mounts / health (docker_inspect)
  4. Watch CPU/memory pressure (docker_stats)
  5. See the network topology (docker_networks)

Then it answers from evidence, not imagination. The Fixer sees the box.

The security model

Read-only by design. The MCP tool list contains ONLY read commands — no start/stop/rm/exec. The agent can diagnose, never destroy.
Opt-in. No socket mount, no docker access. The server still runs (it reports the docker error honestly).
Scoped. Keep it on an internal network. This is virtual root: the power of sight without the power of control.

Quick start

services:
  dockroot:
    image: jpanasuk/dockroot-mcp:latest
    container_name: dockroot
    restart: unless-stopped
    networks: [your-ai-network]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

Connect from Hermes

# ~/.hermes/config.yaml
mcp_servers:
  dockroot:
    command: python3
    args: ["/opt/dockroot/tavern_mcp.py"]

Then ask: "what containers are running?" or "why is code-server crash-looping?" — the agent calls mcp_dockroot_docker_ps / mcp_dockroot_docker_logs and answers from the actual stack.

Or expose through MCPO (Open WebUI ecosystem)

{
  "mcpServers": {
    "dockroot": { "command": "python3", "args": ["/opt/dockroot/tavern_mcp.py"] }
  }
}

Use cases

Devlog — 2026-08-10 · v1.0.6

Links

Docker Hub · Source repo · Basecamp

Built with the Basecamp project — Hermes Agent by Nous Research under the hood.