Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 67
  • 1 stars
  • 49 a week
  • MIT
  • Updated

Install Minecraft MCP

Built from the published package, never by AI.

claude mcp add minecraft-mcp -- npx -y @lzimul/minecraft-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Minecraft MCP in Claude Code

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

A

No 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 →

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.

Minecraft MCP Install

Add to stack

Loading.