Minecraft Dev MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Minecraft Dev MCPget the source code for the Block class in 1.20.1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Minecraft Dev MCP
A Model Context Protocol server that gives AI assistants native access to Minecraft mod development tools — decompile, remap, search, and analyze Minecraft source code directly from your AI workflow.
Quick Start
Prerequisites
Requirement | Details |
Node.js 18+ | |
Java 17+ | Required for decompilation and remapping • Verify with |
Installation
Method | Command |
NPM (Recommended) |
|
NPX (No Install) | Use |
From Source | See the Development section |
Claude Desktop
Add to your Claude Desktop configuration file:
Platform | Config Path |
Windows |
|
macOS |
|
Linux |
|
NPM installation:
{
"mcpServers": {
"minecraft-dev": {
"command": "minecraft-dev-mcp"
}
}
}NPX (no installation required):
{
"mcpServers": {
"minecraft-dev": {
"command": "npx",
"args": ["-y", "@mcdxai/minecraft-dev-mcp"]
}
}
}Claude Code
Add to .claude/settings.local.json in your project, or to your global Claude Code settings:
{
"mcpServers": {
"minecraft-dev": {
"command": "minecraft-dev-mcp"
}
}
}Related MCP server: dejared-mcp
HTTP Transport
For clients or editors that connect over HTTP instead of stdio, start the server in HTTP mode. It uses the MCP Streamable HTTP transport with per-session isolation.
Flag | Description |
| Start with the Streamable HTTP transport instead of stdio |
| Port to listen on (default: |
| Host to bind to (default: |
minecraft-dev-mcp --http --port 3000The MCP endpoint is http://<host>:<port>/mcp (POST to call, GET for the SSE stream, DELETE to end a session). Each client gets its own session, so multiple clients can connect concurrently.
Security: the default host
127.0.0.1enables the SDK's DNS-rebinding protection automatically. Binding to a non-loopback host (e.g.--host 0.0.0.0) disables that protection — only do so on a trusted network, ideally behind a reverse proxy or auth.
CLI
A standalone CLI (minecraft-dev-cli) invokes the same tools directly — no MCP client required — for scripts, skills, and automation. Arguments are flags-only (--key value or --key=value) to avoid the JSON-quoting issues positional JSON arguments cause in PowerShell and other shells.
# List every tool with its parameters
minecraft-dev-cli list-tools
# Invoke a tool with flags
minecraft-dev-cli get_minecraft_source --version 1.21.10 --className net.minecraft.world.entity.Entity --mapping yarn
# Boolean / numeric / JSON values are coerced automatically
minecraft-dev-cli analyze_mod_jar --jarPath C:\mods\example.jar --includeAllClasses trueOutput is always JSON: { "success": true, "tool": "...", "result": ... } on success, or { "success": false, "tool": "...", "error": "..." } with exit code 1 on failure. Run minecraft-dev-cli help for full usage.
Features
Feature | Description |
On-demand decompilation | Download, remap, and decompile any Minecraft version (1.14+) on first use — cached for instant access afterward |
Multiple mapping namespaces | Yarn, Mojmap (official), Intermediary, and obfuscated — translate any symbol between them with |
Decompiled source access | Retrieve Java source for any Minecraft class with optional line-range filtering |
Mod JAR analysis | Analyze Fabric, Quilt, Forge, and NeoForge mods — metadata, mixins, dependencies, entry points — and decompile them |
Mixin, Access Widener & Access Transformer validation | Validate Mixin annotations, Fabric |
Version diff | Class-level and AST-level diff between any two Minecraft versions — method signatures, field changes, breaking changes |
Full-text search | SQLite FTS5 indexes for fast BM25-ranked search across Minecraft and mod source |
21 tools across 4 categories — see docs/tools.md for the full reference.
Common Workflows
Workflow | Steps |
First-time source access | Call |
Analyze a third-party mod |
|
Validate a Fabric mixin |
|
Find breaking changes between versions |
|
Fast broad search |
|
Translate obfuscated names |
|
Version Support
Version Range | Yarn | Mojmap | Notes |
1.14 – 1.21.11 | Full support | Full support | Obfuscated — two-step remapping required (official → intermediary → named) |
26.1+ | Not available | Full support | Deobfuscated by Mojang — no remapping needed, classes already human-readable |
Yarn mappings are discontinued after 1.21.11, which is the last obfuscated Minecraft version. All 26.1+ releases ship with readable class and method names and only require Mojmap.
Tested versions: 1.19.4 · 1.20.1 · 1.21.10 · 1.21.11 · 26.1-snapshot-8 · 26.1-snapshot-9
Configuration
Environment Variable | Description |
| Override the default cache directory location |
| Logging verbosity: |
{
"mcpServers": {
"minecraft-dev": {
"command": "minecraft-dev-mcp",
"env": {
"CACHE_DIR": "/custom/cache/path",
"LOG_LEVEL": "DEBUG"
}
}
}
}Cache Location
Downloaded JARs, mappings, decompiled source, and search databases live in a platform-specific cache directory shared across all workspaces (~400–500 MB per Minecraft version).
Platform | Cache Path |
Windows |
|
macOS |
|
Linux / WSL |
|
Delete the directory to clear the cache — the server re-downloads anything missing on next use. To relocate the cache anywhere on disk, set the CACHE_DIR environment variable (see Configuration).
Cache Contents
Path | Contents |
| Client and server JARs |
| Yarn, Mojmap, and Intermediary mapping files |
| Remapped JARs |
| Decompiled Minecraft source |
| Decompiled third-party mod source |
| Extracted registry data (blocks, items, entities) |
| Java tool JARs (VineFlower, tiny-remapper) |
| SQLite metadata database |
| SQLite FTS5 full-text search index |
| Server log file |
Development
Task | Command |
Install dependencies |
|
Build |
|
Dev mode (hot reload) |
|
Tests |
|
Build from source:
git clone https://github.com/MCDxAI/minecraft-dev-mcp.git
cd minecraft-dev-mcp
npm install
npm run buildTroubleshooting
Issue | Solution |
Java not found — | Install Java 17+ from Adoptium • Verify with |
Decompilation fails | Check available disk space (~500 MB per version) • Review |
Yarn not available — | Yarn is only supported for 1.14–1.21.11 • Use |
Class not found | Use the fully qualified class name (e.g., |
Registry returns no data | Registry names use singular form: |
WSL path error | Both |
Credits
Project | Details |
VineFlower | Modern Java decompiler by the Vineflower Team |
tiny-remapper | JAR remapping tool by FabricMC |
Yarn Mappings | Community-maintained mappings by FabricMC |
MCP SDK | Protocol implementation by Anthropic |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceSmart MCP server that reads your code, understands file connections, and provides precise context to AI coding assistants, reducing token usage and preventing errors from outdated or irrelevant files.Last updated173MIT
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server for exploring, analyzing, and decompiling Java JAR files.Last updated1244MIT
- Alicense-qualityCmaintenanceMCP server that exposes an AI decompiler via an OpenAI-compatible API, enabling decompilation, explanation, and variable renaming of disassembly for binary analysis.Last updatedMIT
- AlicenseAqualityAmaintenanceAn MCP server that empowers AI coding agents to work effectively with Minecraft mod development, providing static analysis of decompiled source code and runtime interaction with a running Minecraft instance.Last updated314610MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MCDxAI/minecraft-dev-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server