Minecraft MCP
MCP server by lZiMUl Verified · npm:@lzimul
Minecraft MCP is a Model Context Protocol server that exposes Minecraft Java Edition blocks, items and entity types as resources. It lets an AI assistant read, edit and persist blocks, entities, players and inventories in simulated dimensions.
Install Minecraft MCP
Built from the published package, never by AI.
claude mcp add minecraft-mcp -- npx -y @lzimul/minecraft-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"minecraft-mcp": {
"args": [
"-y",
"@lzimul/minecraft-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"minecraft-mcp": {
"args": [
"-y",
"@lzimul/minecraft-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"minecraft-mcp": {
"args": [
"-y",
"@lzimul/minecraft-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add minecraft-mcp -- npx -y @lzimul/minecraft-mcp{
"mcpServers": {
"minecraft-mcp": {
"args": [
"-y",
"@lzimul/minecraft-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add minecraft-mcp npx -y @lzimul/minecraft-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the minecraft-mcp block.
About
Minecraft MCP is a Model Context Protocol server that exposes the Minecraft Java Edition registry of blocks, items and entity types as MCP resources. It provides tools to read, write, query and fill blocks in simulated Overworld, Nether and End dimensions. It also creates, moves and deletes entities and players, and manages their inventories.
Each dimension keeps its own world state, saved as a JSON file that survives restarts. Every entity and player has a 9-slot hotbar and a 27-slot backpack. An optional WebSocket service can broadcast tool calls to connected clients. The project is aimed at users who want an AI assistant to build or inspect Minecraft worlds.
Written from the project's README and checked against it.
Tools it gives your assistant
getBlockGet the block and its states at coordinates in a dimension.setBlockPlace a block with optional states and return the replaced block.fillBlocksFill a box with one block, optionally replacing existing blocks.getBlocksInAreaPage through placed blocks inside a box, with an optional block filter.getDimensionGet dimension metadata, block count, entity count and player count.getDimensionEntitiesList every entity and player in a dimension with type, name and position.createPlayerCreate a uniquely named player with an empty hotbar and backpack.moveEntityMove an entity exactly one block forward, back, left, right, up or down.getInventoryRead the 9 hotbar slots and 27 backpack slots of an entity or player.swapInventorySlotsSwap any two hotbar or backpack slots of an entity or player.
What you need
- Node.js 22 or newer
Try asking
- Place oak stairs facing south at coordinates 0, 64, 0 in the Overworld
- Fill a 10 by 10 stone floor in the Nether and replace existing blocks
- Create a player named Steve and show his inventory
Good to know
- A dimension holds at most 250,000 placed blocks and 10,000 entities and players combined.
- A single fillBlocks request is limited to 16,384 coordinates.
- The legacy initialize handshake is rejected; clients must use server/discover.
- The WebSocket service is disabled by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Minecraft MCP
All alternatives →Medplum is a developer platform for building healthcare apps, with a FHIR-based API and a repository for healthcare data. The source is the README for its main code repository, not a description of an MCP server.
Describes Puter, an open-source, self-hostable internet computer with office, AI builder and developer tools. The source does not document an MCP server or list its tools, so this listing could not be verified from the text.
Microsoft Fabric MCP Server is an MCP server for interacting with Microsoft Fabric. Its source, README, changelog and troubleshooting guide are in the microsoft/mcp repository. The source does not list its individual tools.
Template MCP server example.
Business Contact Finder is listed as an MCP server from modelcontextprotocol. The source provided is the MCP Registry README, which does not describe this server's tools, setup or behavior.
The source provided is the README for the MCP Registry, not code for a contractor licence tool. It does not describe a Contractor Licence Changes server, so this listing cannot be confirmed from the text.
Compare with Medplum, mcp-server or Microsoft Fabric MCP Server
Minecraft MCP: common questions
Does Minecraft MCP save my world between restarts?
Yes. World state is persisted per dimension as JSON in app/dimensions and loaded at startup. Mutations are written back, and successful responses mean the change is stored.
Which dimensions are supported?
The server simulates the Overworld, The Nether and The End. Each dimension has its own isolated world state and height range.
Can the assistant use block states?
Yes. Block states are supported everywhere, for example minecraft:oak_stairs[facing=south,half=bottom].
How do I install Minecraft MCP?
In Claude Code run claude mcp add minecraft-mcp -- npx -y @lzimul/minecraft-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Minecraft MCP the official server?
Minecraft MCP is published by npm:@lzimul from its verified domain in the official MCP Registry.
Is Minecraft MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Minecraft MCP safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Minecraft MCP?
Similar MCP servers: Medplum, mcp-server, Microsoft Fabric MCP Server, Template MCP Server.
Does Minecraft MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
