About Minecraft
Minecraft is an MCP server published by arjunkmrm in the Developer Tools category: ask an AI about your Minecraft server and let it run it: players, worlds, stats, and live events.
The repository has 102 stars and 10 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
claude mcp add minecraft -- npx -y @mairwunnx/minecraft-mcpnpx -y @mairwunnx/minecraft-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (21)
attackAttack a nearby entity by name
Parameters not published.
chatSend chat messages to the server
Parameters not published.
digBlockBreak a block at specified coordinates
Parameters not published.
equipItemEquip an item by name to specified destination
Parameters not published.
followPlayerFollow a specific player
Parameters not published.
getBlockInfoGet information about a block at specified coordinates
Parameters not published.
getInventoryGet contents of bot's inventory
Parameters not published.
getNearbyEntitiesGet list of nearby entities within range
Parameters not published.
getStatusGet bot's current status (health, food, position, etc.)
Parameters not published.
goToPositionNavigate to specific coordinates
Parameters not published.
Show all 21 tools
jumpMake the bot jump
Parameters not published.
lookAtMake the bot look at specific coordinates
Parameters not published.
moveBackMake the bot move backward
Parameters not published.
moveForwardMake the bot move forward
Parameters not published.
placeBlockPlace a block at specified coordinates
Parameters not published.
selectSlotSelect a hotbar slot (0-8)
Parameters not published.
stopFollowingStop following current target
Parameters not published.
stopUsingItemStop using/deactivate the current item
Parameters not published.
turnLeftMake the bot turn left
Parameters not published.
turnRightMake the bot turn right
Parameters not published.
useItemUse/activate the currently held item
Parameters not published.
Ask AI
Ask AI about Minecraft
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Minecraft MCP Integration
A Model Context Protocol (MCP) integration for Minecraft that enables AI assistants to interact with a Minecraft server. This integration allows AI models to observe and interact with the Minecraft world through a bot.

Prerequisites
- Minecraft Launcher
- Node.js 18 or higher
- Claude Desktop App
- Java 21.0.5 (recommended)
⚠️ Note: Currently only tested on macOS/Linux. Windows compatibility is not guaranteed.
Important Note
- Use the F3+P Shortcut: Press F3 + P together. This toggles the "Pause on Lost Focus" feature. Once turned off, you can switch to claude desktop and Minecraft will continue running without pausing.

- Connection Issues on Claude Restart: If you restart Claude while the Minecraft server is running, you may experience MCP connection issues on the next claude launch due to lingering java process. See Troubleshooting: MCP Connection Failed for resolution steps.
Installation Steps
-
Download and Setup Minecraft Server
- Download Minecraft server v1.21 from mcversions.net/1.21
- Install Java 21.0.5 if not already installed (other versions are untested)
- Create a dedicated directory (e.g.,
~/minecraft-server/) - Place the downloaded
server.jarfile in this directory - Note down the absolute path to your
server.jarfile
-
Install and Configure MCP Integration
Quick Install (Recommended):
npx -y @smithery/cli install mcp-minecraft --client claudeFollow the CLI prompts to complete the setup.
Or Manual Setup:
- Navigate to
~/Library/Application Support/Claude/claude_desktop_config.json - Add the MCP server configuration:
{ "mcpServers": { "mcp-minecraft": { "command": "npx", "args": [ "-y", "mcp-minecraft@latest", "--server-jar", "/absolute/path/to/minecraft-server/server.jar" ] } } }⚠️ Replace
/absolute/path/to/minecraft-server/server.jarwith your actual server.jar path - Navigate to
-
Launch Claude Desktop
- Start Claude Desktop after completing the configuration
-
Connect to Server
- Open Minecraft Launcher
- Install and launch Minecraft Java Edition v1.21
- Click "Play" and Select "Multiplayer"
- Click "Add Server"
- Enter server details:
- Server Name:
Minecraft Server - Server Address:
localhost:25565
- Server Name:
- Click "Done"
Features
Resources
The integration exposes these MCP resources:
minecraft://bot/location- Current bot position in the worldminecraft://bot/status- Bot connection status
Tools
Available MCP tools:
chat- Send chat messages to the serverjump- Make the bot jumpmoveForward- Make the bot move forwardmoveBack- Make the bot move backwardturnLeft- Make the bot turn leftturnRight- Make the bot turn rightplaceBlock- Place a block at specified coordinatesdigBlock- Break a block at specified coordinatesgetBlockInfo- Get information about a block at specified coordinatesselectSlot- Select a hotbar slot (0-8)getInventory- Get contents of bot's inventoryequipItem- Equip an item by name to specified destinationgetStatus- Get bot's current status (health, food, position, etc.)getNearbyEntities- Get list of nearby entities within rangeattack- Attack a nearby entity by nameuseItem- Use/activate the currently held itemstopUsingItem- Stop using/deactivate the current itemlookAt- Make the bot look at specific coordinatesfollowPlayer- Follow a specific playerstopFollowing- Stop following current targetgoToPosition- Navigate to specific coordinates
Technical Details
- Server runs in offline mode for local development
- Default memory allocation: 2GB
- Default port: 25565
- Bot username: MCPBot
Troubleshooting
Common Issues
-
MCP Connection Failed
- Look for lingering Java processes
- Terminate them manually:
- Windows: Use Task Manager (untested)
- Mac/Linux:
- Go to 'Activity Monitor' and 'Force Quit' java
- Restart computer if process termination fails
- Note: Latest version should auto-resolve these issues
-
Server Won't Start
- Verify Java is installed
- Check server.jar path is correct
- Ensure port 25565 is available
-
Can't Connect to Server
- Verify server is running (check logs)
- Confirm you're using "localhost" as server address
- Check firewall settings
Logs Location
- Minecraft Server logs: Check the minecraft-server directory
- Claude Desktop logs:
~/Library/Logs/Claude/mcp*.log
Contributing
Contributions, big or small, are welcome!
License
This project is licensed under the MIT License - see the LICENSE file for details.
README fetched from the repository 8 hours ago. The original is authoritative.