Skip to main content

X4CodeSense

io.github.chemodun/x4-script-mcp

v0.5.0Updated Oct 24, 2026stdio · npm

X4: Foundations scripts: checks, schema elements, expression types, scripts, cues and texts.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add x4-script-mcp -- npx -y [email protected]

Configuration

3 settings.

  • X4_GAME
    Env var· optional
    The installed game, the folder of X4.exe; its files are read from the catalogs.
  • X4_UNPACKED
    Env var· optional
    The extracted game files, the folder holding libraries, md and aiscripts; used instead of X4_GAME.
  • --extensions
    Argument· optional
    An extension, or a folder of extensions, whose scripts and texts are read: those you write and those they refer to. Default: the current folder.

Listed in the official MCP Registry since Oct 24, 2026. Mirrored daily; last checked Nov 26, 2026.