Minecraft MCP Server Pro
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 MCP Server Proagent-start goal=在附近搭石屋"
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 Server Pro
Fork of yuniko-software/minecraft-mcp-server upgraded into a layered platform for AI control:
Configurable Minecraft version (default
1.20.1, not hard-pinned)Offline / LAN login
Command channel (
/fill,/setblock, batch files) for fast creative buildsSurvival helpers (status / collect / eat; craft tools from upstream)
Autonomous agent loop (
agent-start) — plan → skills → observe
Design: ../docs/superpowers/specs/2026-07-24-minecraft-mcp-pro-design.md
Prerequisites
Node.js >= 20.10.0
Minecraft Java LAN world (offline OK)
Cheats enabled for
/filltoolsMCP client (ZCode, Claude Desktop, …)
Related MCP server: Minecraft Dedalus MCP
Install & run
cd minecraft-mcp-server
npm install
npm run build
npm start -- --username TraeBot --version 1.20.1 --host localhost --port 25565Dev (tsx):
npm run dev -- --username TraeBot --version 1.20.1ZCode MCP config example
{
"minecraft": {
"type": "stdio",
"command": "node",
"args": [
"./dist/main.js",
"--host", "localhost",
"--port", "25565",
"--username", "TraeBot",
"--version", "1.20.1"
],
"timeoutMs": 999999
}
}Optional: point --batch-root at your workspace so run-command-batch can load minecraft-city-build/command_batches/*.txt:
--batch-root "."CLI flags
Flag | Default | Meaning |
| localhost | LAN host |
| 25565 | LAN port |
| LLMBot | Offline name |
| 1.20.1 | Mineflayer protocol version (change freely) |
| offline |
|
| all |
|
| parent of cwd | Sandbox for batch file paths |
| 50 | Delay between commands |
| — | Disable agent tools |
| 50 | Agent loop limit |
New / enhanced tools
Command
run-chat-command— whitelisted chat commandsfill-region— auto-split ≤32768setblock-atclone-region
Build
build-box— solid / hollow / outlineclear-regionrun-command-batch— array or file under batch-rootbuild-status
Survival / storage / social
get-player-status/collect-blocks/eat-food/ensure-itemsleep-nearby— 附近床睡觉过夜chest-deposit/chest-withdraw/chest-deposit-allfind-player/go-to-player/follow-player/fight-nearby/world-time-statusqueue-reset— 卡死队列强制恢复(+ upstream
craft-item/list-recipes/ …)
Blueprint
build-blueprint— JSON 蓝图(blocks[]或palette+layers),见examples/blueprints/mini-hut.json
Agent (autonomous, near-human) — package 3.11.0
agent-start— NL goal,如附近搭石屋/建高塔/盖别墅/修城堡/建灯塔/跟着我/护卫我/ …agent-companion— 持续队友模式(靠近→注视→跟随→拾取→探索 循环,直到agent-cancel)agent-status/agent-memory/agent-wait/agent-cancel/agent-chat-control游戏内聊天也可驱动:搭石屋/建塔/别墅/城堡/灯塔/修路/平整/巡逻/护卫 等
Powerful builds (3.11):
MCP:
build-structure+list-structures— templates: tower, villa, castle, lighthouse, pyramid, arena, fountain, road, stairs, platform, wall, hutAgent skill:
build-structure(same templates, near player)Low-level still:
fill-region/build-box/build-blueprint/run-command-batch
Agent skills (40+): … + build-structure, pick-up, flatten, patrol, place-bed, pillar-up, clear-lava, mark/go-waypoint
Pathing / creative shortcuts: fly/tp salvage; gather/craft/ensure/minekit creative /give
MCP tools: 54 (incl. build-structure, list-structures, agent-memory)
Reload ZCode MCP after rebuild →
pro=3.11.0-dist. Only one TraeBot.
Memory: batch-root/.minecraft-mcp-memory/<bot>.json 记住家坐标等(跨重启)
Reload ZCode MCP after rebuild so the live bot process loads new
dist/(agent plans otherwise stay on old skills). Only one TraeBot process — do not also runnode dist/main.jsin a terminal.
Offline smoke (before opening the game)
npm run smoke
# or with LAN already open:
npm run smoke -- --host localhost --port 25565 --version 1.20.1Blueprint example
# after MCP connected + cheats on:
# build-blueprint filePath=examples/blueprints/mini-hut.json
# (batch-root should include this repo, e.g. the repo path or workspace)Example prompts
Fast creative build
用 fill-region 在我附近清空一块 20x20 地面,再用 build-box 搭一个 10x10x6 白混凝土空心房。
Batch from city builder
run-command-batch filePath=
minecraft-city-build/command_batches/xxx.txt(需设置 batch-root)
Autonomous loop
agent-start goal=
在附近搭石屋,先保证自己不饿
Version policy
Version is configurable. Default validated target: 1.20.1.
If join fails, try matching your world version: --version 1.20.4 etc.
Safety
Default command blacklist: op, stop, ban, …
Default reject: kill @a / clear @a.
Batch files cannot escape --batch-root.
License
Apache-2.0 (upstream). Pro changes in this fork under the same license terms.
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.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to control Minecraft bots through over 30 verified skills including navigation, resource gathering, and advanced building. It allows for multi-bot management and seamless integration with MCP clients to automate complex in-game tasks.Last updated75MIT
- Alicense-qualityCmaintenanceEnables AI agents to control Minecraft bots via natural language commands by bridging a Python MCP server with a Node.js Mineflayer bridge. It supports a wide range of in-game actions including complex pathfinding, resource gathering, crafting, and combat.Last updated10MIT
- Alicense-qualityDmaintenanceEnables AI agents to control a Minecraft bot for movement, building, crafting, and instant schematic-based structure spawning via MCP tools.Last updated282Apache 2.0
- Alicense-qualityCmaintenanceEnables AI agents to communicate, coordinate, and collaborate on complex tasks through a local MCP server.Last updated217ISC
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/l0s3r-Q/minecraft-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server