mc-modpack-mcp
Provides tools for querying the Modrinth API to check mod dependencies and compatibility for Minecraft mods.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mc-modpack-mcpanalyze my latest crash report and list possible mod conflicts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mc-modpack-mcp
MCP (Model Context Protocol) server for Minecraft modpack diagnostics. Supports Fabric/Forge mod conflict detection, log analysis, crash reports, and dependency lookup. get_java_versions requires PCL launcher on Windows; all other tools work cross-platform.
Features
Java version detection — reads PCL config to list all available Java runtimes
Version info — parses instance JSON to extract Minecraft version, loader, Java requirements, JVM args
Conflict detection — finds known problematic mod combinations (renderers, UI libs, JEI, Fabric API)
Cleanliness scan — detects non-JAR files, source jars, scripts in mods/ directory
Log analysis — reads latest.log with level filtering (INFO/WARN/ERROR) and keyword search
Crash report analysis — finds and parses crash-reports, extracts exception type and summary
Dependency lookup — queries Modrinth API for mod version and dependency info
Related MCP server: mcdev-mcp
Tools
Tool | Description |
| List all Java runtimes from PCL config |
| Read instance metadata (version, loader, Java, JVM args, mod count) |
| Scan mods/ directory, optionally filter by regex |
| Detect known mod conflicts (Sodium/Embeddium, Iris, UI Lib, JEI, Fabric API) |
| Find non-JAR files, source jars, scripts in mods/ |
| Read latest.log with level/keyword/tail filtering |
| List all crash reports in crash-reports/ |
| Parse a crash report, extract exception type and summary |
| Query Modrinth API for mod deps and compatibility |
Installation
Prerequisites
Node.js 18+
npm
A Minecraft instance (any launcher — macOS/Linux users must pass
mc_direxplicitly for all tools)
Note:
get_java_versionsreads PCL launcher config and works on Windows only. All other tools are cross-platform.
Build
cd mc-modpack-mcp
npm install
npm run buildRun as standalone MCP server
node dist/index.jsThe server communicates via stdio (JSON-RPC 2.0). It can be consumed by any MCP-compatible client.
Configuration for MCP clients
Add to your MCP client config (e.g., .mcp.json or equivalent):
{
"mcpServers": {
"mc-modpack": {
"command": "node",
"args": ["/absolute/path/to/mc-modpack-mcp/dist/index.js"]
}
}
}Usage Examples
Get Java versions from PCL
{
"name": "get_java_versions",
"arguments": {
"mc_dir": "{your_minecraft_directory}"
}
}Detect conflicts in an instance
{
"name": "detect_conflicts",
"arguments": {
"mc_dir": "{your_minecraft_directory}",
"instance_id": "rpg"
}
}Read WARN logs (last 50 lines)
{
"name": "read_log",
"arguments": {
"mc_dir": "{your_minecraft_directory}",
"instance_id": "rpg",
"level": "WARN",
"tail": 50
}
}Check mod dependencies via Modrinth
{
"name": "check_mod_dependencies",
"arguments": {
"project_id": "sodium",
"mc_version": "1.20.1",
"loader": "fabric"
}
}Architecture
mc-modpack-mcp/
├── src/
│ └── index.ts # All tool implementations + MCP server setup
├── dist/ # Compiled JavaScript (output of tsc)
├── skills/
│ └── mc-modpack-helper/
│ └── SKILL.md # Trae Work skill for modpack diagnostics
├── package.json # Node.js dependencies (@modelcontextprotocol/sdk, zod)
├── tsconfig.json # TypeScript config (CommonJS output)
├── .gitignore
├── test.js # Integration test runner
├── test_logs/ # Test output logs (gitignored)
└── backups/ # Backup snapshots from tests (gitignored)The MCP uses the official @modelcontextprotocol/sdk v1.x with McpServer and StdioServerTransport. All tools use server.tool() registration pattern compatible with the MCP SDK specification.
Skills
This repository also includes a Trae Work skill for modpack diagnostics. After cloning, copy the skill to your Trae Work skills directory:
Windows (PowerShell):
copy skills\mc-modpack-helper\SKILL.md "$env:USERPROFILE\.trae\skills\mc-modpack-helper\SKILL.md"macOS / Linux:
mkdir -p ~/.trae/skills/mc-modpack-helper
cp skills/mc-modpack-helper/SKILL.md ~/.trae/skills/mc-modpack-helper/SKILL.mdSee SKILL.md for the full skill documentation with 8-phase diagnostic workflow.
Testing
npm run build
MC_DIR=/path/to/your/.minecraft node test.jsOr on Windows (PowerShell):
$env:MC_DIR="C:\path\to\your\.minecraft"; node test.jsTests create backups before running and log results to test_logs/. See individual test log files for detailed output.
Platform Compatibility
Tool | Windows | macOS | Linux |
| ✅ Full | ⚠️ PCL-only | ⚠️ PCL-only |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
| ✅ | ✅ | ✅ |
All tools accept mc_dir as an explicit path. get_java_versions auto-detects PCL on Windows; on other platforms it returns a clear message when PCL config is absent.
License
MIT
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 gradedqualityDmaintenanceAn external MCP server for diagnosing Minecraft servers via backup analysis, local runtime, or Docker runtime, offering tools for plugin inspection, log analysis, configuration linting, and performance diagnostics.1MIT
- AlicenseAqualityAmaintenanceAn MCP server that empowers AI coding agents to work effectively with Minecraft mod development, providing static analysis of decompiled source code and runtime interaction with a running Minecraft instance.313912MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that helps AI agents inspect Minecraft project evidence (crash logs, mod files, datapacks) before writing development code.3
- FlicenseBqualityBmaintenanceMCP server for searching, browsing, and analyzing decompiled Minecraft source code locally. Supports symbol lookup, text search, reference lookup, and lightweight RAG.11
Related MCP Connectors
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
An MCP server for deep research or task groups
A MCP server built for developers enabling Git based project management with project and personal…
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-modpack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server