minecraft-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@minecraft-mcpmine some diamond ore"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
minecraft-mcp
A Minecraft bot controlled by Claude over MCP (Model Context Protocol), built on Mineflayer. Give Claude Desktop natural-language commands and it'll move, mine, build, fight, and chat in-game.
This is a personal fork/setup based on yuniko-software/minecraft-mcp-server.
Tested against Minecraft 1.21.11. Newer versions may not work until support is added.
Prerequisites
Git
Node.js >= 20.10.0
A running Minecraft world (Java Edition, singleplayer opened to LAN)
Claude Desktop with Developer Mode enabled (Settings → Developer)
Related MCP server: AWS CLI MCP Server
Setup
git clone https://github.com/gitnoah1/mc-claudemcp.git
cd mc-claudemcp
npm install
npm run buildRunning
Open your Minecraft world to LAN In-game:
Esc → Open to LAN. Note the port (default25565).Add the server to Claude Desktop's config
Settings → Developer → Edit Configopensclaude_desktop_config.json. Add:{ "mcpServers": { "minecraft": { "command": "node", "args": ["C:\\Users\\vanes\\Downloads\\mc-claudemcp\\dist\\main.js"], "env": { "MINECRAFT_HOST": "localhost", "MINECRAFT_PORT": "25565", "MINECRAFT_USERNAME": "ClaudeBot" } } } }Adjust the path, host, and port to match your setup.
Fully restart Claude Desktop (quit from the tray, not just close the window).
Start a chat and tell Claude to do something in Minecraft — mentioning Minecraft in the prompt is what triggers the tool call and permission prompt.
Available Tools
Movement — get-position, move-to-position, look-at, jump, move-in-direction
Flight — fly-to
Inventory — list-inventory, find-item, equip-item
Blocks — place-block, dig-block, get-block-info, find-block
Furnace — smelt-item
Entities — find-entity
Chat — send-chat, read-chat
Game state — detect-gamemode
Notes
First tool call after Claude Desktop boots can be slow — the MCP server is spinning up.
Claude will ask permission before controlling the bot the first time each session.
Works best with Claude Sonnet/Opus for more complex build requests (you can even feed it a reference image).
Credits
Built on mineflayer ps bash your head agasit a rock love noah
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gitnoah1/mc-claudemcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server