Skip to content
Windsurf

X4CodeSense for Windsurf

io.github.chemodun/x4-script-mcp

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

client:Windsurf transport:stdio runtime:npm

Install X4CodeSense in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

X4CodeSense in other clients