Skip to main content
Glama
YeXuanHs

Galgame MCP

by YeXuanHs

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gal_statusA

Show native runtime, workspace, formats, and task_routing_hint.

gal_list_dirA

List files without opening or modifying them.

gal_tool_guideA

【选工具】用户说法→正确 MCP 工具对照表。不确定用哪个时先调这个。尤其区分「scn转json」vs bundle.jsonl vs PSB/TJS2100。

archive_probeB

Detect archive format (not for script/JSON conversion).

archive_list_formatsA

List all native archive format plugins and pack support.

archive_listB

List archive entries without extracting.

archive_unpackC

Unpack a natively supported archive (NOT script→JSON).

archive_packD

Create an archive using a native writer.

xp3_list_schemesA

List XP3 decryption schemes (name, params schema, status=ready).

xp3_resolve_schemeA

Resolve a game title to XP3 scheme + params from bundled Formats.dat map.

xp3_re_workflowC

XP3 reverse-engineering assist: what the RE tools can/cannot do + playbook.

xp3_re_analyzeB

Analyze one XP3 for cxdec/encryption symptoms and recommend next RE steps.

xp3_re_scan_gameA

Scan a game folder for XP3/TPM/EXE and emit an RE playbook.

xp3_re_tpm_inspectA

Inspect a Kirikiri .tpm (or any PE): Cx control block + interesting strings.

xp3_re_exe_inspectB

Scan official game EXE for embedded Cx 'Encryption control block' (GARbro-style RE assist).

xp3_re_try_schemesB

Try built-in XP3 schemes (+ optional XOR brute) and rank by file-magic score.

xp3_re_xor_recoverB

Recover repeating XOR key from known plaintext vs cipher (or archive entry).

xp3_re_scaffoldB

Write a draft Python XP3 scheme under xp3_schemes/user_drafts/ for further RE.

re_statusB

Show installed/high-end RE tools (Ghidra/IDA/Rizin/x64dbg/…) and MCP ops.

re_discoverB

Discover RE tool paths (PATH / env / native/re_tools bundling).

re_workflowC

Playbook: drive Ghidra/Rizin/x64dbg/IDA for EXE crypto → XP3 scheme.

re_installA

Download open-source RE kits into native/re_tools (rizin/x64dbg/ghidra/cutter) or pip capstone/pefile.

re_launchA

Launch a GUI RE tool (ghidra/ida/x64dbg/cutter/binary_ninja), optionally opening a PE.

re_rizinC

Headless Rizin analysis (aaa + crypto/Cx string hunt by default).

re_ghidra_headlessC

Run Ghidra analyzeHeadless on a binary (needs bundled/system JDK).

re_pe_infoC

PE headers / sections / imports / exports via pefile.

re_stringsB

Extract interesting crypto/Kirikiri strings (+ control-block signature offset).

re_searchC

Byte/ASCII pattern search inside a binary.

re_disasmB

Capstone disassembly at file offset / RVA / VA.

xp3_unpackC

Unpack XP3 with an explicitly selected scheme.

xp3_packC

Create an unencrypted XP3 archive natively.

kirikiri_descrambleB

Decode Kirikiri scrambling modes 0, 1 or 2 natively.

kirikiri_descramble_treeB

Descramble all .ks/.tjs/.txt/.csv/.ini under a folder (KirikiriDescrambler).

kirikiri_scrambleC

Re-scramble plain text to Kirikiri FE FE modes 0/1/2 (Scrambler.cs).

kirikiri_scramble_treeA

Scramble all .ks/.tjs/.txt/.csv/.ini under a folder (symmetric to descramble_tree).

kirikiri_stage_patchB

Descramble a tree into the next patch folder; optional pack_patch.

kirikiri_tools_capabilitiesB

List KirikiriTools / KAGeXpress ports, patch naming, and descramble→patch example.

kirikiri_pack_patchA

Pack a folder into patch XP3 with zero adlr checksums (KirikiriTools Xp3Pack).

kirikiri_pack_unencryptedC

Pack folder to unencrypted.xp3 (KirikiriUnencryptedArchive override; zero adlr).

kirikiri_stage_unencryptedC

Stage files into unencrypted.xp3 and/or loose unencrypted/ folder.

kirikiri_cxdec_probeC

CxdecHelper static probe: IsCxdecArchive / archive:// URL map / game scan.

kirikiri_next_patch_stemC

Suggest next patch / patch2 / … or custom base (patch_cn) stem.

kirikiri_list_patch_archivesB

List existing patchN.xp3 (or custom base) and unencrypted.xp3.

kirikiri_load_scenario_textC

Load KAGeXpress multilingual scenario .txt lines.

kirikiri_write_scenario_textC

Write KAGeXpress multilingual scenario .txt lines.

kirikiri_list_text_refsA

Collect [text num=N] indices from a KAG .ks file.

kirikiri_kagex_locate_templateA

Locate KAGeXpress Template (源码/kagexpress/Template); no binaries.

kirikiri_kagex_init_projectC

Copy KAGeXpress Template text assets and write Config/AppConfig highlights (no EXE/DLL).

kirikiri_kagex_apply_configC

Update Config.tjs / AppConfig.tjs highlights on an existing KAGeXpress project.

kirikiri_tjs2100_importA

Import UTF-16 string table from compiled TJS2100 (KrKrZ). NOT VNTextPatch「scn→json」— for that use vntextpatch_extractlocal.

kirikiri_tjs2100_exportC

Replace TJS2100 DATA string table and rebuild blob (KrKrZSceneManager).

kirikiri_tjs2100_list_sectorsC

List TJS2100 DATA/Other/TJS2 sectors (KrKrZ Split metadata).

kirikiri_tjs2100_splitB

Dump TJS2100 sectors to a folder (manifest.json + NNNN_TAG.bin).

kirikiri_tjs2100_mergeB

Rebuild TJS2100 from a sector dump folder (KrKrZ Merge).

kirikiri_psb_analyzeC

PSB Analyzer (KrKrZ): bytecode/strings for RE — NOT translation JSON.

kirikiri_psb_analyze_exportA

Export PSB analyzer strings (debug/RE). NOT「scn转json」; use vntextpatch_extractlocal for that.

kirikiri_pimg_unpackA

Unpack .pimg/PSB chunk resources to N.res (KrKrZ PSBResManager.Import).

kirikiri_pimg_packC

Repack N.res into .pimg/PSB (KrKrZ PSBResManager.Export).

kirikiri_psb_try_recoveryB

Repair empty chunk-table header offsets (KrKrZ PSBStrMan.TryRecovery; MDF-aware).

image_probeB

Detect PNG/TLG and other native image formats without vision/AI.

image_convertB

Convert between PNG, TLG5, TLG6 and other supported image formats.

image_pack_xp3C

Pack a folder into XP3 using the native XP3 writer.

audio_probeC

Detect native audio format and decode container hint.

audio_decodeB

Decode supported game audio to WAV/OGG/MP3.

audio_list_formatsA

List implemented native audio decoders.

kagconfig_summarizeB

Summarize a KAG/Kirikiri Config.tjs (title, resolution, keys).

kagconfig_loadC

Load Config.tjs into a flat key→value map (KAGConfigEX2 semantics).

kagconfig_setB

Update Config.tjs keys in place (UTF-16, preserves comments when possible).

kagconfig_list_keysA

List known Config.tjs keys from KAGConfigEX2 Form1/Form2 (types, quote modes, Form1 r/w coverage).

loop_readA

Read Kirikiri WaveLoopManager .sli links/labels (looptuner2; no playback).

loop_writeC

Write Kirikiri #2.00 .sli loop/link/label file (WaveLoopManager).

krdevui_sig_inspectC

Locate Kirikiri EXE marks (OPT_EMBED / CORE_SIG / RELEASE_SIG / XP3).

krdevui_sig_has_signatureC

True if EXE has XRELEASE_SIG____ mark (sigchecker CheckExeHasSignature).

krdevui_sig_checkB

Verify Kirikiri RSA-PSS (SHA256) signature — embedded EXE or detached .sig.

krdevui_sig_signC

Sign a file like krdevui SignUnit (detached .sig or embedded; optional auto_krkr).

npa_list_schemesA

List Nitroplus NPA EncryptionScheme titles from Formats.dat.

npa_resolve_schemeC

Resolve an NPA game title (or name_key+order_hex) to scheme params.

vnt_list_formatsA

List script formats for the pure-Python vnt_* bundle layer (not VNTextPatch CLI).

vnt_extractA

【AI bundle】目录→work/bundle.jsonl(按条目 ID 翻译)。不是「scn转json」。用户要经典每文件 .json 时用 vntextpatch_extractlocal。

vnt_queryB

Search/page an extracted AI bundle.jsonl (after vnt_extract).

vnt_updateC

Update translations by stable entry ID in bundle.jsonl.

vnt_statsC

Return AI bundle.jsonl translation completion statistics.

vnt_insertA

【AI bundle】把 bundle.jsonl 译文写回脚本到独立 output。对应 vnt_extract;经典 JSON→scn 用 vntextpatch_insertlocal。

vnt_google_docs_list_sheetsA

List sheet titles in a Google Spreadsheet (Sheets API, read-only).

vnt_google_docs_fetchB

Fetch a Google Spreadsheet into local CSV/TSV for google_docs extract/insert.

vnt_excel_line_statsC

VNTextPatch Excel line statistics (total/translated/checked/edited).

vnt_google_docs_line_statsC

Same line statistics for a google_docs CSV/TSV export.

vnt_proxy_capabilitiesD

VNTextProxy: SjisTunnel / SRT·ASS + native sidecar DLL deploy (implemented_via_native_sidecar).

native_list_sidecarsA

List native DLL/EXE kits under native/ (paths, files, proxies, tools, tool_guide).

native_deployC

Copy a native sidecar kit into a game directory (optional backup).

native_undeployB

Remove deployed sidecar files; optionally restore newest backup.

native_runA

Run a catalogued native EXE with raw args. Common: vntextpatch extractlocal/insertlocal — but prefer vntextpatch_extractlocal / vntextpatch_insertlocal wrappers. Also krkrtpc, kagconfig, …

vntextpatch_extractlocalA

【scn/ks/…→JSON】经典 VNTextPatch extractlocal:脚本→每文件 .json。用户说「scn转json」「导出脚本json」用这个。不是 vnt_extract(bundle.jsonl),也不是 kirikiri_psb_*。

vntextpatch_insertlocalA

【JSON→脚本】经典 VNTextPatch insertlocal:把翻译后的 .json 写回脚本到独立 output。不是 vnt_insert。

vnt_proxy_sjis_encodeA

Encode Unicode via SjisTunnelEncoding (allocates sjis_ext slots).

vnt_proxy_sjis_decodeB

Decode SJIS+tunnel bytes using the current / loaded mapping table.

vnt_proxy_sjis_ext_loadC

Load sjis_ext.bin (UTF-16LE mapping table) into the tunnel encoder.

vnt_proxy_sjis_ext_saveC

Write current tunnel mapping table as sjis_ext.bin.

vnt_proxy_subtitle_parseB

Parse SRT (VNTextProxy) or ASS/SSA Dialogue cues; optional at_ms filter.

Prompts

Interactive templates invoked by user choice

NameDescription
galgame_workflowAI playbook for this MCP (workflows, tool groups, safety). Not the human README.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/YeXuanHs/Galgame-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server