yuniko-software/minecraft-mcp-server
A Mineflayer-backed MCP server for assistant control of Minecraft Java bots
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
The project is a TypeScript MCP server that translates assistant tool calls into actions by a Mineflayer bot. The MCP client starts the minecraft-mcp-server CLI; the process connects to the game using the configured host, port, and username. The assistant decides which tools to call and in what order, while the bot reports game state and executes individual actions.
The runtime dependencies include @modelcontextprotocol/sdk for MCP and mineflayer-pathfinder for navigation, alongside minecraft-data and vec3 for game data and coordinates. The package also includes yargs and zod for argument handling and validation. The integration surface is the MCP tool set rather than a model runtime: Claude Desktop is the worked example, but it is not required if another client can launch the server and invoke its tools.
Key Capabilities & Differentiators
The tool set covers both observation and control. An assistant can read the bot's position, inspect blocks, search for nearby blocks or the nearest entity of a given type, check inventory and game mode, and read recent player chat. It can also move to coordinates, change its view, jump, move in a direction for a duration, request direct flight, equip items, place or dig blocks, smelt items, and send chat.
These are individual operations, not a high-level construction API. A build request has to be decomposed into steps such as checking materials, reaching the site, placing blocks, and inspecting the result. The image-based building example supplies the reference image to the assistant; the server does not expose an image-to-structure tool. Minecraft Java Edition 1.21.11 is the current support target, and newer versions may not connect or behave as expected.
Trade-offs & Limitations
Compared with scripting Mineflayer directly, the MCP layer lets an existing assistant inspect and manipulate the world without a custom natural-language integration. The cost is that the assistant chooses the sequence of calls. A short prompt can turn into many actions, and a movement timeout limits a single call rather than providing task-level recovery. For repeatable builds or explicit failure handling, a dedicated script gives the developer more control. Server commands are a separate option when the goal is administration rather than controlling a player character.
The bridge itself does not host a model or specify a GPU requirement. Size the Node.js process separately from Minecraft and from any model the client runs locally, and measure pathfinding overhead in the intended world. Start in a test world: placement and digging alter shared state, and the bot can read player chat and send messages. Apache-2.0 permits reuse of the bridge, but Minecraft and the assistant stack have separate terms.
Hardware & Deployment Guide
Install Git and Node.js 20.10.0 or newer, and have a Minecraft Java world and an MCP-compatible client ready. For a local test, open a single-player world to LAN. Configure the client to launch npx -y github:yuniko-software/minecraft-mcp-server with --host localhost, --port 25565, and --username ClaudeBot, replacing the host and port with the actual endpoint. In Claude Desktop, edit claude_desktop_config.json and restart the application fully. The LAN walkthrough was tested on 1.21.8; that is distinct from the current 1.21.11 support target.
The bridge runs locally in this setup, but the GitHub-based launch can require network access to fetch the package and its dependencies. Local execution also does not make model inference offline; that depends on the MCP client and model configuration. Release 2.0.3 added optional movement timeouts and furnace smelting. Release 2.0.4 added coordinate input coercion across tool handlers. For reproducible deployments, test a specific revision against the exact client and Minecraft version you plan to run.
mineflayer-pathfinder supports coordinate-based movement; move-to-position gained an optional timeout in 2.0.3.Prototyping an MCP assistant in a controlled Minecraft Java world, with natural-language exploration, small builds, and interactive demonstrations.
You need deterministic bulk builds, explicit task recovery, support for a newer unverified game version, or server administration rather than player-level actions.
Quick Start & Installation
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| minecraft-mcp-server ★ | 848 | +14 | TypeScript | Apache-2.0 | A Mineflayer-backed MCP server for assistant control of Minecraft Java bots |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/yuniko-software/minecraft-mcp-server.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about minecraft-mcp-server
How does the assistant connect to the Minecraft world?
minecraft-mcp-server CLI through npx. The process connects a Mineflayer bot to the game using --host, --port, and --username. The assistant calls MCP tools; the bot executes the resulting actions as a player in the world.What hardware should I budget for?
Can I self-host it for commercial use?
When should I use this instead of writing a Mineflayer bot?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy