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-mcpcreate 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, list_groups,
list_versions
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,
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
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),
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), 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.5.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. A repeatable smoke
test lives in scripts/smoke.mjs.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
41Operate 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.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables 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 gradedqualityCmaintenanceEnables 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.9 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