prismlauncher-mcp
Provides CurseForge mod support through the user's Prism Launcher API key: search mods, browse files, install mods with required dependencies, handle blocked third-party distribution files, resolve user-downloaded blocked mods by SHA1, check updates, and update installed mods.
Allows AI agents to search Modrinth, install mods into Prism Launcher instances with recursive required dependency handling, list/remove/enable mods, check for updates, update mods, and browse versions to pin or roll back.
Click on "Deploy 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., "@prismlauncher-mcp create a Fabric 1.20.1 instance and install Sodium and Iris"
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.
prismlauncher-mcp
English | 日本語
An MCP (Model Context Protocol) server that lets an AI agent operate Prism Launcher at the file level — create instances, install mods from Modrinth, launch the game, read logs and fetch screenshots — without modifying the stock launcher. It also carries mod-translation support tools (lang extraction, consistency checks and language-pack building) that run only when explicitly called.
This is Layer 1 of the prism project (see ../PLAN.md). Layer 2
(prism-bridge, a patched Prism fork) adds live operations later; everything
here works with an unmodified Prism Launcher installation.
How it works
Prism keeps almost everything an agent needs in plain files:
Concern | File |
Instance definition |
|
Component versions | |
Mods |
|
Logs |
|
Screenshots |
|
Launching still goes through Prism itself (prismlauncher --launch <id>), so
accounts, Java resolution and downloads stay in Prism's hands.
Related MCP server: PC Bridge Linux
Translation support (explicit invocation only)
Three tools support translating mod language files. They are never triggered automatically by other tools; a client must call them directly.
extract_lang— pullassets/<modid>/lang/*out of a mod jar intoprismlauncher-mcp/lang-work/<slug>/source/.Translate into
lang-work/<slug>/translated/(same relative paths, target-locale file names), thencheck_lang_consistency— reports missing and extra keys, placeholder / format-code mismatches and untranslated leftovers against the source locale.build_lang_pack— ziptranslated/into a resource pack and install it into an instance'sresourcepacks/(overwriting an existing pack needsconfirm: trueand is backed up first).
Safety model
Destructive tools require
confirm: true(delete_instance,stop_instance).Files that would be overwritten or deleted are first copied to
prismlauncher-mcp/backups/<timestamp>/inside the data dir.Every mutation is audit-logged to
prismlauncher-mcp/agent-ops.jsonlin the data dir.--read-only(orPRISM_MCP_READ_ONLY=1) disables all mutation tools.The server only ever touches the single data dir it was started with.
Quick start
npm install
npm run build
node dist/index.js --data-dir C:\path\to\PrismLauncher-dataData dir resolution order:
--data-dirargument, or thePRISM_DATA_DIRenvironment variableUserData/next to the executable (portable installs), if initialized%APPDATA%\PrismLauncher
Set PRISM_EXE to point at prismlauncher.exe if it is not in the default
install location (%LOCALAPPDATA%\Programs\PrismLauncher) or on PATH.
Tools
Instances: list_instances, get_instance, create_instance,
clone_instance, delete_instance, set_instance_setting,
get_instance_setting, list_instance_settings (the common keys with
their effective values in one call), list_groups,
list_versions, export_instance (.mrpack via the bridge, or a plain zip),
diagnose_instance (launch-readiness: effective Java vs. the version the
instance's Minecraft requires, memory, concrete issues), list_javas
Settings: get_settings, set_setting (global prismlauncher.cfg)
Mods (Modrinth): search_mods, install_mod (required dependencies are
installed recursively and reported; optional ones are only reported),
list_mods, remove_mod, set_mod_enabled, check_mod_updates, update_mod,
update_all_mods (every mod with a newer matching release, Modrinth and
CurseForge; prerelease-only updates are never applied silently),
list_mod_versions (browse versions; pass a version id to install_mod to
pin or roll back). Required dependencies are installed recursively with
deduplication: an identical file already present is not downloaded again,
conflicting version pins between parents are reported, and author-declared
incompatible mods are checked against the instance and warned about
Cross-source: cross_check_mods (joins the Modrinth and CurseForge
views of an instance by project slug: true duplicates installed from both
sources, single files both sources recognize, mods that also exist on the
other platform, and unidentified jars; also records slug ↔ project-id
pairs in <dataDir>/prismlauncher-mcp/crossrefs.json, which the bridge
fork's mod search uses to mark cross-source installs as installed),
dedupe_mod (removes the copy from one source of a true duplicate,
keeping the other; backed up first)
CurseForge: search_mods_cf, list_mod_files_cf (browse files; pass a
file id to install_mod_cf to pin or roll back), install_mod_cf (required dependencies
recursively; files whose authors disabled third-party distribution come back
as blocked with a mod-page URL for manual download — no scraping, ever),
list_blocked_mods, resolve_blocked_mods (sha1-matched placement of
user-downloaded files), check_mod_updates_cf, update_mod_cf. Uses the user's own API key from Prism's
FlameKeyOverride setting.
Modpacks: import_modpack (.mrpack: instance creation from the pack's
declared dependencies, sha1-verified downloads, overrides extraction),
install_modpack (by Modrinth project id: installed by the app itself as a
managed pack when the bridge is up, so Prism can check it for updates;
otherwise downloaded and imported at the file level),
import_modpack_cf (CurseForge zip: instance from the manifest, every
required file installed under the same blocked policy, overrides extracted)
Worlds & options: list_worlds, get_world (level.dat), copy_world,
backup_world (zip into the server's backups), get_options,
set_option (options.txt)
Servers: list_servers, add_server, remove_server (servers.dat,
NBT-level edits that preserve unknown fields on existing entries)
Game: launch_instance, get_instance_status, tail_log,
wait_for_event, stop_instance, list_screenshots, get_screenshot
Translation (explicit only): extract_lang, check_lang_consistency, build_lang_pack — see the Translation support section above.
Connecting an MCP client
See docs/setup.md for Claude Code, Codex and generic MCP client configuration.
For AI agents: docs/agent-guide.md (operating rules, workflows, full tool reference).
Status
v0.8.0 — Phase 1 (file-level operation) is implemented and verified,
including the end-to-end demo (create instance → install mod → launch →
title-screen screenshot), dependency-aware installs from Modrinth and
CurseForge, update checks, modpack import (.mrpack and CurseForge zip),
servers.dat editing and the translation support tools. v0.6.0 adds the
Phase 2 bridge transport: when a bridge-enabled Prism is running for the
data directory, create/launch/stop/set_setting route through the live app
(see bridge_status). v0.7.0 extends bridge routing to per-instance
settings (set_instance_setting, plus the new get_instance_setting),
so Java arguments and memory limits can be changed safely while Prism
is running. v0.8.0 adds list_instance_settings, export_instance,
install_modpack, update_all_mods, world copy/backup, and the
Java tooling (list_javas, diagnose_instance) on bridge v1.3, which
also accepts a single-player world as a launch target. v0.9.0 adds the
cross-source tools (cross_check_mods, dedupe_mod). A repeatable smoke
test lives in scripts/smoke.mjs.
License
MIT
Available Tools
56 toolsadd_serverB
Add a multiplayer server to the instance's servers.dat (created if missing). The previous file is backed up.
Inputs: ip (required), name (required), instanceId (required).
backup_worldB
Zip a world folder into the server's backups/worlds directory (under the data dir's prismlauncher-mcp folder) and return the backup path.
Inputs: world (required), instance (required).
bridge_statusA
Check whether a bridge-enabled Prism (GUI or PrismLauncher-Agent headless) is running for this data dir. When available, launch/stop/create/set_setting/instance settings route through the live app.
Inputs: no named parameters.
build_lang_packB
Build a resource pack zip from prismlauncher-mcp/lang-work//translated and install it into an instance's resourcepacks. Overwriting an existing pack needs confirm: true.
Inputs: slug (required), instanceId (required), confirm, packName, +1 more.
check_lang_consistencyB
Compare translated lang files against the extracted source: missing/extra keys, placeholder and format-code mismatches, untranslated leftovers. Read-only.
Inputs: slug (required), sourceLocale, targetLocale.
check_mod_updatesA
Check an instance's mod jars against Modrinth by sha1: reports current vs latest matching version per file (files unknown to Modrinth are marked known:false).
Inputs: instance (required).
check_mod_updates_cfA
Check CurseForge-installed mods (those with a [update.curseforge] index entry) for a newer release matching the instance. Read-only.
Inputs: instanceId (required).
clone_instanceC
Clone an instance directory under a new name (full copy, including worlds).
Inputs: id (required), newName (required).
copy_worldB
Copy a world folder inside an instance under a new name (the copy's session.lock is dropped).
Inputs: world (required), newName (required), instance (required).
create_instanceA
Create an instance by writing instance.cfg + mmc-pack.json (Prism resolves the rest on first launch). Loader versions are resolved from the meta API (recommended build for the Minecraft version unless loaderVersion is given).
Inputs: name (required), mcVersion (required), group, loader, +2 more.
cross_check_modsB
Cross-source inventory of an instance's mods: joins the Modrinth view (jars identified by sha1) with the CurseForge view (packwiz .index entries) by project slug, and reports mods installed from BOTH sources as two different files (true duplicates), single files both sources recognize (dualTracked), mods installed from one source that also exist on the other, single-source mods, and jars neither source could identify. Jars with no index entry are also identified as CurseForge files by fingerprint (modpack-bundled mods). Matching is by slug only.
Inputs: instance (required).
dedupe_modA
Resolve a true cross-source duplicate (a mod installed from both Modrinth and CurseForge, as reported by cross_check_mods): removes the copy from the source you do NOT keep (jar plus its packwiz index entry; the jar is backed up first, per the server's safety rules). Destructive: requires confirm: true.
Inputs: keep (required), slug (required), instance (required), confirm.
delete_instanceA
Delete an instance directory. Destructive: requires confirm: true. Key files are backed up first.
Inputs: id (required), confirm.
diagnose_instanceA
Launch-readiness check for an instance: resolves the effective Java (configured path and its probed version), the Java major the instance's Minecraft version requires, and the effective memory settings, then reports concrete issues and warnings. Java probing uses a running bridge-enabled Prism; without one, version checks are skipped and the report says so.
Inputs: id (required).
export_instanceA
Export an instance as a Modrinth .mrpack (default) or a plain zip, into the data dir's prismlauncher-mcp/exports folder unless output is given. The mrpack format requires a running bridge-enabled Prism (the app resolves mod files against Modrinth); the zip format falls back to a file-level archive when no bridge is up. Logs, crash reports and backups are excluded either way.
Inputs: id (required), name, format, output, +1 more.
extract_langB
Extract a mod jar's language files (assets//lang/*) into prismlauncher-mcp/lang-work//source for translation. Explicit use only.
Inputs: jarPath, modFile, instanceId.
get_instanceB
Get one instance's settings (instance.cfg) and component pack (mmc-pack.json).
Inputs: id (required).
get_instance_settingA
Read one key from an instance's settings. When a bridge-enabled Prism is running, reports the effective value the app resolves (instance override when its gate is on, otherwise the global value); otherwise reads instance.cfg [General] directly and reports null when the key is absent there.
Inputs: id (required), key (required).
get_instance_statusC
Running state (javaw command-line match), log presence and last log lines.
Inputs: id (required).
get_optionsB
Read the instance's minecraft/options.txt as key:value pairs.
Inputs: instance (required).
get_screenshotB
Fetch one screenshot as an image (visual launch verification).
Inputs: id (required), file (required).
get_settingsC
Read global Prism settings (prismlauncher.cfg), one section at a time.
Inputs: section.
get_worldC
Get one world's level.dat info by folder name.
Inputs: world (required), instance (required).
import_modpackB
Import a Modrinth .mrpack file: creates the instance from the pack's declared Minecraft/loader versions, downloads every client file with sha1 verification, and extracts overrides.
Inputs: path (required), name.
import_modpack_cfB
Import a CurseForge modpack zip (manifest.json format): creates the instance from the pack's Minecraft/loader declaration, installs every required file (blocked files are reported and recorded for manual download, per the blocked policy), and extracts overrides. Optional (required: false) files are reported, not installed.
Inputs: zipPath (required), name.
install_modA
Install a Modrinth project (id or slug) into an instance, choosing the version that matches the instance's Minecraft version and loader. Required dependencies are installed recursively and reported; optional dependencies are only reported.
Inputs: project (required), instance (required), type, versionId.
install_mod_cfA
Install a mod from CurseForge into an instance (latest release matching the instance's MC version/loader unless fileId is given; required dependencies are installed recursively). If the author disabled third-party distribution, the file comes back in blocked with its mod-page URL: ask the user to download it manually, then call resolve_blocked_mods. Never scrape CurseForge pages or use unofficial mirrors.
Inputs: modId (required), instanceId (required), fileId.
install_modpackB
Install a Modrinth modpack by project id or slug. When a bridge-enabled Prism is running, the app installs the pack itself and registers it as a managed pack (so Prism can check it for updates later). Otherwise the .mrpack is downloaded and imported at the file level. Packs whose client files include optional mods are refused by the bridge in headless mode (they need a dialog); the file-level fallback handles those.
Inputs: project (required), name, versionId.
launch_instanceC
Launch an instance through Prism (--launch). Prism/game start asynchronously.
Inputs: id (required), world, server, offline, +1 more.
list_blocked_modsB
List CurseForge files for an instance that are waiting for the user to download them manually.
Inputs: instanceId (required).
list_groupsB
List instance groups from instgroups.json.
Inputs: no named parameters.
list_instancesA
List Prism instances in the data dir with Minecraft/loader versions.
Inputs: no named parameters.
list_instance_settingsA
Read the common per-instance settings in one call (Java path/args, memory, window, console, join-on-launch, with their Override gates). When a bridge-enabled Prism is running, values are the effective ones the app resolves; otherwise they are read from instance.cfg (absent keys report null).
Inputs: id (required).
list_javasA
List the Java installations Prism detects on this machine, with probed versions. Requires a running bridge-enabled Prism.
Inputs: no named parameters.
list_mod_files_cfA
List a CurseForge mod's files. With instanceId, files are filtered to the instance's MC version/loader and the auto-picked latest release is shown. Use a file's fileId with install_mod_cf to pin or roll back a version.
Inputs: modId (required), instanceId.
list_modsB
List jars in an instance's mods folder with enabled state.
Inputs: instance (required).
list_mod_versionsA
List a Modrinth project's versions (newest first). With instanceId, versions are annotated with matchesInstance and the auto-picked latest release is shown. Use a version's id with install_mod to pin or roll back a version.
Inputs: project (required), instanceId.
list_screenshotsC
List screenshots in the instance's minecraft/screenshots folder.
Inputs: id (required).
list_serversB
List the multiplayer servers saved in the instance's servers.dat.
Inputs: instanceId (required).
list_versionsB
List versions from Prism's meta API. kind: 'minecraft' or a loader alias (forge/fabric/neoforge/quilt/liteloader) or a full meta uid.
Inputs: kind (required), limit.
list_worldsB
List single-player worlds (saves/) with level.dat info: name, version, game mode, seed, last played.
Inputs: instance (required).
remove_modA
Remove a mod jar from an instance (its packwiz index entry is removed too). Destructive: requires confirm: true. The jar is backed up first.
Inputs: file (required), instance (required), confirm.
remove_serverA
Remove multiplayer server entries matching a name or ip from servers.dat. Destructive: needs confirm: true.
Inputs: instanceId (required), ip, name, confirm.
resolve_blocked_modsB
Scan a folder for user-downloaded jars, sha1-match them against the instance's pending blocked CurseForge files, and place matches into the instance's mods folder.
Inputs: folder (required), instanceId (required).
search_modsC
Search Modrinth. Matches against the instance when mcVersion/loader are omitted only if provided explicitly.
Inputs: query (required), type, limit, loader, +1 more.
search_mods_cfB
Search CurseForge for Minecraft mods (uses the user's own API key from Prism's FlameKeyOverride setting).
Inputs: query (required), loader, pageSize, gameVersion.
set_instance_settingA
Set one key in an instance's settings. When a bridge-enabled Prism is running, the write goes through the app (a file-level write could be overwritten when the app saves on exit) and is verified by reading it back; otherwise instance.cfg is edited directly (backed up and audit-logged). Java and memory tweaks need their Override gate set too, e.g. OverrideJavaArgs=true with JvmArgs, OverrideMemory=true with MinMemAlloc/MaxMemAlloc, OverrideJavaLocation=true with JavaPath.
Inputs: id (required), key (required), value (required).
set_mod_enabledA
Enable/disable a mod by renaming the jar to/from the .disabled extension Prism uses.
Inputs: file (required), enabled (required), instance (required).
set_optionB
Set one key in the instance's options.txt. Backed up and audit-logged.
Inputs: key (required), value (required), instance (required).
set_settingA
Set one global Prism setting in prismlauncher.cfg. Backed up and audit-logged; reports requiresPrismRestart when Prism is currently running.
Inputs: key (required), value (required), section.
stop_instanceA
Kill the javaw process whose command line matches this instance exactly. Destructive: requires confirm: true.
Inputs: id (required), confirm.
tail_logC
Return the last lines of the instance's minecraft/logs/latest.log.
Inputs: id (required), lines.
update_all_modsA
Update every mod in an instance that has a newer matching release, across Modrinth-managed and CurseForge-managed mods. Reports what was updated, how many were already current, and what failed. Prerelease-only updates are never applied silently (the same rule as check_mod_updates), and distribution-blocked CurseForge files are reported instead of attempted.
Inputs: instance (required).
update_modA
Update one mod jar to the latest Modrinth version matching the instance (the old jar is backed up before removal). Fails clearly when the file is unknown to Modrinth.
Inputs: file (required), instance (required).
update_mod_cfA
Update one CurseForge-installed mod (by index slug or project id) to the latest release matching the instance; the old jar is backed up and removed.
Inputs: mod (required), instanceId (required).
wait_for_eventB
Wait until a regex matches a new line in latest.log (e.g. 'Setting user|Backend library|Stopping!'), or timeout.
Inputs: id (required), pattern (required), timeoutMs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 56 tools
Most tools target distinct resource/action pairs, and descriptions explicitly distinguish instance vs global settings and Modrinth vs CurseForge operations. However, the install/import modpack cluster (install_modpack, import_modpack, import_modpack_cf) and parallel update/check tools create several near-overlaps that require careful reading.
All names are snake_case and overwhelmingly follow verb_noun (list_instances, create_instance, update_mod_cf). Minor deviations like bridge_status and mixed verb phrases such as cross_check_mods and check_lang_consistency are readable but prevent a perfect score.
56 tools is far beyond the practical 3-15 range; while the Prism domain is broad, many operations could be consolidated with source/format parameters rather than separate Modrinth/CurseForge variants. This places a heavy selection burden on the agent.
Core instance, mod, launch, settings, server, and modpack workflows are covered. But group management is read-only (no create/delete/assign), worlds can be backed up but not restored or deleted, and there is no resource-pack or account management, leaving notable dead ends.
Related MCP Connectors
Manage NodePal Minecraft servers, worlds, mods, backups and console from AI agents.
Manage ServerPrism game servers and AI agent boxes: status, power, console, agent balance, backups.
1Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Generate AI images, video, music, and sound effects, and upscale them, from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search, browse, and manage mods across Nexus Mods, mod.io, Thunderstore, and Modrinth, as well as perform local diagnostics like detecting games and parsing crash logs.MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI clients to access local Linux files, run sandboxed commands and Git operations, capture screenshots, and manage authorized applications, with optional Unity and Blender integration.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to manage Modrinth projects and organizations, upload versions, edit pages and galleries, view analytics, and interact with moderators, with safety controls for destructive actions.12 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI assistant to work directly with a Minecraft mod project: reading, patching and searching code, running Gradle builds and the Minecraft client, and analyzing logs and crash reports. It also provides GUI automation such as game and IDE screenshots, window focus, keyboard and mouse input.MIT