minecraft-debug-mcp

minecraft-debug-mcp is a skill for Codex from moeru-ai/airi. It costs 68 tokens per session (1,035 once invoked), scanned A, original, MIT.

A procedure for operating and debugging a live Minecraft bot through its local MCP interface, a server that lets tools inspect and interact with the running program.

In plain words
What is it for?
It helps start the bot, verify readiness, inspect state and history, simulate chat or events, and run small debugging commands.
Why use it?
It provides a cautious order for checking the bot's state and logs before performing actions that may affect the game.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps start the bot, verify readiness, inspect state and history, simulate chat or events, and run small debugging commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moeru-ai/airi/minecraft-debug-mcp
About the project

AIRI is a self-hosted virtual AI companion that gives an AI character a voice, visual presence, memory, and the ability to interact with games and coding activity. People use it as a personal digital companion on the web, macOS, or Windows, including for voice chat and gameplay. The catalogue add-ons provide workflows for working with the AIRI project.

moeru-ai/airi · 48,901 stars · on GitHub · airi.moeru.ai

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.

Any agent
npx skills add moeru-ai/airi --skill minecraft-debug-mcp
Clone the repo
git clone --depth 1 https://github.com/moeru-ai/airi

Made for: Codex.

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 minecraft-debug-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/moeru-ai/airi/minecraft-debug-mcp.svg)](https://agentmods.dev/skills/moeru-ai/airi/minecraft-debug-mcp)
Your own site
<a href="https://agentmods.dev/skills/moeru-ai/airi/minecraft-debug-mcp"><img src="https://agentmods.dev/badge/skills/moeru-ai/airi/minecraft-debug-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 40
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
How audits are shown
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.00068 $0.01035
Opus 5 $0.00034 $0.00517
Sonnet 5 $0.00014 $0.00207
Haiku 4.5 $0.00007 $0.00103

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

Security

Grade A, and why

minecraft-debug-mcp 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 8d 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.

integrations/minecraft/codex-skills/minecraft-debug-mcp/SKILL.md · 77 lines

How it starts

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

Minecraft Debug MCP

Overview

Use this skill to run the local bot and interact with its MCP debug interface safely and quickly.

Quick Start Workflow

  1. Run pnpm dev from /path/to/project/root/integrations/minecraft and keep it running.
  2. Wait for MCP REPL server running at http://localhost:3001 in logs.
  3. Connect MCP client to http://localhost:3001/sse.
  4. Verify readiness with a read-only call:
    • Read resource brain://state, or
    • Call tool get_state.
  5. Continue with the smallest tool/action that answers the task.

Execution Rules

  • Start read-only, then escalate to mutation tools only when needed.
  • Prefer get_state, get_last_prompt, and get_logs for diagnostics before execute_repl.
  • Prefer get_llm_trace for structured per-attempt reasoning/content inspection.
  • Keep execute_repl snippets minimal and reversible.
  • Use inject_chat for conversational simulation and inject_event only when specific event-shape testing is required.
  • Treat inject_chat as side-effectful: it can trigger actual in-game bot replies/actions.
  • If MCP connection fails, check that pnpm dev is still running and port 3001 is free.

Tooling Strategy

  • Use get_state to inspect queue/processing state and available tools/actions (skips REPL builtins by default; pass { includeBuiltins: true } to include them).
  • Use get_logs with a small limit first.
  • Use get_last_prompt to inspect latest LLM input.
  • Use execute_repl for deep object inspection or one-off targeted calls on the running brain.
  • Use inject_chat to simulate player chat and verify behavior loop.
  • Use get_llm_trace to assert REPL behavior in automation (for example, detect repeated await skip() on specific events).
  • Use execute_repl("forget_conversation()") to clear conversation memory before prompt-engineering tests.

Read references/mcp-surface.md for exact tool/resource names and argument schemas.

Live-Tested Notes

  • get_state returns available tools/actions and runtime state (skips REPL builtins like skip, use, log by default to reduce noise; pass { includeBuiltins: true } if you need to inspect them).
  • get_last_prompt can return very large payloads; call only when prompt-level debugging is needed.
  • execute_repl returns a structured result where returnValue is stringified; parse mentally as display output, not typed JSON.
  • get_logs(limit=10) is enough to verify whether an injected event reached REPL/executor.
  • get_llm_trace(limit, turnId?) gives structured attempt-level trace data (messages, content, reasoning, usage, duration).
  • get_last_prompt and get_llm_trace are compacted for MCP: system prompt/system-role messages are omitted to reduce token cost.
  • Prefer compact value reads in REPL:
    • query.self() for bot status.
    • query.inventory().has(name, n) / query.inventory().count(name) for checks.
    • query.inventory().summary() for stable aggregated item output.
    • query.snapshot(range?) for one-shot world+inventory capture.
  • forget_conversation() is available as a runtime function in REPL/global context and clears only conversation memory.
  • Current prompt behavior supports two-turn value-first flows: read/query turn returns concrete data first, follow-up turn performs chat/action using that returned value.

Read the full file on GitHub · 77 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 77 lines · 68 tokens per session scan A e17815596228

Subscribe to this mod's changes

minecraft-debug-mcp is a skill published in the GitHub repository moeru-ai/airi (48,901 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,035 once invoked, about $0.0003 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-30.