Best for
- Users who want to experience AI-driven automated players in Minecraft
- Users using Claude Desktop or compatible MCP clients
This project provides a feature-rich MCP server for Minecraft, integrated with Mineflayer, enabling AI to control characters in real-time. Installation is straightforward, but there are version limitations and potential control risks.
This is a Minecraft MCP server powered by the Mineflayer API. It allows AI assistants like Claude to control a Minecraft character in real-time, enabling them to build structures, explore the world, and interact with the game environment through natural language instructions. Currently supports Minecraft version 1.21.11.
Ensure Node.js >= 20.10.0 and Git are installed. Run Minecraft, create a singleplayer world and open it to LAN (ESC -> Open to LAN). Install Claude Desktop, open File -> Settings -> Developer -> Edit Config. Add the MCP server configuration to claude_desktop_config.json (see install_config). Restart Claude Desktop; the bot will join the game automatically.
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}