Skip to main content

Docker MCP Guardian

io.github.SivaSaiKrishnaSuryadevara/docker-mcp-guardian

v0.2.1Updated Dec 3, 2026stdio · Dockerstdio · PyPI

Read-only-by-default Docker MCP server: inspect, logs and gated restarts with secret redaction.

We earn commissions when you shop through the links below.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add docker-mcp-guardian -e GUARDIAN_ALLOW_WRITE=false -- uvx docker-mcp-guardian==0.2.1

Configuration

6 settings.

  • DOCKER_HOST
    Env var· optional
    Docker socket, e.g. unix:///run/user/1000/docker.sock (rootless) or unix:///Users/you/.docker/run/docker.sock (Docker Desktop)
  • GUARDIAN_ALLOW_WRITE
    Env var· optional
    Set to true to enable safe_restart_container (read-only by default)Default: false
  • GUARDIAN_DOCKER_TIMEOUT
    Env var· optional
    Seconds before any Docker API call times outDefault: 5
  • --rm
    Argument· optional
    No description.
  • -i
    Argument· optional
    No description.
  • -v
    Argument· optional
    No description.
We earn commissions when you shop through the links below.

Listed in the official MCP Registry since Dec 3, 2026. Mirrored daily; last checked Dec 3, 2026.