Minecraft MCP Server
Required for setup and installation of the MCP server.
Hosts the MCP server repository that can be installed via npx.
Required runtime environment for the MCP server.
Click on "Deploy 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 MCP Server dig a block of dirt in front of me"
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.
A Minecraft bot powered by large language models and Mineflayer API. This bot uses the Model Context Protocol (MCP) to enable Claude and other supported models to control a Minecraft character.
Prerequisites
Git
Node.js
A running Minecraft game (the setup below was tested with Minecraft 1.21.4 Java Edition included in Microsoft Game Pass)
An MCP-compatible client. Claude Desktop will be used as an example, but other MCP clients are also supported
Related MCP server: haksnbot-tools
Getting started
This bot is designed to be used with Claude Desktop through the Model Context Protocol (MCP).
Run Minecraft
Create a singleplayer world and open it to LAN (ESC -> Open to LAN). Bot will try to connect using port 25565 and hostname localhost. These parameters could be configured in claude_desktop_config.json on a next step.
MCP Configuration
Make sure that Claude Desktop is installed. Open File -> Settings -> Developer -> Edit Config. It should open installation directory. Find file with a name claude_desktop_config.json and insert the following code:
{
"mcpServers": {
"minecraft": {
"command": "npx",
"args": [
"-y",
"github:yuniko-software/minecraft-mcp-server",
"--host",
"localhost",
"--port",
"25565",
"--username",
"ClaudeBot"
]
}
}
}Double-check that right --port and --host parameters were used. Make sure to completely reboot the Claude Desktop application (should be closed in OS tray).
Running
Make sure Minecraft game is running and the world is opened to LAN. Then start Claude Desktop application and the bot should join the game.
It could take some time for Claude Desktop to boot the MCP server. The marker that the server has booted successfully:
You can give bot any commands through any active Claude Desktop chat. You can also upload images of buildings and ask bot to build them 😁
Don't forget to mention that bot should do something in Minecraft in your prompt. Because saying this is a trigger to run MCP server. It will ask for your permissions.
Available Commands
Once connected to a Minecraft server, Claude can use these commands:
Movement
get-position- Get the current position of the botmove-to-position- Move to specific coordinateslook-at- Make the bot look at specific coordinatesjump- Make the bot jumpmove-in-direction- Move in a specific direction for a duration
Flight
fly-to- Make the bot fly directly to specific coordinates
Inventory
list-inventory- List all items in the bot's inventoryfind-item- Find a specific item in inventoryequip-item- Equip a specific item
Block Interaction
place-block- Place a block at specified coordinatesdig-block- Dig a block at specified coordinatesget-block-info- Get information about a blockfind-block- Find the nearest block of a specific type
Entity Interaction
find-entity- Find the nearest entity of a specific type
Communication
send-chat- Send a chat message in-game
Game State
detect-gamemode- Detect the gamemode on game
Available Tools
16 toolsdetect-gamemodeB
Detect the gamemode on game
Inputs: no named parameters.
dig-blockB
Dig a block at the specified position
Inputs: x (required), y (required), z (required).
equip-itemC
Equip a specific item
Inputs: itemName (required), destination.
find-blockC
Find the nearest block of a specific type
Inputs: blockType (required), maxDistance.
find-entityB
Find the nearest entity of a specific type
Inputs: type, maxDistance.
find-itemB
Find a specific item in the bot's inventory
Inputs: nameOrType (required).
fly-toC
Make the bot fly to a specific position
Inputs: x (required), y (required), z (required).
get-block-infoB
Get information about a block at the specified position
Inputs: x (required), y (required), z (required).
get-positionA
Get the current position of the bot
Inputs: no named parameters.
jumpB
Make the bot jump
Inputs: no named parameters.
list-inventoryA
List all items in the bot's inventory
Inputs: no named parameters.
look-atB
Make the bot look at a specific position
Inputs: x (required), y (required), z (required).
move-in-directionB
Move the bot in a specific direction for a duration
Inputs: direction (required), duration.
move-to-positionC
Move the bot to a specific position
Inputs: x (required), y (required), z (required), range.
place-blockB
Place a block at the specified position
Inputs: x (required), y (required), z (required), faceDirection.
send-chatB
Send a chat message in-game
Inputs: message (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool has a clearly distinct purpose targeting specific Minecraft actions like movement (fly-to, move-to-position), interaction (dig-block, place-block), information retrieval (get-block-info, list-inventory), or entity management (find-entity, find-item). There is no significant overlap that would cause confusion between tools.
Most tools follow a consistent verb-noun pattern (e.g., dig-block, equip-item, find-block) with clear actions. However, there are minor deviations like 'detect-gamemode' (verb-noun) and 'get-position' (verb-noun) which slightly break the pattern, but overall naming is highly readable and predictable.
With 16 tools, the count is on the higher side but reasonable for a Minecraft bot server covering movement, inventory, block interaction, and entity management. It feels slightly heavy but each tool appears to earn its place without obvious redundancy.
The tool set covers core Minecraft bot operations well, including movement (fly-to, move-to-position), block handling (dig-block, place-block, get-block-info), inventory management (list-inventory, find-item), and entity interaction (find-entity). Minor gaps might include actions like attacking entities or crafting, but the surface is largely complete for basic bot functionality.
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Hosted YouTube MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted Screenshots MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control a Minecraft bot for movement, building, crafting, and instant schematic-based structure spawning via MCP tools.96 npm2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that lets Claude control a Minecraft bot with 40+ actions including movement, combat, crafting, and inventory management. Built on Mineflayer, it supports Microsoft authentication, pathfinding, and auto-reconnect.3MIT
- AlicenseNot gradedqualityDmaintenanceA Minecraft bot controlled by Claude over MCP, enabling natural-language commands for movement, mining, building, fighting, and chatting in-game.96 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI models like Claude to control a Minecraft character through natural language commands, supporting movement, inventory, block interactions, and more.Apache 2.0