Borrowing it
Nothing to install: this file belongs to scotteratigan/minecraft-rcon-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.
curl -O https://raw.githubusercontent.com/scotteratigan/minecraft-rcon-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/scotteratigan/minecraft-rcon-mcpWrote 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.
[](https://agentmods.dev/instructions/scotteratigan/minecraft-rcon-mcp/claude-md)<a href="https://agentmods.dev/instructions/scotteratigan/minecraft-rcon-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/scotteratigan/minecraft-rcon-mcp/claude-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.
<a href="https://agentmods.dev/instructions/scotteratigan/minecraft-rcon-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/scotteratigan/minecraft-rcon-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01008 | $0.01008 |
| Opus 5 | $0.00504 | $0.00504 |
| Sonnet 5 | $0.00202 | $0.00202 |
| Haiku 4.5 | $0.00101 | $0.00101 |
Grade A, and why
minecraft-rcon-mcp CLAUDE.md 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
minecraft-rcon-mcp — agent guide
This package is a server-agnostic MCP server (RCON tool + in-game AI chat) plus a toolbox of scripts. Nothing here may hardcode knowledge of a particular server, world, player, or save location — that all comes from environment variables / arguments so the package stays reusable. Deployment-specific facts live in the consumer (server) repo, never here.
For how to run things and the full env-var reference, see README.md.
How to write a script
The goal is a toolbox of small, orthogonal primitives that compose efficiently, plus a few recipes that show how to combine them. Before writing a new script, decide which layer it belongs to:
- Primitive →
src/minecraft_rcon_mcp/scripts/. Does one general thing, reusable across many tasks (e.g.count_entities,find_block_entities,check_chunk_generated). No task-specific logic, no version-coupled constants. - Recipe →
src/minecraft_rcon_mcp/recipes/. A specific task composed from primitives (e.g.reset_trial_spawners=find_block_entities+rcon). May be coupled to a Minecraft version's mechanics — say so in the docstring.
Prefer composition over new scripts. If a task is just two or three primitive
calls, record it as a recipe in agent_memory/capabilities.md (capability
memory) rather than adding a file. Only add a recipe module when it carries real
logic worth keeping (parsing, thresholds, multi-step orchestration).
Authoring checklist
- Server-agnostic. No hardcoded worlds, players, coordinates, or paths.
- RCON:
RCON_HOST/RCON_PORT/RCON_PASSWORD(usescripts.rcon.RconClient). - World save files: resolve via
scripts._world.resolve_world_dir()(readsWORLD_DIRor a--world-dirarg). The world path cannot be derived over RCON. - Dimension: take
--dimension(defaultoverworld) and resolve region dirs withscripts._world.region_dir(world_dir, dimension)— it handles vanilla (DIM-1/DIM1) and data-driven (dimensions/<ns>/<name>/) layouts plus aliases. Never hardcode a single dimension.
- RCON:
- Reuse the shared helpers — don't reimplement RCON, region/NBT parsing, or
entity counting:
scripts.rcon—RconClient,run.scripts._world—resolve_world_dir,region_dir.scripts.count_entities—count_entities(rc, selector, at=...),parse_count.scripts.find_block_entities—scan_block_entities(...)for region scans.
- Module + importable API. Make it runnable as
python -m minecraft_rcon_mcp.<scripts|recipes>.<name>and expose a plain function (not just a CLI) so the MCP server and other scripts can call it directly. This is what will let the in-game agent run scripts later (roadmap). - Version coupling lives in recipes, flagged in the docstring (e.g. "gates verified against 26.1 bytecode; may drift across versions").
- Quality gates (all must pass — see README → Development):
ruff format+ruff check(line length 100).ty check(annotate enough that it passes; guard__doc__as(__doc__ or "")).pytest— add tests for pure logic (parsers, path resolution, selector building) using fakes; don't require a live server.- Add any new dependency to
pyproject.toml.
- Docstring with a one-line purpose and copy-pasteable usage examples (use
neutral placeholders like
/path/to/world,Steve— never this deployment's real world/player names).
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.
- 11d ago First seen · 73 lines · 1,008 tokens per session scan A c1e15ccc84f7
minecraft-rcon-mcp CLAUDE.md is an instructions file published in the GitHub repository scotteratigan/minecraft-rcon-mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 1,008 tokens to every session, about $0.0050 per session on Opus 5. 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.
Other instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
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.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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).
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).