minecraft-mcp-server
by yuniko-software·★ 578·Score 51
Minecraft MCP server enabling AI assistants to control in-game characters through Mineflayer API.
Overview
This MCP server provides a comprehensive interface between AI models and Minecraft gameplay through the Model Context Protocol. It allows Claude and other compatible AI systems to control Minecraft characters in real-time, enabling complex interactions like building structures, exploring environments, and executing commands in the game world. The server implements various movement, inventory management, block interaction, and communication tools that map directly to Minecraft game mechanics.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you're looking to integrate AI capabilities with Minecraft for educational purposes, demonstrations of AI in game environments, or autonomous exploration and building within Minecraft.
When NOT to choose this
Don't choose this server if you need support for Minecraft versions beyond 1.21.11, or if you're looking for production-ready automation with robust error handling and extensive feature set.
Tools this server exposes
12 tools extracted from the READMEget-positionGet the current position of the bot in the Minecraft world
move-to-positionMove to specific coordinates in the world
look-atMake the bot look at specific coordinates
jumpMake the bot jump
move-in-directionMove in a specific direction for a duration
fly-toMake the bot fly directly to specific coordinates
list-inventoryList all items in the bot's inventory
find-itemFind a specific item in inventory
equip-itemEquip a specific item
place-blockPlace a block at specified coordinates
dig-blockDig a block at specified coordinates
get-block-infoGet information about a block
Comparable tools
Installation
Prerequisites
- Node.js (>= 20.10.0)
- A running Minecraft game (tested with Minecraft 1.21.8 Java Edition)
- An MCP-compatible client (Claude Desktop used in example)
Installation
- Open Minecraft and create a singleplayer world, then open to LAN (ESC -> Open to LAN)
- Install Claude Desktop and open
File -> Settings -> Developer -> Edit Config - In
claude_desktop_config.json, add the following MCP server configuration:
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}- Restart Claude Desktop completely
FAQ
- Which Minecraft versions are supported?
- Currently supports Minecraft version 1.21.11. Newer versions may not work but support will be added as soon as possible.
- Can I use this with AI clients other than Claude?
- Yes, this MCP server is designed to work with any MCP-compatible client, not just Claude Desktop.
Compare minecraft-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.