MCPMC (Minecraft MCP)
Enables AI agents to control Minecraft bots through a standardized JSON-RPC interface.
What is MCPMC (Minecraft MCP)?
MCPMC (Minecraft MCP) is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai agents to control minecraft bots through a standardized json-rpc interface.
Enables AI agents to control Minecraft bots through a standardized JSON-RPC interface.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enables AI agents to control Minecraft bots through a standa
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcpmc-minecraft-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCPMC (Minecraft MCP)
MCPMC (Minecraft Model Context Protocol) is an MCP server built on the Mineflayer bot framework that enables AI agents to control Minecraft bots through a standardized JSON-RPC interface. It exposes tools for navigating to coordinates, digging and placing blocks, managing inventory, following players, attacking entities, inspecting blocks, and finding blocks by type. Game automation enthusiasts and AI researchers use it to build AI-driven Minecraft agents that can explore, build, and interact with the game world through natural language instructions.
Prerequisites
- Node.js 18 or higher (or Bun for development)
- A running Minecraft Java Edition server (or single-player world with LAN sharing enabled)
- An MCP-compatible client such as Claude Desktop or Claude Code
- npm or yarn for installation
Install the mcpmc package
Install the package globally via npm to make the mcpmc binary available on your PATH.
npm install -g @gerred/mcpmc
# Or with yarn:
yarn global add @gerred/mcpmcStart a Minecraft server
The bot needs a Minecraft Java Edition server to connect to. Start your server or enable LAN sharing in single-player mode. Note the server host and port (default 25565).
Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) to add the mcpmc server.
{
"mcpServers": {
"minecraft": {
"command": "mcpmc",
"args": []
}
}
}Restart Claude Desktop
Quit and reopen Claude Desktop to load the new server. The mcpmc binary starts when Claude first calls a tool.
Connect a bot to your Minecraft server
Use Claude to connect a bot by calling the connect tool with your server details. The bot will join the game and appear as a player.
MCPMC (Minecraft MCP) Examples
Client configuration (Claude Desktop)
Standard Claude Desktop configuration for the MCPMC server. No API keys required — the bot connects directly to the Minecraft server.
{
"mcpServers": {
"minecraft": {
"command": "mcpmc",
"args": []
}
}
}Prompts to try
Use these prompts to control a Minecraft bot through Claude after connecting to a server.
- "Connect a bot named ClaudeBot to my Minecraft server at localhost:25565."
- "Navigate the bot to coordinates x=100, y=64, z=200."
- "Find all diamond ore blocks within 32 blocks of the bot's current position."
- "Dig the block at position x=50, y=60, z=50."
- "Follow player Steve at a distance of 3 blocks."
- "Send a chat message: 'Hello from Claude!'."
- "Inspect the block at x=0, y=63, z=0 and tell me what type it is."Troubleshooting MCPMC (Minecraft MCP)
The bot connects but immediately disconnects from the server
Ensure the Minecraft server is in offline mode (online-mode=false in server.properties) if you are using a username that is not a valid Mojang account. For authenticated servers, the bot username must match a valid account.
mcpmc command not found after npm global install
Check that npm's global bin directory is on your PATH. Run 'npm config get prefix' to find the prefix, then add the bin subdirectory to your PATH. On macOS this is typically /usr/local/bin or ~/.npm-global/bin.
Navigation fails or the bot gets stuck
The pathfinding uses Mineflayer's pathfinder plugin, which requires walkable terrain. Ensure the destination coordinates are accessible and not inside solid blocks. For long-distance navigation, break it into shorter segments using navigate_relative instead of absolute coordinates.
Frequently Asked Questions about MCPMC (Minecraft MCP)
What is MCPMC (Minecraft MCP)?
MCPMC (Minecraft MCP) is a Model Context Protocol (MCP) server that enables ai agents to control minecraft bots through a standardized json-rpc interface. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCPMC (Minecraft MCP)?
Follow the installation instructions on the MCPMC (Minecraft MCP) GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCPMC (Minecraft MCP)?
MCPMC (Minecraft MCP) works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCPMC (Minecraft MCP) free to use?
Yes, MCPMC (Minecraft MCP) is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
MCPMC (Minecraft MCP) Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCPMC (Minecraft MCP)? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCPMC (Minecraft MCP) in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCPMC (Minecraft MCP)?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.