Minecraft MCP Server
An MCP server for Minecraft: an agent controls a bot character via Mineflayer to build and explore
- 816 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Controls a bot in your Minecraft world and changes the game environment
- Downloads and runs code via npx
Install
- Works in
Manual install
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}Check the host and port of your world opened to LAN.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Controls a bot in your Minecraft world and changes the game environment
- Downloads and runs code via npx
This is third-party code. Review the repository files before installing.
What it does
The server runs a Mineflayer-based Minecraft bot and hands control of it to an agent over MCP. The bot joins your world opened to LAN and follows natural-language commands: move to coordinates, fly, look at a point, jump, dig and place blocks, find blocks and entities, manage the inventory, smelt items, send and read chat, and detect the game mode. You can upload an image of a build and ask the bot to reproduce it. The connection is set through host, port and username in the client config.
Who it is for. For developers and enthusiasts who want to control a Minecraft character through an agent.
Good fit when
- You want to build or explore in your Minecraft world by chat
- You want to experiment with a game bot and MCP
- You want to reproduce a build from an image
Not a fit when
- Your Minecraft version does not match the one supported in the README
- The world is not opened to LAN and the bot cannot connect
Example request
In Minecraft, move to coordinates 100, 64, 200 and build a three by three stone wall thereMCP
- Transport
- stdio
- Authentication
- not required
Limitations
You need Node.js 20.10 or newer, Git and a running Minecraft Java Edition with a world opened to LAN. The README notes support for a specific game version; newer ones may not work. By default the bot connects to localhost and port 25565, and parameters are set in the client config. The sample setup targets Claude Desktop.
How to disable. Remove the server entry from your MCP client config and fully restart the application.
FAQ
How does the bot join the game?
You open a singleplayer world to LAN, and the bot connects to localhost and port 25565 unless you set other parameters.
What is the bot built on?
The Mineflayer API. Its control is handed to the agent over MCP.
Discussion
No questions or reviews yet.
Related
MCP serversMCP server for Discord: an agent manages channels, roles, messages and moderation through your server bot token
Discord MCP by cappyeo: a server with 200+ tools
Discord MCP (cappyeo)
A Discord MCP with over 200 typed tools: the agent handles messages, roles and moderation, builds a server from a plan, and writes default to preview mode
A Node.js MCP server through which an agent controls Home Assistant devices and edits its automations
An MCP server for driving Windows: the agent opens apps, clicks and types, reads window and UI state, and works with files and PowerShell
MCP server for MAX messenger
mcp-max-messenger
MCP server for MAX messenger Bot API: messages, media, chats, participants and buttons from an agent
MCP server for AppleScript: the agent runs scripts and controls Mac apps, from Notes and Calendar to files
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| Minecraft MCP Server (this card) | no | not required | 816 | |
| kubectl-mcp-server | no | not required | 972 | reads cluster state and diagnoses pod failures |
| Unreal Engine MCP Server | no | not required | 1,033 | Unreal Engine assets, actors and blueprints |
| Android MCP | no | not required | 924 | controls an Android device through ADB |
README in short
The README explains that a Mineflayer bot is controlled by large language models over MCP and is aimed at Claude Desktop. It shows the steps: open a world to LAN, paste a config with npx github:yuniko-software/minecraft-mcp-server and host, port, username parameters, and restart the client. It lists commands for movement, flight, inventory, blocks, furnaces, entities, chat and game state. It notes support for a specific Minecraft version. Apache-2.0 licensed.