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 Server

MCP server by yuniko-software Verified · npm:minecraft-mcp-server

Minecraft MCP Server is a Minecraft bot that lets Claude and other supported models control a Minecraft character through the Model Context Protocol. It is built on the Mineflayer API and joins a singleplayer world opened to LAN. It suits users who want an AI assistant to act inside the game.

  • Score 70
  • 846 stars
  • 37 a week
  • Apache-2.0
  • Updated

Install Minecraft MCP Server

Built from the published package, never by AI.

claude mcp add minecraft-mcp-server -- npx -y minecraft-mcp-server

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

Step-by-step: install Minecraft MCP Server 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-server block.

About

Minecraft MCP Server is a Minecraft bot powered by large language models. It uses the Model Context Protocol to let Claude and other supported models control a Minecraft character. The bot is built on the Mineflayer API and gives the assistant tools for movement, flight, inventory, block placing and digging, smelting, entity search, and in-game chat.

The bot connects to a singleplayer world opened to LAN, using hostname localhost and port 25565 by default. Claude Desktop is the example MCP client, and the bot joins the game once the server starts. Users can give commands through any active chat and can upload images of buildings for the bot to build. The project currently targets Minecraft 1.21.11 and is intended for people who want an AI assistant to control a character in Minecraft.

Written from the project's README and checked against it.

Tools it gives your assistant

  • move-to-positionMove the bot to specific coordinates.
  • fly-toMake the bot fly directly to specific coordinates.
  • list-inventoryList all items in the bot's inventory.
  • equip-itemEquip a specific item.
  • place-blockPlace a block at specified coordinates.
  • dig-blockDig a block at specified coordinates.
  • find-blocksFind one or more nearby blocks of a specific type.
  • smelt-itemSmelt items using a furnace-like block.
  • send-chatSend a chat message in-game.
  • read-chatGet recent chat messages from players.

What you need

  • Git
  • Node.js (>= 20.10.0)
  • A running Minecraft Java Edition game
  • An MCP-compatible client such as Claude Desktop

Try asking

  • Move the bot to coordinates 100, 64, -200 in Minecraft.
  • Ask the bot to list its inventory and equip an item.
  • Tell the bot to find nearby blocks of a type and dig them.

Good to know

  • Currently supports Minecraft version 1.21.11. Newer versions may not work.
  • The world must be opened to LAN for the bot to connect.
  • Claude Desktop can take some time to boot the MCP server.
  • The prompt must mention doing something in Minecraft to trigger the server.

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 Server

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Minecraft MCP Server: common questions

Which Minecraft version does it support?

The project currently supports Minecraft 1.21.11. The source says newer versions may not work, with support to be added as soon as possible.

Can the bot build structures from images?

Yes. The source says users can upload images of buildings and ask the bot to build them.

Which AI model works best with the bot?

The source says using Claude Sonnet could give interesting results, and that the bot-agent would be really smart with it.

How do I install Minecraft MCP Server?

In Claude Code run claude mcp add minecraft-mcp-server -- npx -y minecraft-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Minecraft MCP Server the official server?

Minecraft MCP Server is published by npm:minecraft-mcp-server from its verified domain in the official MCP Registry.

Is Minecraft MCP Server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Minecraft MCP Server safe to use?

It scores 70 of 100. Grades: maintenance D, licence A, quality A. 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 Server?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Minecraft MCP Server 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 Server Install

Add to stack

Loading.