docker-mcp: Command for Claude Code

.claude/commands/docker-sdk.md

docker-sdk is a command for Claude Code from L337-org/docker-mcp. It costs 0 tokens per session (1,383 once invoked), scanned A, original, MIT.

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

Written for Claude Code: installed under .claude/.

This is L337-org/docker-mcp's own configuration. It tells Claude Code how to work on docker-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything docker-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to L337-org/docker-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/L337-org/docker-mcp/main/.claude/commands/docker-sdk.md
Clone the repo
git clone --depth 1 https://github.com/L337-org/docker-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-sdk

README.md
[![agentmods](https://agentmods.dev/badge/commands/l337-org/docker-mcp/docker-sdk/github.svg)](https://agentmods.dev/commands/l337-org/docker-mcp/docker-sdk)
Your own site
<a href="https://agentmods.dev/commands/l337-org/docker-mcp/docker-sdk"><img src="https://agentmods.dev/badge/commands/l337-org/docker-mcp/docker-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-sdk

Your own site · 80×15
<a href="https://agentmods.dev/commands/l337-org/docker-mcp/docker-sdk"><img src="https://agentmods.dev/badge/commands/l337-org/docker-mcp/docker-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.01383
Opus 5.5 $0.00000 $0.00553
Sonnet 5.5 $0.00000 $0.00277
Haiku 4.5 $0.00000 $0.00138

Measured 9d ago against content hash 7475d0404b6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 9d 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 · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 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 · 97 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. 9d ago Changed · +6 lines 7475d0404b6a
  2. 1mo 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 (9 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,383 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.