pm-minecraft
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., "@pm-minecraftTake a screenshot and describe what you see around you."
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.
pm-minecraft
A self-contained Minecraft survival body for MCP clients.
It runs Mineflayer, Prismarine Viewer, a local web UI, and a Streamable HTTP MCP server.
It does not contain an agent, model, or cognitive runtime. Only some minimal instruction telling your agent of choice how to use the MCP, look at screenshots and make custom TypeScript scripts, that can be executed via MCP.
Huge thanks to https://github.com/minedojo/voyager and https://github.com/Mega-Gorilla/Discovery :3
This is part of an ongoing effort on my side to make a fun cognitive architecture AI companion that can play minecraft with you. Also works as standalone ^_^
Setup
Requirements: Windows PowerShell, Node.js 20+, Python 3.12 through py, and a
reachable Minecraft Java 1.19.x server with the character in survival mode.
Set-Location C:\workspace\pm-minecraft-mcp
.\setup.ps1The setup follows the shared PM workflow: it uses uv to create this
repository's Python 3.12 .venv, syncs its lockfile, and installs locked Node
packages. scripts/setup.ps1 remains as a compatibility wrapper.
If it doesn't work tell your coding agent to fix it.
Related MCP server: Godot MCP Runtime
Minecraft
I stole the setup from https://github.com/Mega-Gorilla/Discovery.
I have never modded Minecraft manually, what works for me:
Download Prism
Install 1.19.4
Install Fabric Loader 0.19.3
Install these mods via Prism:
Fabric API
CompleteConfig
Mod Menu
Multiplayer Server Pause (Forge)
Make Survival World, Cheats Enabled, Peaceful
Enter and "Open to LAN" on Port 12345
Create and start a character
.\scripts\init_character.ps1 `
-Name Floppa `
-AgentRoot C:/Temp/Floppa `
-ArtifactRoot C:/Temp/Floppa/artifacts/minecraft
.\scripts\start_minecraft_mcp.ps1 `
-Name Floppa `
-MinecraftHost 127.0.0.1 `
-MinecraftPort 12345 `
-AgentRoot C:/Temp/Floppa `
-ArtifactRoot C:/Temp/Floppa/artifacts/minecraftThe initializer creates the agent workspace, memory/minecraft/, drafts/,
skills/, lib/minecraft.ts, and .mcp.json. The launcher prints the local
web UI, Prismarine viewer, and MCP URLs. For multiple characters, use unique
-WebPort, -ViewerPort, and -McpPort values.
Stop an instance with:
.\scripts\stop_minecraft_mcp.ps1 -ArtifactRoot C:/Temp/Floppa/artifacts/minecraftThen use it from the workspace:
Set-Location C:/Temp/Floppa
codexCodex reads .mcp.json. Prompt it to use the minecraft server; state logs
and screenshots are under ./artifacts/minecraft.
Perception and viewer modes
minecraft_find_block defaults to require_visible: true. This is the normal
survival setting: it returns only blocks with an unobstructed ray from the
character's head. An agent must explore, move to a better viewpoint, or use a
different observation when it cannot see the target. For long-range planning,
set require_visible: false; the result is a loaded-world location only and
must still be reached and visibly verified before mining.
Navigation profiles
minecraft_walk_to uses the adaptive profile by default. This profile keeps
the existing behavior. It can dig, place scaffold blocks, use towers, use
parkour, and drop as many as four blocks to reach the target.
Set profile: walk_only when the route must not change blocks. This profile
disables digging, scaffold placement, towers, and parkour. It also limits drops
to one block and disables unlimited liquid drops. The command fails if no such
route exists.
walk_only does not guarantee that inventory stays unchanged. The character
can still pick up an item that is on the route. Compare before-state and
after-state inventory when that postcondition is required.
Cool stuff
Here is the WebUI where you can manually control the character or look at how the coding agent uses the MCP.
And here is Codex describing my character's skin. Prismarine only renders default Steve :(
Development
npm test
npm run build
.\.venv\Scripts\python.exe -m compileall mcpThis 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 play and interact with Minecraft servers through mineflayer, providing automated actions like mining, movement, crafting, and real-time game event monitoring.Last updated858MIT
- AlicenseAqualityAmaintenanceA TypeScript MCP server that lets AI assistants interact with the Godot 4.x game engine: not just editing files, but playing the game.Last updated3664250MIT
- 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-qualityCmaintenanceProxy MCP server that translates tool calls into TypeScript code generation, enabling LLMs to orchestrate multi-tool workflows efficiently via code.Last updated2513MIT
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
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/flamingrickpat/pm-minecraft'
If you have feedback or need assistance with the MCP directory API, please join our Discord server