MCP directory
DM

Docker MCP Guardian

by github.com/SivaSaiKrishnaSuryadevara · v0.1.1 · updated Dec 2, 2026

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

PyPIDocker

Run it locally

Install the package and point your AI client at it.

PyPI

uvx docker-mcp-guardian==0.1.1

Environment variables

  • DOCKER_HOST

    Docker socket, e.g. unix:///run/user/1000/docker.sock (rootless) or unix:///Users/you/.docker/run/docker.sock (Docker Desktop)

  • GUARDIAN_ALLOW_WRITE

    Set to true to enable safe_restart_container (read-only by default)

Docker

docker run -i --rm ghcr.io/sivasaikrishnasuryadevara/docker-mcp-guardian:0.1.1

Environment variables

  • DOCKER_HOST

    Docker endpoint inside the container

  • GUARDIAN_ALLOW_WRITE

    Set to true to enable safe_restart_container (read-only by default)

  • GUARDIAN_DOCKER_TIMEOUT

    Seconds before any Docker API call times out

More MCP servers