X4CodeSense MCP Server
by chemodunio.github.chemodun/x4-script-mcpv0.4.0
X4: Foundations scripts: checks, schema elements, expression types, scripts, cues and texts.
context tax
queued
security
queued
cold start
queued
freshness
Active3d ago
Install X4CodeSense MCP server
Install in Claude Code
claude mcp add chemodun -- npx -y x4-script-mcpInstall in Cursor
{
"mcpServers": {
"chemodun": {
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"chemodun": {
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"chemodun": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"chemodun": {
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X4_GAME | — | — | The installed game, the folder of X4.exe; its files are read from the catalogs. |
| X4_UNPACKED | — | — | The extracted game files, the folder holding libraries, md and aiscripts; used instead of X4_GAME. |
Freshness
Active — last maintenance signal 3d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 3d ago · GitHub
Latest release
2026-10-06 · 3d ago · GitHub · x4codesense@v1.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-06 · 3d ago · official registry · v0.4.0
FAQ
›How do I install the X4CodeSense MCP server in Claude Code?
Run: claude mcp add chemodun -- npx -y x4-script-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does X4CodeSense require an API key?
No required environment variables are declared in its published metadata.
›Can I use X4CodeSense as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is X4CodeSense in the official MCP registry?
Yes, as io.github.chemodun/x4-script-mcp.