Skip to content
Claude Desktop

X4CodeSense for Claude Desktop

io.github.chemodun/x4-script-mcp

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

client:Claude Desktop transport:stdio runtime:npm

Install X4CodeSense in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "x4-script-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x4-script-mcp"
      ],
      "env": {
        "X4_GAME": "<X4_GAME>",
        "X4_UNPACKED": "<X4_UNPACKED>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

X4CodeSense in other clients