# Repository Briefing: yuniko-software/minecraft-mcp-server
> Source: https://repoforai.com/repo/yuniko-software/minecraft-mcp-server (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/yuniko-software/minecraft-mcp-server
- **Official Docs / Website**: https://yuniko.software/mcp-server/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: B (53/100 · Maintenance 6/35 · Adoption 16/25 · Releases 11/20 · License 20/20)
- **Latest Release**: 2.0.4 (2026-02-26) — https://github.com/yuniko-software/minecraft-mcp-server/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 848 ★ total (+2 24h / +14 7d) · 113 forks
- **Topics**: `artificial-intelligence`, `claude`, `javascript`, `large-language-models`, `mcp`, `mcp-server`, `minecraft`, `modelcontextprotocol`, `natural-language-processing`, `nodejs`, `typescript`
- **When to Use**: Best for: Prototyping an MCP assistant in a controlled Minecraft Java world, with natural-language exploration, small builds, and interactive demonstrations. Skip if: You need deterministic bulk builds, explicit task recovery, support for a newer unverified game version, or server administration rather than player-level actions.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Integration: An MCP client launches the Node.js CLI, and Mineflayer joins the game as a bot player.
- Navigation: `mineflayer-pathfinder` supports coordinate-based movement; `move-to-position` gained an optional timeout in 2.0.3.
- World interaction: Tools cover nearby block lookup, placement, digging, inventory inspection, equipping items, and furnace smelting.
- Game state: Exposes position, nearest-entity lookup by type, recent player chat, and game-mode detection.
- Input handling: 2.0.4 adds coordinate coercion across tool handlers.
- Compatibility: Minecraft Java Edition 1.21.11 is the current support target; newer versions are not guaranteed to work.
```

## Quick Start / Clone
```bash
{
  "mcpServers": {
    "minecraft": {
      "command": "npx",
      "args": [
        "-y",
        "github:yuniko-software/minecraft-mcp-server",
        "--host",
        "localhost",
        "--port",
        "25565",
        "--username",
        "ClaudeBot"
      ]
    }
  }
}
```
