docker-sdk

A review procedure for checking planned Docker SDK for Python usage against the SDK’s official documentation. Docker is a platform for running applications in isolated containers.

In plain words
What is it for?
Validating code that works with Docker clients, containers, images, volumes, networks, services, secrets, configs, nodes, or Swarm.
Why use it?
It helps confirm that proposed SDK classes and functions really exist and reveals Docker features that this MCP server does not expose.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/l337-org/docker-mcp/docker-sdk
Clone the repo
git clone --depth 1 https://github.com/L337-org/docker-mcp

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,104 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01104
Opus 5 $0.00000 $0.00552
Sonnet 5 $0.00000 $0.00221
Haiku 4.5 $0.00000 $0.00110

Measured 2d ago against content hash bf1e0d56e3ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docker-sdk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/docker-sdk.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker SDK Reference Check

This skill fetches and cross-references the Docker SDK for Python documentation to:

  1. Verify that any SDK function or class you plan to use actually exists
  2. Identify which SDK features are not yet exposed in this MCP server

Instructions

When invoked (with or without a specific topic argument), do the following steps IN ORDER. Do not skip steps.

Step 1 - Fetch the SDK documentation

Fetch the top-level API reference to get the list of available modules:

If the user passed an argument (e.g., /docker-sdk containers), only fetch the page(s) relevant to that topic.

Step 2 - Inventory what this MCP server currently exposes

The project structure maps SDK domains to tool files one-to-one:

docker_mcp/tools/ file tests/ file Docker SDK domain
docker_mcp/tools/system.py tests/test_system.py DockerClient
docker_mcp/tools/containers.py tests/test_containers.py Containers
docker_mcp/tools/images.py tests/test_images.py Images
docker_mcp/tools/networks.py tests/test_networks.py Networks
docker_mcp/tools/volumes.py tests/test_volumes.py Volumes
docker_mcp/tools/configs.py tests/test_configs.py Swarm Configs
docker_mcp/tools/nodes.py tests/test_nodes.py Swarm Nodes
docker_mcp/tools/plugins.py tests/test_plugins.py Plugins
docker_mcp/tools/prompts.py tests/test_prompts.py @mcp.prompt() templates for common docker workflows
docker_mcp/tools/resources.py tests/test_resources.py @mcp.resource() endpoints for the Docker SDK for Python docs
docker_mcp/tools/secrets.py tests/test_secrets.py Swarm Secrets
docker_mcp/tools/services.py tests/test_services.py Swarm Services
docker_mcp/tools/swarm.py tests/test_swarm.py Swarm

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 91 lines · 0 tokens per session scan A bf1e0d56e3ce

Subscribe to this mod's changes

docker-sdk is a command published in the GitHub repository L337-org/docker-mcp (4 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,104 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

web3-audit

Smart contract security audit — runs through 10 bug class checklist (accounting desync, access control, incomplete path, off-by-one, oracle errors, ERC4626, reentrancy, flash loan, signature replay, proxy/upgrade). Applies pre-dive kill signals first. Generates Foundry PoC template for confirmed findings. Usage…

guib1/red-team-docker · 0 tokens

recon

Run full recon pipeline on a target — subdomain enum (Chaos API + subfinder), live host discovery (dnsx + httpx), URL crawl (katana + waybackurls + gau), gf pattern classification, nuclei scan. Outputs to recon/ / directory. Usage: /recon target.com.

guib1/red-team-docker · 0 tokens

report

Write a submission-ready bug bounty report. Generates H1/Bugcrowd/Intigriti/Immunefi format with CVSS 3.1 score, proof of concept, impact statement, and remediation. Run /validate first. Usage: /report.

guib1/red-team-docker · 0 tokens

scope

Check if a target asset is in scope for the program before hunting or submitting. Reads program scope page, checks asset against in-scope and out-of-scope lists, verifies the asset is owned by the target organization. Usage: /scope.

guib1/red-team-docker · 0 tokens

triage

Quick 7-Question Gate triage on a finding before writing a report. Kills N/A submissions before they happen. Faster than /validate — for quick go/no-go decisions. Usage: /triage.

guib1/red-team-docker · 0 tokens

validate

Validate a finding — runs 7-Question Gate + 4-gate checklist. Kills weak findings before report writing. Prevents N/A submissions that hurt validity ratio. Usage: /validate.

guib1/red-team-docker · 0 tokens