docker-mcp: Instructions file for Codex

AGENTS.md

docker-mcp AGENTS.md is an instructions file for Codex, OpenCode from L337-org/docker-mcp. It costs 9,295 tokens per session, scanned A, original, MIT.

A repository instruction file for docker-mcp, a Python server that makes Docker functions available to assistants through tools.

In plain words
What is it for?
Use it when reviewing or changing the docker-mcp project, its instructions, commands, or project areas.
Why use it?
It tells contributors what to check first, including inaccurate documentation, ineffective safeguards, and outdated lists.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is L337-org/docker-mcp's own configuration. It tells Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/L337-org/docker-mcp

Made for: Codex, OpenCode.

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-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/l337-org/docker-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/l337-org/docker-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/l337-org/docker-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/l337-org/docker-mcp/agents-md/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-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/l337-org/docker-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/l337-org/docker-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,295 This file is loaded in full into every session.
When invoked 9,295 The same file — it is already loaded in full.
Security scan A 1 finding. 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.09295 $0.09295
Opus 5.5 $0.03718 $0.03718
Sonnet 5.5 $0.01859 $0.01859
Haiku 4.5 $0.00929 $0.00929

Measured 6d ago against content hash 3d2f151459a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker-mcp AGENTS.md scanned grade A with 1 finding 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| `_cli.py`, `_ssh_proxy.py`, CLI-backed tools | [architecture/cli-shell-out.md](architecture/cli-shell-out.md) | `subprocess.run` called directly; `shell=True`; a missing `timeout=`; the remote-exec fallback preferred o
AGENTS.md · 506 lines

How it starts

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

AGENTS.md

The shared instruction file for this repository. Every assistant reads this one; CLAUDE.md and .github/copilot-instructions.md are pointers to it.

docker-mcp is a Python MCP server (requires Python >=3.14) managed with uv that exposes the Docker SDK for Python as MCP tools. The entry point is the docker_mcp package, run with python -m docker_mcp or via the installed console script.

Review priorities

Ordered by where real defects in this project have actually come from. Spend review effort in this order.

  1. Claims in prose that nothing type-checks. Docstrings, docs and comments asserting a method, flag, route or identifier semantics that does not exist. Three scout tools shipped a --format flag the subcommand does not define; a docstring claimed buildx resolves --file against the build context when it resolves against the CWD. Verify against the primary source, not recollection.
  2. A guard that silently stops guarding. See the invariant list below. These pass CI, pass review at a glance, and fail in production or never fail loudly at all.
  3. Enumerations that drift. Any list of domains, tools, channels or files that is copied rather than derived. Derive it, or assert it.
  4. Unbounded reads of anything external. Daemon streams, registry bodies, staged files, CLI output.
  5. Docstring quality on any touched @tool() - the ratchet in the checklist below.
  6. Everything else.

Area checks

Read the linked file before judging a substantive change to that area.

Area Read Watch for
server.py, docker_mcp/tools/ architecture/server.md _slim_schema or _apply_host_schema changing validation rather than display; a disabled capability registered-then-refusing instead of absent
_hosts.py, host selection architecture/hosts.md use_context=False dropped; system_reconnect gaining the ability to retarget an arbitrary URL; a write path that no longer requires an explicit host in multi-host mode
_cli.py, _ssh_proxy.py, CLI-backed tools architecture/cli-shell-out.md subprocess.run called directly; shell=True; a missing timeout=; the remote-exec fallback preferred over a usable local CLI; staging consequences absent from the docstring
any @tool() docstring architecture/tool-descriptions.md the checklist below
code calling docker architecture/docker-sdk.md an unverified method; a hand-built route that is not in the Engine API spec; a reach-in past the public SDK introduced without recorded sign-off
Dockerfile, manifest.json, server.json, claude-plugin/, release workflows architecture/distribution.md a version-declaring file missing from the bump checklist there, preflight, or the version tests; a registry ownership marker no longer matching server.json's name
skills/l337-docker/ architecture/agent-skill.md the skill described as equivalent to the server; tool-permission frontmatter added; a hand-edited figure in MCP_VS_SKILLS.md
.github/workflows/ architecture/ci.md a third-party uses: naming a tag or branch (L337-org/github-workflows is named at its major-version tag); a new job without timeout-minutes where the workflow requires one

Read the full file on GitHub · 506 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. 6d ago Changed · +17 tokens per session 3d2f151459a5
  2. 7d ago Changed · +3 lines · +57 tokens per session 00dffaf5d145
  3. 8d ago Changed · +10 lines · +249 tokens per session 57d71d051736
  4. 13d ago Changed · -2 lines · -103 tokens per session b0a6f71c214c
  5. 14d ago Changed · +3 lines · +82 tokens per session 0babd6992443
  6. 20d ago Changed · -2 lines · -48 tokens per session 75a6d14c6b9f
  7. 1mo ago Changed · +6 lines · +112 tokens per session 2ba0197d8a8a
  8. 1mo ago Changed · +13 lines · +111 tokens per session 47687e343dcb
  9. 1mo ago Changed · +48 lines · +713 tokens per session bc13b3e07127
  10. 1mo ago First seen · 427 lines · 8,105 tokens per session scan A 0f5380a9e8f8

Subscribe to this mod's changes

docker-mcp AGENTS.md is an instructions file published in the GitHub repository L337-org/docker-mcp (9 stars, last pushed 5d ago), licensed MIT. It adds 9,295 tokens to every session, about $0.0372 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,384 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens