X4: Foundations scripts: checks, schema elements, expression types, scripts, cues and texts.
Connect Runs on your machine
claude mcp add x4-script-mcp -e X4_GAME=<X4_GAME> -e X4_UNPACKED=<X4_UNPACKED> -- npx -y [email protected]
{
"mcpServers": {
"x4-script-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X4_GAME": "<X4_GAME>",
"X4_UNPACKED": "<X4_UNPACKED>"
}
}
}
}
{
"mcpServers": {
"x4-script-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X4_GAME": "<X4_GAME>",
"X4_UNPACKED": "<X4_UNPACKED>"
}
}
}
}
{
"servers": {
"x4-script-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X4_GAME": "<X4_GAME>",
"X4_UNPACKED": "<X4_UNPACKED>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
X4_GAMEOptional | The installed game, the folder of X4.exe; its files are read from the catalogs. |
X4_UNPACKEDOptional | The extracted game files, the folder holding libraries, md and aiscripts; used instead of X4_GAME. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 24 Oct 2026 |
| Last updated | 24 Oct 2026 |
| Registry name | io.github.chemodun/x4-script-mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
