Server data from the Official MCP Registry
Modrinth search, crash/Spark diagnostics, modpack migration, .mrpack & O(log n) bisection
About
Modrinth search, crash/Spark diagnostics, modpack migration, .mrpack & O(log n) bisection
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"modrinth-mcp": {
"command": "uvx",
"args": [
"modrinth-mcp==1.0.0"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
modrinth-mcp
Connect Claude, Cursor, or Windsurf to Modrinth and your local Minecraft instances. Parse crash logs and Spark profiles with deterministic rules, inspect installed JARs, migrate modpacks between Minecraft versions, export .mrpack archives, and bisect crashes in $O(\log n)$ steps.
No API keys, no Modrinth login, and no required in-game mods. Spark is optional and only comes into play when you pass a Spark link or JSON export.
Example Prompts
- "My Prism 1.21.1 instance crashes on launch. Inspect the crash log and pinpoint the mod causing it."
- "Analyze
https://spark.lucko.me/<id>, rank the mods eating MSPT, and preview config tweaks." - "Dry-run migrating my Fabric 1.20.1 instance to 1.21.1 and flag incompatible mods."
- "Find client-only mods in this instance and export a
.mrpack."
Runtime Modes
| Mode | Flag | Transport | Exposed Surface | Filesystem Access |
|---|---|---|---|---|
| Local (default) | --mode local | stdio | All 18 tools + 4 built-in prompts | Confined to --allowed-roots / MODRINTH_MCP_ALLOWED_ROOTS (or OS launcher defaults) |
| Remote | --mode remote | Streamable HTTP (/mcp, stateless) | 6 stateless tools + 4 built-in prompts | None |
Safety Guarantees
- Path-traversal confinement: Every local read or write resolves paths and rejects
.., null bytes, and symlinks or junctions escaping allowed instance roots. - Dry-run by default:
modify_instance_mods,edit_mod_config, andmigrate_instance_versiondefault todry_run=Trueand snapshotmods/andconfig/(retaining the latest 10 snapshots) before applying changes. - SHA-512 verification: Mod downloads only hit
https://cdn.modrinth.comand verify against Modrinth's SHA-512 hash before placement. - Modrinth rate-limit & cache etiquette: Sends a unique
User-Agent, uses batch endpoints (POST /v2/version_files,POST /v2/version_files/update), enforces a sliding-window rate guard (< 300 req/min), and caches responses in a local SQLite TTL database. - SSRF protection (Spark): Remote URLs in
analyze_spark_profileonly allowhttps://spark.lucko.me/<id>.
Quick Start
# Run locally via uvx (stdio, all 18 tools + 4 prompts)
uvx modrinth-mcp --mode local
# Or restrict local filesystem access to a specific launcher directory
uvx modrinth-mcp --mode local --allowed-roots "C:\Users\you\AppData\Roaming\ModrinthApp"
# Run stateless remote HTTP server on http://127.0.0.1:8000/mcp (6 tools only)
uvx modrinth-mcp --mode remote --host 0.0.0.0 --port 8000
Optional Docker Deployment (Remote Mode)
docker build -t modrinth-mcp .
docker run -p 8000:8000 modrinth-mcp
CLI Options
--mode {local,remote}(default:local)--allowed-roots [PATH ...](overridesMODRINTH_MCP_ALLOWED_ROOTS)--host(default:127.0.0.1, remote mode only)--port(default:8000, remote mode only)--user-agent(default:MODRINTH_MCP_USER_AGENTorArthurofox/modrinth-mcp/1.0.0)--cache-db(default: OS cache directory SQLite file)
Client Configuration Snippets
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"modrinth": {
"command": "uvx",
"args": ["modrinth-mcp", "--mode", "local"]
}
}
}
Claude Code (1-command CLI or .mcp.json)
claude mcp add modrinth -- uvx modrinth-mcp --mode local
{
"mcpServers": {
"modrinth": {
"command": "uvx",
"args": ["modrinth-mcp", "--mode", "local"]
}
}
}
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"modrinth": {
"command": "uvx",
"args": ["modrinth-mcp", "--mode", "local"]
}
}
}
Windsurf (~/.codeium/windsurf/mcp_config.json)
{
"mcpServers": {
"modrinth": {
"command": "uvx",
"args": ["modrinth-mcp", "--mode", "local"]
}
}
}
Built-in MCP Prompts
fix_crash: Guided crash diagnosis → inspection → minimal dry-run fix (orbisect_crash).upgrade_modpack: Guidedmigrate_instance_versiondry-run → compatibility report → snapshot-backed migration.diagnose_lag: Guided Spark TPS/MSPT + mod-level bottleneck analysis → config/alternative fixes.prepare_server_pack: Guided client-only mod audit (client_only_mods) → optional.mrpackexport.
Exposed MCP Tools
A. Modrinth API Tools (Local + Remote)
search_modrinth: Search mods, modpacks, or shaders filtered bymc_version,loader, andproject_type.get_project_details: Compact project summary card (description,categories,license,wiki_url,source_url,issues_url, sides, truncatedbody).get_project_versions: List compatible versions and their dependency trees (required,optional,incompatible).check_compatibility_matrix: Check version availability, missing required deps, and explicit incompatibilities across slugs, project IDs, SHA-512 hashes, or (in local mode) an entireinstance_path.
B. Diagnostic & Log Analysis Tools (Local + Remote)
analyze_crash_log: Deterministic parser classifyingmixin_conflict,missing_dep,version_mismatch,oom, orunknownfromraw_log_text(or localinstance_path).analyze_spark_profile: Parse ahttps://spark.lucko.me/<id>URL (or local Spark JSON in local mode) into TPS, 95th-percentile MSPT, leaf hotspots, and mod-attributed inclusive share (top_mods).
C. Local Instance & Modpack Inspection Tools (Local Only)
list_instances: Auto-discover Prism Launcher, Modrinth App (legacy & modernapp.db), CurseForge App, ATLauncher, and vanilla.minecraftinstances.inspect_instance_mods: Hashmods/*.jar(SHA-512), readfabric.mod.json/META-INF/neoforge.mods.toml, batch-resolve via Modrinth, report missing deps,client_only_mods, and available updates.list_mod_configs: Discover.toml,.json,.properties,.cfg,.yamlfiles insideconfig/with optional substring filtering.read_mod_config: Read a config file insideconfig/with 15 KB line-range pagination and path-confinement checks.inspect_mrpack: Audit a.mrpackmodpack archive (mods, MC/loader versions, client/server split, overrides count) before installing it.
D. Safe Mutation, Export & Bisection Tools (Local Only)
edit_mod_config: Edit files insideconfig/withdry_run=Trueunified diff preview, JSON/TOML syntax validation, and automatic snapshot backup.modify_instance_mods:install(with transitiveinclude_required_deps=True+ conflict warnings),update,disable,enable, orremovemods withdry_run=Truedefault and automatic snapshot backup.migrate_instance_version: Batch-migrate an instance's mods to a target Minecraft version and loader (dry_run=Truedefault, optionaldisable_incompatible=True, SHA-512 verified downloads, automatic snapshot backup).export_mrpack: Export a local instance into a shareable Modrinth.mrpack(modrinth.index.json+overrides/config/+ local-only JARs).list_snapshots: List available backup snapshots (newest first, auto-pruned to latest 10) with timestamps and reasons.rollback_snapshot: Restoremods/andconfig/to a priorsnapshot_id.bisect_crash: Stateful $O(\log n)$ binary-search crash isolator (start,report_crashed,report_worked,abort) withpinned_library_modsand automatic snapshot restore on completion or abort.
Development
uv sync --extra dev
uv run ruff check src tests
uv run pytest -v # offline unit + in-memory MCP tests
uv run pytest -m live -v # live Modrinth API, Spark, HTTP, and stdio tests
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
