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 by MairwunNx Verified · mairwunnx.com

Lets an AI assistant see and run a Minecraft server through the WorldAPI mod, covering players, worlds, configs and logs. Made for server owners and players who want to ask about and change their game in plain language.

  • Score 85
  • 1 stars
  • 486 a week
  • MIT
  • Updated

Install Minecraft

Built from the published package, never by AI.

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

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

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

About

minecraft-mcp is an MCP server that lets an AI assistant see and run a Minecraft server. It runs next to your AI client, such as Claude Desktop, Claude Code, Cursor, or VS Code, and talks to the WorldAPI mod on a Paper, Fabric, or NeoForge server, or in a singleplayer world. It offers 51 tools covering the server, worlds, blocks, chests, entities, players, commands, leaderboards, recipes, configs, logs, and Java scripts.

The token you give it decides what the agent may do. A viewer token shows 19 read-only tools, and read-only mode hides every write. The project is aimed at Minecraft server owners and players who want to ask questions about their world and make changes in plain language. The source states that it has no telemetry, paid features, or ads.

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

Tools it gives your assistant

  • Players and inventoriesReports who is online and where, with item enchantments, durability, and potion effects.
  • Worlds, blocks, and entitiesReads and changes blocks, chests, entities, and worlds, with undo for placed blocks.
  • Configs and logsReads the console and config files, and changes values while keeping comments when the token allows.
  • Commands and timeRuns server commands, such as giving items or setting the time to morning.
  • Live eventsWatches for events such as a player joining and reports them back.
  • Discord, Telegram, and webhooksConnects game events to Discord, Telegram, Slack, Teams, or Google Chat through WorldAPI webhooks.

What you need

  • WorldAPI 4.2.0 or newer on a Paper, Fabric, or NeoForge server
  • A WorldAPI token, or the WorldAPI mod in your game for singleplayer
  • An MCP-capable AI client such as Claude Desktop, Claude Code, Cursor, or VS Code
SettingNeededWhat it is
WORLDAPI_URLEnvironment variableOptionalWorldAPI base URL including /api/v1, such as http://localhost:8110/api/v1. Leave it out for the singleplayer world open on this machine with the WorldAPI mod.
WORLDAPI_TOKENEnvironment variable, secretOptionalA WorldAPI token. Its permissions decide which tools the agent gets. Leave it empty for what anonymous clients may read. A singleplayer world brings its own token and never gets this one.
WORLDAPI_PLAYEREnvironment variableOptionalYour player name. “I”, “me”, and “my” mean this player, and tools that take a player use it when the agent leaves one out.
WORLDAPI_LOCAL_DIREnvironment variableOptionalWhere singleplayer worlds announce themselves, ~/.worldapi/local by default.
WORLDAPI_READ_ONLYEnvironment variableOptional1 hides every tool that changes the server

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Who's online right now and where are they?
  • Why is the server lagging?
  • Tell me when Steve joins the server.

Good to know

  • The agent talks only to the WorldAPI instance you point it at.
  • A viewer token shows 19 read-only tools.
  • Read-only mode hides every write tool.
  • It requires WorldAPI 4.2.0 or newer on 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

All alternatives →

Compare with Medplum, mcp-server or Microsoft Fabric MCP Server

Minecraft: common questions

Does minecraft-mcp run its own AI model?

No. The source says it runs inside your AI client, talks only to the WorldAPI you point it at, and runs no model itself.

Can it be used in singleplayer?

Yes. With the WorldAPI mod in your game, minecraft-mcp finds the open world by itself and follows you from world to world.

What controls what the AI can change?

The token you give it sets the allowed actions. A viewer token only reads, and read-only mode hides every write.

How do I install Minecraft?

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

Is Minecraft the official server?

Minecraft is published by mairwunnx.com from its verified domain in the official MCP Registry.

Is Minecraft free?

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

Is Minecraft safe to use?

It scores 85 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?

Similar MCP servers: Medplum, mcp-server, Microsoft Fabric MCP Server, Template MCP Server.

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

Add to stack

Loading.