MCP Server Policy

DOCKER MCP POLICY

Enforce policies on every tool call to the Docker MCP Server. 19 tools listed, categorised, and ready for rules.

ckreiling/mcp-server-docker 5 read 14 write 19 tools total
docker containers images volumes networks

GET STARTED

Download this policy scaffold and add your rules. Intercept enforces them on every tool call before it reaches Docker.

terminal

# Download policy scaffold

curl -o docker.yaml https://raw.githubusercontent.com/policylayer/intercept/main/policies/docker.yaml

# Run with Intercept

intercept --policy docker.yaml -- npx -y @ckreiling/mcp-server-docker

Server documentation: https://github.com/ckreiling/mcp-server-docker

READ TOOLS

5

WRITE TOOLS

4

DESTRUCTIVE TOOLS

4

EXECUTE TOOLS

1

OTHER TOOLS

5

POLICY YAML

This scaffold lists every tool with empty rules. Add conditions — rate limits, argument validation, deny rules — then deploy with Intercept.

docker.yaml
version: "1"
description: "Policy for ckreiling/mcp-server-docker"
default: "allow"
tools:
    fetch_container_logs:
        rules: []
    list_containers:
        rules: []
    list_images:
        rules: []
    list_networks:
        rules: []
    list_volumes:
        rules: []
    create_container:
        rules: []
    create_network:
        rules: []
    create_volume:
        rules: []
    push_image:
        rules: []
    run_container:
        rules: []
    remove_container:
        rules: []
    remove_image:
        rules: []
    remove_network:
        rules: []
    remove_volume:
        rules: []
    build_image:
        rules: []
    pull_image:
        rules: []
    recreate_container:
        rules: []
    start_container:
        rules: []
    stop_container:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

What tools does the Docker MCP server expose?

The Docker MCP Server exposes 19 tools across 5 categories: Read, Write, Execute, Destructive, Other. Each tool can be individually controlled with Intercept policies.

How do I enforce policies on Docker?

Download the policy scaffold, add rules (rate limits, argument validation, deny rules), then run Intercept as a proxy in front of the Docker MCP server. Every tool call is evaluated against your YAML policy before execution.

Is the Docker policy free to use?

Yes. All Intercept policies are open source under the Apache 2.0 licence. Download, modify, and deploy without restrictions.

ENFORCE POLICIES ON DOCKER

Open source. One binary. Zero dependencies.