Skip to main content
Glama
dcd887

mc-rp-assistant-mcp

by dcd887

mc-rp-assistant-mcp

用于 Minecraft 资源包分析、验证和管理的 MCP 服务器。读取 pack.mcmeta、验证结构、列出资源、比较资源包以及查询 Modrinth。

工具

工具

描述

read_packmeta

从资源包目录或 .zip 文件中读取 pack.mcmeta

validate_rp_structure

验证资源包的结构并标记问题(缺少文件、格式不匹配、图标过大等)

list_rp_assets

列出资源包中的所有资源路径(纹理/模型/声音/语言)。支持目录和 .zip 文件

compare_rpacks

比较两个资源包,报告新增、删除和更改的资源文件

search_rp_on_modrinth

按名称或标签在 Modrinth 上搜索资源包。最多返回 limit 条结果

get_rp_info

通过 slug 或项目 ID 获取 Modrinth 资源包的详细信息

validate_textures

验证纹理的大小限制(>2MB)、命名规范(小写、无空格)以及资源包图标大小

analyze_lang_files

分析语言文件(.lang)并检测各语言之间缺失的翻译

compare_rpacks_diff

比较两个资源包,提供详细的逐文件信息,包括新增/删除/更改资源的文件大小

Related MCP server: Packwright MCP

导出函数

  • readPackMetaExport(packPath) — 读取 pack.mcmeta

  • validateRpStructureExport(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

所有单元测试均为离线运行,但 searchRpOnModrinthgetRpInfo 除外,这两个工具在没有网络时能优雅地返回空结果。

平台兼容性

工具

Windows

macOS

Linux

read_packmeta

validate_rp_structure

list_rp_assets

compare_rpacks

search_rp_on_modrinth

get_rp_info

validate_textures

analyze_lang_files

compare_rpacks_diff

所有工具都使用跨平台的 Node.js fspath API。.zip 支持需要 adm-zip。依赖网络的工具(search_rp_on_modrinthget_rp_info)在联网时可在所有平台上正常工作;离线时会优雅地返回空结果。

要求

  • Node.js 18+

  • @modelcontextprotocol/sdkzodadm-zip

许可证

MIT

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to search, read, and publish Minecraft mods on Modrinth, including creating projects and uploading jar files as new versions.
    7
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables creating Minecraft modpack structures, searching Modrinth mods, resolving dependencies, and checking compatibility.

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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