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 Mod MCP

MCP server by langyo Verified · npm:minecraft-mod-mcp

Minecraft Mod MCP lets AI tools inspect and control a Minecraft client through the Model Context Protocol. It is aimed at mod developers who want to test GUIs, verify block and item behavior, and run smoke tests.

  • Score 76
  • 43 stars
  • 198 a week
  • Apache-2.0
  • Updated

Install Minecraft Mod MCP

Built from the published package, never by AI.

claude mcp add minecraft-mod-mcp -- npx -y minecraft-mod-mcp

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

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

About

Minecraft Mod MCP is an in-game mod that exposes Minecraft's internals to AI tools over MCP. The mod runs a local HTTP server, starting at port 9876 and falling back to nearby ports if that one is taken. An npm bridge package, minecraft-mod-mcp, speaks MCP over stdio to the AI tool and forwards commands such as clicks, typing, and screenshots to the mod. The source says Java reflection lets it work across Minecraft versions without version-specific code.

The project is built for mod developers. Its README describes using an AI agent to see the screen with coordinate grids, act through clicks and key presses, query game state, and stream events over SSE. It supports Forge, Fabric, and NeoForge across a range of Minecraft versions, and includes a CLI for launching clients and servers. The HTTP API is loopback-only by default and can use a bearer token.

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

Tools it gives your assistant

  • enter_control_modePuts the game into MCP control mode so an agent can drive it. Remote use requires the launch flag or environment variable.
  • /api/screenshotCaptures a screenshot of the game, which can include coordinate grids.
  • /api/cmdSends a whitelisted command to the game, such as clicking, typing, scrolling, or dragging.
  • /api/eventsStreams game events in real time over SSE.
  • /api/statusReturns the mod version, loader, port, process ID, and uptime.

What you need

  • Minecraft with Forge, Fabric, or NeoForge
  • Node.js and npm for the minecraft-mod-mcp bridge
  • Java

Try asking

  • Take a screenshot of the Minecraft window and describe the open GUI
  • Click the button labeled Done on the current Minecraft screen
  • Stream the in-game events while I test my new block's behavior

Good to know

  • The HTTP API binds to 127.0.0.1 by default and only exposes itself to a LAN with an explicit bind setting and token.
  • Background input mode is described for Windows only.
  • The pause menu cancellation only applies to legacy clients from 1.7.2 to 1.12.2.
  • The README's version table lists no Fabric build for 26.1.2.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Minecraft Mod MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Minecraft Mod MCP: common questions

Which Minecraft versions does Minecraft Mod MCP support?

The README lists builds for 26.2, 26.3, 26.1.2, and 1.21.11, and says it works from 1.7.2 through 26.3. Older versions are on the releases page.

Does the mod send data to the internet?

The source describes a local HTTP server bound to 127.0.0.1 by default. It does not describe any external service the mod contacts.

How does an AI tool connect to the mod?

The AI tool talks MCP over stdio to the minecraft-mod-mcp bridge, which forwards commands to the mod's HTTP server in the game.

How do I install Minecraft Mod MCP?

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

Is Minecraft Mod MCP the official server?

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

Is Minecraft Mod MCP free?

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

Is Minecraft Mod MCP safe to use?

It scores 76 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 Mod MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

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

Add to stack

Loading.