能力标签
🔌
MCP工具

Minecraft 开发工具

基于 TypeScript · 让 AI 助手直接操作你的系统与工具
英文名:mcdev-mcp
⭐ 6 Stars 🍴 1 Forks 💻 TypeScript 📄 NOASSERTION 🏷 AI 7.5分
7.5AI 综合评分
mcptypescript
⚙️ 配置说明
✦ AI Skill Hub 推荐

AI Skill Hub 推荐使用:Minecraft 开发工具 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。

📚 深度解析
Minecraft 开发工具 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 Minecraft 开发工具,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。Minecraft 开发工具 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 Minecraft 开发工具 评为 AI 评分 7.5 分,属于同类工具中的优质选择。
📋 工具概览

MCP server for Minecraft Development,帮助开发者提高开发效率

Minecraft 开发工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 6
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
NOASSERTION
AI 综合评分
7.5 分
工具类型
MCP工具
Forks
1
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

MCP server for Minecraft Development,帮助开发者提高开发效率

Minecraft 开发工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/use-ai-for-mc/mcdev-mcp

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "minecraft-----": {
      "command": "npx",
      "args": ["-y", "mcdev-mcp"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 Minecraft 开发工具 执行以下任务...
Claude: [自动调用 Minecraft 开发工具 MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "minecraft_____": {
      "command": "npx",
      "args": ["-y", "mcdev-mcp"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 87/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

mcdev-mcp

CI License: MIT

An MCP (Model Context Protocol) server that empowers AI coding agents to work effectively with Minecraft mod development. Provides both static analysis of decompiled source code and runtime interaction with a running Minecraft instance.

Features

Runtime Interaction (requires [DebugBridge](https://github.com/use-ai-for-mc/debugbridge) mod)

  • Live Lua Execution — Execute Lua scripts inside the running Minecraft JVM (mc_execute)
  • Game State Snapshots — Player position, health, dimension, time, weather (mc_snapshot)
  • Screenshots, Recordings & Screen Inspection — Game-window JPEG, multi-frame contact sheet for temporal debug, and current-GUI structure (mc_screenshot, mc_record_video, mc_screen_inspect)
  • World Introspection — Nearby entities and block-entities, plus per-id details (mc_nearby_entities, mc_entity_details, mc_nearby_blocks, mc_block_details, mc_looked_at_entity)
  • Visual Markers — Outline entities or blocks for the user to spot (mc_set_entity_glow, mc_set_block_glow, mc_clear_block_glow)
  • Item Texture Rendering — Render an inventory slot, an item id, or a slot on another entity as PNG (mc_get_item_texture, mc_get_item_texture_by_id, mc_get_entity_item_texture)
  • Chat History — Recent client-side chat messages (mc_chat_history)
  • Slash Commands — Execute in-game commands (mc_run_command, opt-in dev tool)
  • Script Execution Logs — Review past mc_execute runs and error patterns (mc_script_logs, opt-in via Claude Desktop user setting)

Static Tool Requirements

ToolRequires initRequires callgraph
mc_version--
mc_search-
mc_get_class-
mc_get_method-
mc_list_classes-
mc_list_packages-
mc_find_hierarchy-
mc_find_refs

Requirements

DependencyVersionPurpose
Node.js18+Runtime
Java8+Decompilation (Vineflower) & callgraph
~2GBdiskDecompiled sources + cache
Note: Java 17+ is recommended for the callgraph command due to Gradle compatibility.

Download, decompile, and index Minecraft sources (~2-5 minutes)

npx mcdev-mcp init -v 1.21.11 ```

This command: 1. Downloads the Minecraft client JAR 2. Decompiles using Vineflower (pure Java, 8 threads) 3. Builds the symbol index (classes, methods, fields, inheritance) 4. Generates call graph for mc_find_refs

Data is stored in your OS cache directory (see Storage location below), so it persists across npx invocations. Expect roughly ~2 GB per Minecraft version — mostly decompiled .java sources and a SQLite callgraph database. All of it is regeneratable, so your OS is free to evict it under storage pressure and init will rebuild what it needs.

3. (Optional) Install DebugBridge for live-game tools

The static analysis tools (mc_search, mc_get_class, mc_find_refs, …) work as soon as init finishes. The runtime tools (mc_execute, mc_snapshot, screenshots, world introspection, item textures, glow markers, etc.) additionally require the DebugBridge mod installed in the Minecraft instance you want to drive. Without DebugBridge, those tools will just report a connection error — the static half keeps working unaffected.

Verify Installation

npx mcdev-mcp status
Note: mc_version (with action: "set") must be called before using any other static MCP tools. If the version isn't initialized, the AI will be instructed to ask you to run init.

Install from source (development)

```bash git clone https://github.com/use-ai-for-mc/mcdev-mcp.git cd mcdev-mcp npm install npm run build

Use the local build instead of npx

node dist/cli.js init -v 1.21.11 node dist/cli.js serve # stdio MCP server; MCP clients launch this ```

Upgrading from an older version? If you have a previous installation using DecompilerMC, run npx mcdev-mcp clean --all first to remove old cached data.

or, to re-index an already-decompiled version:

MCDEV_AST_PARSER=1 npx mcdev-mcp rebuild -v 1.21.11 --with-callgraph


The MCP server stamps `manifest.indexerVersion` so it can tell which parser produced the existing index. When you flip the flag but haven't rebuilt yet, the server prints a one-time hint per version on the next tool call:
[source-store/manifest:1.21.11] Index was built with the 'regex' parser, but the server is now running the 'ast' parser. This is fine — existing indices still work — but the new parser would produce a better index. Run mcdev-mcp rebuild -v 1.21.11 (or init -v 1.21.11 for a full re-fetch) to refresh. Set MCDEV_SUPPRESS_INDEXER_HINT=1 to silence this message. ```

Installing the MCPB in Claude Desktop

Download the bundle from the Releases page and double-click the .mcpb file. Claude Desktop will validate the manifest and offer to install it. After install, run mcdev-mcp init -v <version> in a terminal once to populate the cache (the extension cannot trigger init itself — it's deliberately terminal-only, see Quick Start).

Quick Start

Security note — init is intentionally terminal-only. The MCP server only exposes read/query tools. Downloading and decompiling Minecraft sources must be triggered by you in the terminal; an AI agent connected to the server has no tool surface to trigger init, rebuild, clean, or callgraph.

`mc_screenshot`

Capture the game window as a JPEG file and return its path.

{
  "downscale": 2,
  "quality": 0.75
}

(Optional) Skip Call Graph

```bash

CLI Commands

Invoke via npx mcdev-mcp <command> (or node dist/cli.js <command> from a source checkout).

CommandDescription
serveStart the MCP server over stdio (launched by MCP clients — not run by humans)
init -v <version>Download, decompile, index Minecraft sources, and generate callgraph
init -v <version> --skip-callgraphSame as above but skip callgraph generation
callgraph -v <version>Generate call graph for mc_find_refs
statusShow all initialized versions and what stage each one is at
rebuild -v <version>Rebuild the symbol index from already-cached sources
rebuild -v <version> --with-callgraphAlso regenerate the callgraph in the same run
clean -v <version> --allRemove cached data for one version
clean --allRemove all cached data across versions

`mc_list_packages`

List all available packages. Optionally filter by namespace.

{
  "namespace": "minecraft"
}
NamespaceDescription
minecraftMinecraft client classes
fabricFabric API classes (if indexed)

1. Bump the version. npm version only touches package.json; mirror the same

2. Commit the manifest bump (npm version already committed package.json)

git commit -am "Sync manifest.json version" git tag -f "v$(node -p 'require(\"./package.json\").version')"

Third-Party Components

This project includes or uses third-party software under the following licenses:

  • DecompilerMC (MIT) — Decompiler logic adapted and translated from Python to TypeScript in src/decompiler/
  • Vineflower (Apache-2.0) — Java decompiler used for source generation
  • java-callgraph2 — Cloned at runtime for static call graph generation

Additional runtime dependencies (downloaded/used): - Mojang — Official ProGuard mappings and Minecraft client JAR

See LICENSE for full license text and third-party attributions.

🇨🇳 中文文档镜像 AI 翻译 2026-05-26
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

mcdev-mcp 是一个专为 Minecraft Mod 开发设计的 MCP (Model Context Protocol) 服务端。它通过为 AI Coding Agent 提供强大的上下文感知能力,让 AI 能够深度理解并参与到 Minecraft 的开发流程中,实现从代码分析到游戏内实时交互的智能化开发体验。

⚡ 功能介绍

本项目提供两类核心功能:静态分析工具,支持通过 `mc_search`、`mc_get_class` 等工具检索 Minecraft 源码、类、方法及继承关系;运行时交互工具,通过集成 DebugBridge,支持在运行中的 Minecraft JVM 内执行 Lua 脚本 (`mc_execute`)、获取游戏状态快照 (`mc_snapshot`) 以及进行屏幕截图与视觉检查,实现真正的“感知型”开发。

📋 环境依赖

使用静态分析工具(如 `mc_search`、`mc_get_class` 等)仅需完成初始化;若需使用运行时交互工具(如 `mc_execute`、截图、世界内省等),则必须在目标 Minecraft 实例中安装 [DebugBridge](https://github.com/use-ai-for-mc/debugbridge) Mod。此外,部分工具在调用前需确保已通过 `mc_version` 完成版本设置。

🛠 安装步骤(Docker/pip/源码)

首先,在终端运行 `npx mcdev-mcp init -v <版本号>` 进行初始化。该命令会自动下载 Minecraft client JAR,使用 Vineflower 进行反编译(支持 8 线程加速),并构建符号索引与 Call Graph。处理过程约需 2-5 分钟,数据将持久化存储在操作系统的缓存目录中。完成初始化后,即可通过 `npx mcdev-mcp status` 验证安装状态。

🚀 使用教程

快速上手指南:请注意,出于安全考虑,`init` 初始化操作被设计为仅限终端执行。MCP Server 本身仅暴露只读/查询类的工具集,AI Agent 无法直接触发 `init`、`rebuild` 或 `clean` 等破坏性操作。在开始使用任何静态 MCP 工具前,请务必确保已通过 `mc_version` 工具正确设置了目标版本。

⚙️ 配置说明(含 MCP / env)

配置说明:默认情况下,系统会构建完整的 Call Graph 以支持 `mc_find_refs` 等高级查询。如果希望优化性能或减少资源占用,可以通过配置跳过 Call Graph 的构建过程。所有索引数据均存储在 OS 缓存目录中,确保了在多次 `npx` 调用之间的数据持久性。

🔌 API 说明

本项目提供 CLI 命令行接口,可通过 `npx mcdev-mcp <command>` 进行调用。主要命令包括:`serve` 用于通过 stdio 启动 MCP Server(供 MCP 客户端调用);`init -v <version>` 用于下载、反编译并索引指定版本的 Minecraft 源码。开发者也可以通过源码目录下的 `node dist/cli.js` 直接运行命令。

🔄 工作流/模块

模块化查询工作流:本项目提供了细粒度的包管理查询功能。通过 `mc_list_packages` 工具,开发者可以列出所有可用的包(如 `minecraft` 客户端类或已索引的 `fabric` API 类),并支持通过 `namespace` 参数进行过滤,从而实现精准的代码上下文检索。

🎯 aiskill88 AI 点评 A 级 2026-05-25

该项目是一个开源的MCP工具,使用TypeScript编写,提供了一个Minecraft开发的服务器端工具,帮助开发者提高开发效率,值得关注

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 跨境业务、多语言内容运营团队
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
mcdev-mcp 中文教程mcdev-mcp 安装报错怎么办mcdev-mcp MCP 配置mcdev-mcp Agent 工作流mcdev-mcp 与同类工具对比mcdev-mcp 最佳实践mcdev-mcp 适合谁用
⚡ 核心功能
👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 跨境业务、多语言内容运营团队
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
👥 适合人群
Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师
🎯 使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
⚖️ 优点与不足
✅ 优点
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。

🔗 相关工具推荐
📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
mcdev-mcp 是一款TypeScript开发的AI辅助工具。开源MCP工具:MCP server for Minecraft Development。⭐6 · TypeScript 主要应用场景包括:用于Minecraft开发的开源MCP工具,提高开发效率。
💡 AI Skill Hub 点评

总体来看,Minecraft 开发工具 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
📚 深入学习 Minecraft 开发工具
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 mcdev-mcp
原始描述 开源MCP工具:MCP server for Minecraft Development。⭐6 · TypeScript
Topics mcptypescript
GitHub https://github.com/use-ai-for-mc/mcdev-mcp
License NOASSERTION
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/use-ai-for-mc/mcdev-mcp

收录时间:2026-05-25 · 更新时间:2026-05-26 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。