
Mc Rp Assistant
io.github.dcd887Published by GitHub account dcd887v1.0.0Updated Oct 24, 2026
Minecraft 资源包助手:贴图清单、模型校验、语言文件检查
Overview
Local MCP server that lets an assistant inspect, validate and compare Minecraft resource packs, and search Modrinth for packs.
- What you can do
- Read pack.mcmeta and list asset paths (textures, models, sounds, lang) from a pack directory or .zip file
- Validate pack structure, flagging missing files, format mismatches and oversized icons
- Validate textures for size limits and naming conventions, and analyze language files for missing translations
- Compare two resource packs, reporting added, removed and changed assets with per-file sizes
- Search Modrinth for resource packs and fetch details for a pack by slug or project ID
- When to use it
- Useful when building, reviewing or updating Minecraft resource packs and you want an assistant to check structure, textures and translations, diff two versions, or look up packs on Modrinth without leaving the chat.
- Requirements
- Runs locally as a Node.js process (Node.js 18+); the npm package mc-rp-assistant-mcp is started over stdio. No account or API key is needed. Network access is required only for the Modrinth search and info tools. Optional environment variables tune the Modrinth API base, User-Agent, texture and icon size limits, and search result limits.
Installation
In SourceWeft
- Open Mc Rp Assistant in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mc-rp-assistant-mcp
MCP server for Minecraft resource pack analysis, validation, and management. Reads pack.mcmeta, validates structure, lists assets, compares packs, and queries Modrinth.
Tools
Exported Functions
readPackMetaExport(packPath)— Read pack.mcmetavalidateRpStructureExport(packPath, mcVersion?)— Validate pack structurelistRpAssetsExport(packPath, limit?)— List asset filescompareRpacksExport(oldPackPath, newPackPath)— Compare two packssearchRpOnModrinthExport(query, limit?)— Search ModrinthgetRpInfoExport(slugOrId)— Get pack info from ModrinthvalidateTexturesExport(packPath)— Validate texturesanalyzeLangFilesExport(packPath)— Analyze language filescompareRpacksDiffExport(oldPackPath, newPackPath)— Detailed pack comparison
MCP Client Configuration
Add to your MCP client config (e.g., Trae settings.json or MCP CLI config):
Path note:
${workspaceFolder}resolves to the project root in Trae/VS Code. If using another editor, replace with the absolute path, e.g.["C:/Users/xxx/Desktop/mc-rp-assistant-mcp/dist/index.js"].
Configuration
本工具零配置即可用(内置默认值,任何环境开箱即用)。以下项目可通过环境变量或项目根目录 .env 文件覆盖(复制 .env.example 为 .env):
优先级:环境变量 > .env 文件 > rp-config.json > 内置默认值。改动后重启 MCP server 生效。
扩展默认配置:编辑 src/rp-config.json(构建后为 dist/rp-config.json)可调整搜索上限、pack.png 大小阈值与 MC 版本 → pack_format 映射,无需改代码。
Requirements
- Node.js 18+
@modelcontextprotocol/sdk,zod,adm-zipadm-zipis required for.zip/.mcpkgresource pack support — included as a dependency
Development
Testing
All unit tests are offline except searchRpOnModrinth and getRpInfo which gracefully return empty results when no network is available.
Platform Compatibility
All tools use cross-platform Node.js fs and path APIs. .zip support requires adm-zip. Network-dependent tools (search_rp_on_modrinth, get_rp_info) work on all platforms when online; they return empty results gracefully when offline.
Requirements
- Node.js 18+
@modelcontextprotocol/sdk,zod,adm-zip
License
MIT
Source: README.md at commit d4223e1
Tools
0Version history
1- v1.0.0LatestOct 23, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts