Minecraft Dev MCP Serverのロゴ

Minecraft Dev MCP Server

組織
MCDxAI

MCP server for Minecraft Development

公開者MCDxAI
リポジトリminecraft-dev-mcp
言語TypeScript
フォーク
10
スター
47
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Minecraft Dev MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには47件のスターと10件のフォークがあります。

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.

License Node.js MCP SDK Java WSL


Quick Start

Prerequisites

RequirementDetails
Node.js 18+nodejs.org
Java 17+Required for decompilation and remapping • Verify with java -version • Adoptium or Oracle JDK

Installation

MethodCommand
NPM (Recommended)npm install -g @mcdxai/minecraft-dev-mcp
NPX (No Install)Use npx -y @mcdxai/minecraft-dev-mcp directly in config
From SourceSee the Development section

Claude Desktop

Add to your Claude Desktop configuration file:

PlatformConfig Path
Windows%APPDATA%\Claude\claude_desktop_config.json
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json

NPM installation:

json
{
  "mcpServers": {
    "minecraft-dev": {
      "command": "minecraft-dev-mcp"
    }
  }
}

NPX (no installation required):

json
{
  "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:

json
{
  "mcpServers": {
    "minecraft-dev": {
      "command": "minecraft-dev-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.

FlagDescription
--httpStart with the Streamable HTTP transport instead of stdio
--port <number>Port to listen on (default: 3000) — also implies --http
--host <address>Host to bind to (default: 127.0.0.1)
bash
minecraft-dev-mcp --http --port 3000

The 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.1 enables 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.

bash
# 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 true

Output 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

FeatureDescription
On-demand decompilationDownload, remap, and decompile any Minecraft version (1.14+) on first use — cached for instant access afterward
Multiple mapping namespacesYarn, Mojmap (official), Intermediary, and obfuscated — translate any symbol between them with find_mapping
Decompiled source accessRetrieve Java source for any Minecraft class with optional line-range filtering
Mod JAR analysisAnalyze Fabric, Quilt, Forge, and NeoForge mods — metadata, mixins, dependencies, entry points — and decompile them
Mixin, Access Widener & Access Transformer validationValidate Mixin annotations, Fabric .accesswidener files, and Forge/NeoForge access transformer .cfg files with error reporting and fix suggestions. Access widener/transformer checks run against the game's real bytecode, catching inherited members, record constructors, inner-class reachability, and conflicts across multiple AT files
Version diffClass-level and AST-level diff between any two Minecraft versions — method signatures, field changes, breaking changes
Forge/NeoForge patched sourceBuild and browse the Minecraft source as modified by Forge/NeoForge (loader sources included), diff it against vanilla — fetched automatically via NeoFormRuntime
Full-text searchSQLite FTS5 indexes for fast BM25-ranked search across Minecraft and mod source

26 tools across 5 categories — see docs/tools.md for the full reference.


Common Workflows

WorkflowSteps
First-time source accessCall get_minecraft_source — server downloads, remaps, and decompiles (~5 min first run). Subsequent requests for the same version return in ~50 ms from cache.
View Forge/NeoForge-modified Minecraft codelist_forge_versions (optional) → get_forge_source — the patched tree (loader sources included, mojmap-only) builds automatically on first use via NeoFormRuntime (Java 21; first build takes minutes). Then search_forge_code / compare_vanilla_vs_forge, or any vanilla tool with the version key 1.21.1-neoforge-21.1.72.
Analyze a third-party modanalyze_mod_jar → remap_mod_jar → decompile_mod_jar → search_mod_code or index_mod + search_mod_indexed
Validate a Fabric mixinanalyze_mixin with your Java source or file path — validates targets, injection points, and method selectors against the decompiled MC version.
Find breaking changes between versionscompare_versions for a high-level overview, then compare_versions_detailed scoped to specific packages for full AST-level diffs.
Fast broad searchindex_minecraft_version once, then search_indexed with FTS5 queries: entity AND damage, "onBlockBreak", tick*, BlockEntity NOT render.
Translate obfuscated namesfind_mapping with sourceMapping: "official" to look up the Yarn or Mojmap equivalent for any class, method, or field.

Version Support

Version RangeYarnMojmapNotes
1.14 – 1.21.11Full supportFull supportObfuscated — two-step remapping required (official → intermediary → named)
26.1+Not availableFull supportDeobfuscated 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 VariableDescription
CACHE_DIROverride the default cache directory location
LOG_LEVELLogging verbosity: DEBUG, INFO, WARN, ERROR
json
{
  "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).

PlatformCache Path
Windows%APPDATA%\minecraft-dev-mcp
macOS~/Library/Application Support/minecraft-dev-mcp
Linux / WSL~/.config/minecraft-dev-mcp

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

PathContents
jars/Client and server JARs
mappings/Yarn, Mojmap, and Intermediary mapping files
remapped/Remapped JARs
decompiled/<version>/<mapping>/Decompiled Minecraft source
decompiled-mods/<modId>/<modVersion>/<mapping>/Decompiled third-party mod source
registry/<version>/Extracted registry data (blocks, items, entities)
resources/Java tool JARs (VineFlower, tiny-remapper)
cache.dbSQLite metadata database
search_index.dbSQLite FTS5 full-text search index
minecraft-dev-mcp.logServer log file

Development

TaskCommand
Install dependenciesnpm install
Buildnpm run build
Dev mode (hot reload)npm run dev
Testsnpm test

Build from source:

bash
git clone https://github.com/MCDxAI/minecraft-dev-mcp.git
cd minecraft-dev-mcp
npm install
npm run build

Troubleshooting

IssueSolution
Java not found — Java 17+ is required but not foundInstall Java 17+ from Adoptium • Verify with java -version • Ensure java is on your PATH
Decompilation failsCheck available disk space (~500 MB per version) • Review %APPDATA%\minecraft-dev-mcp\minecraft-dev-mcp.log • Force re-decompile by passing "force": true
Yarn not available — Yarn mappings not available for version XYarn is only supported for 1.14–1.21.11 • Use mojmap for 26.1+ versions
Class not foundUse the fully qualified class name (e.g., net.minecraft.world.entity.Entity) • Verify the version is decompiled
Registry returns no dataRegistry names use singular form: block, item, entity — not blocks, items, entities
WSL path errorBoth /mnt/c/path/to/file and C:\path\to\file are accepted for all JAR path parameters

Credits

ProjectDetails
VineFlowerModern Java decompiler by the Vineflower Team
tiny-remapperJAR remapping tool by FabricMC
Yarn MappingsCommunity-maintained mappings by FabricMC
MCP SDKProtocol implementation by Anthropic

インストール

TypingMind
{
  "mcpServers": {
    "minecraft-dev-mcp": {
      "command": "minecraft-dev-mcp",
      "args": []
    }
  }
}

Minecraft Dev MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Minecraft Dev MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Minecraft Dev MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Minecraft Dev MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "minecraft-dev-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@minecraft-dev/mcp-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMinecraft Dev MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Minecraft Dev MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Minecraft Dev MCP Serverを使ってこのタスクを手伝ってもらえますか?
Minecraft Dev MCP Server
はい、読みました。
Minecraft Dev MCP Serverで調べた結果をお伝えします。

よくある質問

Minecraft Dev MCP Server MCPサーバーは何に使いますか?

Minecraft Dev MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMinecraft Dev MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMinecraft Dev MCP Serverを利用できます。

TypingMindでMinecraft Dev MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Minecraft Dev MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Minecraft Dev MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Minecraft Dev MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMinecraft Dev MCP Server MCPのどのようなツールを利用できますか?

Minecraft Dev MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Minecraft Dev MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Minecraft Dev MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇