Skip to content
MCP server
Registry

Minecraft MCP Server

Ask an AI about your Minecraft server and let it run it: players, worlds, configs, logs.

Minecraft scores 64 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Monitoring. GitHub shows 1 stars. Package registries report about 871 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by mairwunnxMITTypeScript1 stars
Trust score
64Good
Trust score 64 of 100, Good

Good trust

64 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 64 comes from

22 + 20 + 1 + 10 + 4 + 7 = 64. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "mairwunnx-minecraft-mcp": {      "command": "npx",      "args": [        "-y",        "@mairwunnx/minecraft-mcp@5.1.0"      ],      "env": {        "WORLDAPI_URL": "",        "WORLDAPI_TOKEN": "YOUR_WORLDAPI_TOKEN",        "WORLDAPI_PLAYER": "",        "WORLDAPI_LOCAL_DIR": "",        "WORLDAPI_READ_ONLY": ""      }    }  }}

Environment variables

NameRequiredNotes
WORLDAPI_URLOptionalWorldAPI 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_TOKENSecretOptionalA 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_PLAYEROptionalYour 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_DIROptionalWhere singleplayer worlds announce themselves, ~/.worldapi/local by default.
WORLDAPI_READ_ONLYOptional1 hides every tool that changes the server

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

minecraft-mcp

minecraft-mcp: let an AI agent run your server

npm MCP Registry Glama Release

🤖 minecraft-mcp lets an AI agent see and run your Minecraft server. Ask Claude “who’s online and where are they?”, “why is the server lagging?”, or “give everyone bread and set the time to morning”, and it answers with real data from your world.

It runs next to your AI client: Claude Desktop, Claude Code, Cursor, VS Code, or anything else that speaks MCP. From there it talks to WorldAPI on a Paper, Fabric, or NeoForge server, or in the world you play alone. The token you give it decides what the agent may do.

Русская версия

What you get

  • 🧰 50 tools for the server, worlds, blocks, chests, entities, players, commands, leaderboards, recipes, configs, logs, Java scripts, and other plugins’ data and actions. Most take several targets at once, so the agent makes fewer calls.
  • 🎒 Inventories in depth: every item’s enchantments, durability, and potion effects, and what’s inside shulker boxes and bundles.
  • 📜 Configs and logs: the agent reads the console and any config, and with the right token changes a value and keeps its comments.
  • 🔑 Only what your token allows: a viewer token shows 19 tools that only look, and read-only mode hides every write. Change the token’s permissions, and the tools follow without a restart.
  • 🎮 Singleplayer, no setup: with the WorldAPI mod in your game, minecraft-mcp finds the open world by itself and follows you from world to world. Ask “what am I looking at?” while you play.
  • 🙋 “Me” means you: set your player name, and “where am I?” just works.
  • ⏳ Live events: “tell me when Steve joins”.
  • 📣 Discord and Telegram in one sentence: “send deaths to my Discord” or “post joins to Telegram in Russian”, and the agent connects them through WorldAPI’s webhooks. Slack, Teams, and Google Chat too.
  • ↩️ Undo: the agent reads a build before it changes it, and takes back what it placed if you don’t like it.
  • 🧭 Never stuck on setup: when the address, the token, or WorldAPI itself is missing, the agent says what’s wrong and how to fix it, in game or in the admin panel.
  • 🛡️ Safe by design: game text is fenced as data, tools say when they destroy something, and the token never leaks.
  • 🔌 Every client: Claude Desktop in one click, or any MCP client over stdio or HTTP.

See it work

Get started

  1. Install WorldAPI 4.6.0 or newer on your Paper, Fabric, or NeoForge server, and make a token with /worldapi token create agent. Playing alone? Put the WorldAPI mod in your game and skip the address and the token: claude mcp add minecraft -- npx -y @mairwunnx/minecraft-mcp. The Singleplayer page has the rest.

  2. Add minecraft-mcp to your client. In Claude Desktop, open minecraft-mcp.mcpb. In Claude Code:

    claude mcp add minecraft -e WORLDAPI_URL=http://localhost:8110/api/v1 -e WORLDAPI_TOKEN=your-token -- npx -y @mairwunnx/minecraft-mcp
    
  3. Ask “what’s the server status?”. The Installation page covers Cursor, VS Code, and HTTP.

Try it live

Moonlands, my hard survival server with friends, runs WorldAPI and lets anyone read it. Point the agent there without a token:

claude mcp add moonlands -e WORLDAPI_URL=https://minecraft.mairwunnx.com/worldapi/api/v1 -- npx -y @mairwunnx/minecraft-mcp

Then ask “who played the most on Moonlands this week?”.

Play on Moonlands: pure vanilla, hard mobs, AI, claims. minecraft.mairwunnx.com

Documentation

Everything else lives in the wiki.

For players and server owners

For developers

Related projects

  • Moonlands – the hard-survival server where all of these run.
  • WorldAPI – REST and WebSocket API to the world, players, and stats of a Paper, Fabric, or NeoForge server.
  • Allay – an AI helper in the game: ask with /ask, right in the chat.
  • Allay Server – the backend behind Allay.
  • Mo’Joins – join and quit messages in each player’s language.
  • Mo’Afks – a safe AFK mode that doesn’t block the night.
  • Mo’Bosses – monsters that spawn as bosses with classes, abilities, and loot.
  • minecraft-exporter – Prometheus metrics from WorldAPI.
  • minecraft-grafana – the Grafana dashboard for WorldAPI.

Content disclosures

  • 🤖 AI-generated code. AI agents wrote much of the code.
  • 🔌 For AI clients. It runs inside your AI client and talks only to the WorldAPI you point it at. It runs no model itself.
  • No telemetry, paid features, or ads.

🫡 Made by Pavel Erokhin (Павел Ерохин), aka mairwunnx.

Frequently asked questions

What is Minecraft MCP Server?

Ask an AI about your Minecraft server and let it run it: players, worlds, configs, logs.

How do I install Minecraft MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Minecraft MCP Server runs locally from the npm package @mairwunnx/minecraft-mcp with the command npx -y @mairwunnx/minecraft-mcp@5.1.0.

Is Minecraft MCP Server free and open source?

Yes. Minecraft MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Minecraft MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Minecraft MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Minecraft MCP Server's trust score calculated?

Minecraft MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server