mc-rp-assistant-mcp
mc-rp-assistant-mcp
用于 Minecraft 资源包分析、验证和管理的 MCP 服务器。读取 pack.mcmeta、验证结构、列出资源、比较资源包以及查询 Modrinth。
工具
工具 | 描述 |
| 从资源包目录或 .zip 文件中读取 pack.mcmeta |
| 验证资源包的结构并标记问题(缺少文件、格式不匹配、图标过大等) |
| 列出资源包中的所有资源路径(纹理/模型/声音/语言)。支持目录和 .zip 文件 |
| 比较两个资源包,报告新增、删除和更改的资源文件 |
| 按名称或标签在 Modrinth 上搜索资源包。最多返回 |
| 通过 slug 或项目 ID 获取 Modrinth 资源包的详细信息 |
| 验证纹理的大小限制(>2MB)、命名规范(小写、无空格)以及资源包图标大小 |
| 分析语言文件(.lang)并检测各语言之间缺失的翻译 |
| 比较两个资源包,提供详细的逐文件信息,包括新增/删除/更改资源的文件大小 |
Related MCP server: Packwright MCP
导出函数
readPackMetaExport(packPath)— 读取 pack.mcmetavalidateRpStructureExport(packPath, mcVersion?)— 验证资源包结构listRpAssetsExport(packPath, limit?)— 列出资源文件compareRpacksExport(oldPackPath, newPackPath)— 比较两个资源包searchRpOnModrinthExport(query, limit?)— 在 Modrinth 上搜索getRpInfoExport(slugOrId)— 从 Modrinth 获取资源包信息validateTexturesExport(packPath)— 验证纹理analyzeLangFilesExport(packPath)— 分析语言文件compareRpacksDiffExport(oldPackPath, newPackPath)— 详细的资源包比较
使用
{
"mcpServers": {
"mc-rp-assistant-mcp": {
"command": "node",
"args": ["<path/to/mc-rp-assistant-mcp>/dist/index.js"]
}
}
}开发
npm run build # Compile TypeScript
npm run test:unit # Run unit tests
npm test # Run all tests测试
npm run build
npm test所有单元测试均为离线运行,但 searchRpOnModrinth 和 getRpInfo 除外,这两个工具在没有网络时能优雅地返回空结果。
平台兼容性
工具 | Windows | macOS | Linux |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
所有工具都使用跨平台的 Node.js fs 和 path API。.zip 支持需要 adm-zip。依赖网络的工具(search_rp_on_modrinth、get_rp_info)在联网时可在所有平台上正常工作;离线时会优雅地返回空结果。
要求
Node.js 18+
@modelcontextprotocol/sdk、zod、adm-zip
许可证
MIT
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
- AlicenseNot gradedqualityDmaintenanceValidates Minecraft datapack JSON files (recipes, advancements, loot tables, etc.) against official Minecraft data formats using Spyglass.MIT
- AlicenseNot gradedqualityAmaintenanceA local-first MCP server for safely creating, inspecting, validating, testing, and packaging Minecraft Java Edition datapacks with guarded file access and deterministic builds.88MIT
- AlicenseAqualityCmaintenanceEnables AI agents to search, read, and publish Minecraft mods on Modrinth, including creating projects and uploading jar files as new versions.7MIT
- FlicenseNot gradedqualityCmaintenanceEnables creating Minecraft modpack structures, searching Modrinth mods, resolving dependencies, and checking compatibility.
Related MCP Connectors
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Create, validate, edit, export (markdown/svg/png/mermaid), and search JSON Canvas files.
Verify PyPI and npm packages, symbols, and version diffs against real artifacts. Free, no account.
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/dcd887/mc-rp-assistant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server