经 AI Skill Hub 精选评估,MCP工具 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/MCDxAI/minecraft-dev-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp--": {
"command": "npx",
"args": ["-y", "minecraft-dev-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP工具 执行以下任务... Claude: [自动调用 MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp__": {
"command": "npx",
"args": ["-y", "minecraft-dev-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
| 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 find_mapping |
| **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 validation** | Validate Mixin annotations and .accesswidener files against decompiled source with error reporting and fix suggestions |
| **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 |
20 tools across 4 categories — see docs/tools.md for the full reference.
</div>
---
| Requirement | Details |
|---|---|
| **Node.js 18+** | [nodejs.org](https://nodejs.org/) |
| **Java 17+** | Required for decompilation and remapping • Verify with java -version • [Adoptium](https://adoptium.net/) or [Oracle JDK](https://www.oracle.com/java/technologies/downloads/) |
| Method | Command |
|---|---|
| **NPM (Recommended)** | npm install -g @mcdxai/minecraft-dev-mcp |
| **NPX (No Install)** | Use npx -y @mcdxai/minecraft-dev-mcp directly in config |
| **From Source** | See the [Development](#development) section |
| Environment Variable | Description |
|---|---|
CACHE_DIR | Override the default cache directory location |
LOG_LEVEL | Logging verbosity: DEBUG, INFO, WARN, ERROR |
</div>
{
"mcpServers": {
"minecraft-dev": {
"command": "minecraft-dev-mcp",
"env": {
"CACHE_DIR": "/custom/cache/path",
"LOG_LEVEL": "DEBUG"
}
}
}
}
---
| Workflow | Steps |
|---|---|
| **First-time source access** | Call get_minecraft_source — server downloads, remaps, and decompiles (~5 min first run). Subsequent requests for the same version return in ~50 ms from cache. |
| **Analyze a third-party mod** | analyze_mod_jar → remap_mod_jar → decompile_mod_jar → search_mod_code or index_mod + search_mod_indexed |
| **Validate a Fabric mixin** | analyze_mixin with your Java source or file path — validates targets, injection points, and method selectors against the decompiled MC version. |
| **Find breaking changes between versions** | compare_versions for a high-level overview, then compare_versions_detailed scoped to specific packages for full AST-level diffs. |
| **Fast broad search** | index_minecraft_version once, then search_indexed with FTS5 queries: entity AND damage, "onBlockBreak", tick*, BlockEntity NOT render. |
| **Translate obfuscated names** | find_mapping with sourceMapping: "official" to look up the Yarn or Mojmap equivalent for any class, method, or field. |
</div>
---
| Issue | Solution |
|---|---|
**Java not found** — Java 17+ is required but not found | Install Java 17+ from [Adoptium](https://adoptium.net/) • Verify with java -version • Ensure java is on your PATH |
| **Decompilation fails** | Check 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 X | Yarn is only supported for 1.14–1.21.11 • Use mojmap for 26.1+ versions |
| **Class not found** | Use the fully qualified class name (e.g., net.minecraft.world.entity.Entity) • Verify the version is decompiled |
| **Registry returns no data** | Registry names use singular form: block, item, entity — not blocks, items, entities |
| **WSL path error** | Both /mnt/c/path/to/file and C:\path\to\file are accepted for all JAR path parameters |
</div>
---
这是一个 Minecraft 开发工具包(MCP),用于下载、重映射和反编译 Minecraft 版本(1.14+)。
MCP 提供了多种功能,包括按需反编译、多个映射命名空间和反编译源代码访问等。
MCP 需要 Node.js 18+ 和 Java 17+,可以从 Adoptium 或 Oracle JDK 下载。
可以使用 npm、npx 或从源码安装 MCP,具体步骤请参阅安装说明。
使用 MCP 的快速入门指南,包括获取 Minecraft 源代码和分析第三方模块等。
MCP 支持配置文件,包括缓存目录、日志级别等环境变量和关键参数的设置。
MCP 的工作流和模块说明,包括首次获取源代码和分析第三方模块等常见工作流程。
常见问题解答,包括 Java 未找到、反编译失败等问题的解决方案。
一个有用的Minecraft开发工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:MCP工具 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | minecraft-dev-mcp |
| 原始描述 | 开源MCP工具:Model Context Protocol server for Minecraft Development。⭐20 · TypeScript |
| Topics | minecraftmcptypescript |
| GitHub | https://github.com/MCDxAI/minecraft-dev-mcp |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-08 · 更新时间:2026-06-08 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端