minecraft -pixel
MCP server from Jeremy-Min-Yang/minecraft-mcp-server-pixel
claude mcp add --transport stdio jeremy-min-yang-minecraft-mcp-server-pixel node dist/bot.js --host localhost --port 25565 --username Bob_the_Builder \ --env NODE_ENV="production"
How to use
MinecraftBuildMCP is an MCP server that lets Claude (or other compatible LLMs) control a Mineflayer-based Minecraft bot. Once running, you can connect via an MCP client and issue structured commands to move, place blocks, chat, inspect the world, and even generate pixel art. The available tools cover movement, inventory management, block interaction, entity detection, chat, and a dedicated pixel art builder, all designed to operate within a Minecraft world (preferably in Creative mode for easier testing).
To use it, start the local bot with the provided Node.js entry point and connect your MCP client (Claude Desktop or another client) using the configured host and port. The CLI options supported by the bot include host, port, and username to control the in-game bot identity. Once connected, you can issue commands like get-position, move-to-position, place-block, find-entity, send-chat, and build-pixel-art. The pixel art feature expects a 2D array of block types, an origin, and a direction, and will translate that into block placements in the world.
How to install
Prerequisites:
- Node.js v16 or higher
- Git
- A Minecraft Java Edition setup (world for testing; Creative mode recommended)
Installation steps:
-
Clone the repository: git clone https://github.com/Jeremy-Min-Yang/minecraft-mcp-server-pixel.git cd minecraft-mcp-server-pixel
-
Install dependencies: npm install
-
Build the project (if a build step exists): npm run build
-
Run the server locally using Node.js (as shown in the README examples): node dist/bot.js --host localhost --port 25565 --username Bob_the_Builder
-
Optional: Run via npx to test directly from GitHub (as shown in the README): npx -y github:Jeremy-Min-Yang/minecraft-mcp-server-pixel --host localhost --port 25565 --username Bob_the_Builder
Additional notes
Tips and considerations:
- Ensure Minecraft is running a compatible version (1.21.4 as tested) and that the world is accessible from the bot (LAN/port opening as needed).
- Creative mode is recommended for easier testing and teleport/inventory manipulation features.
- The server uses Mineflayer under the hood; refer to Mineflayer docs for bot capabilities and limitations.
- If you plan to run the MCP server in production, consider setting environment variables for production mode and securing the connection between the MCP client and the bot.
- When using npx/github references, you may need network access to fetch the package on first run.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.