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.
Install Minecraft Mod MCP
Built from the published package, never by AI.
claude mcp add minecraft-mod-mcp -- npx -y minecraft-mod-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"minecraft-mod-mcp": {
"args": [
"-y",
"minecraft-mod-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"minecraft-mod-mcp": {
"args": [
"-y",
"minecraft-mod-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"minecraft-mod-mcp": {
"args": [
"-y",
"minecraft-mod-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add minecraft-mod-mcp -- npx -y minecraft-mod-mcp{
"mcpServers": {
"minecraft-mod-mcp": {
"args": [
"-y",
"minecraft-mod-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add minecraft-mod-mcp npx -y minecraft-mod-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
