Repository navigation
YAMC MCP 0.1.0 (NeoForge 1.21.1)
First release of YAMC MCP, a client-side only NeoForge 1.21.1 mod that runs a Model Context Protocol server inside Minecraft so AI assistants like Claude Code can read and act on live game state. Servers don't need the mod.
Install
- Install NeoForge 21.1.x for Minecraft 1.21.1 and drop
yamcmcp-0.1.0.jarintomods/. - Launch the game and run
/yamcmcp connectin game. It copies theclaude mcp add ...command to your clipboard. - For pushed events, run
/yamcmcp connect channelinstead, then start Claude Code withclaude --dangerously-load-development-channels server:minecraft.
See the README for details.
Highlights (50 tools)
- Player: status, health, food, effects; full inventory with item components
- Registries: static, synced, and singleplayer server-only registries (structures, worldgen, loot tables), with namespace/query/regex/tag filters and paging. Data-driven entries are dumped as JSON with their own codecs, modded included.
- Tags: list tags, resolve members, reverse lookup
- Recipes (modded included): search by output, input or type; full recipe JSON; a crafting planner that works against your inventory; what's craftable now
- World: crosshair target, block info, area scan, block finder, nearby entities, open containers (furnaces, villager trades, ...), HUD
- Info: tooltips as rendered (mod lines included), advancements, stats, chat history, events, screenshots, JSON export
- Singleplayer: loot tables, structure info, locate structure/biome
- Actions (on by default; set
tools.enableActions=falseto turn off):- chat and commands, look, interact, mine, move, container clicks
- in-world highlight markers, player notifications
- Push notifications through a Claude Code channel (bundled stdio bridge): death, damage, dimension change, level up, ... Chat is opt-in because it's untrusted.
Notes
- The server listens on 127.0.0.1:25599 and requires a bearer token (
config/yamcmcp-token.txt). - Channels are a Claude Code research preview.
SHA-256 yamcmcp-0.1.0.jar: 6ae823af0036ef60ed87da786b87aaf69cdd569e975dfc12e07a265e698e6ca1