X4CodeSense runs on your own machine — the client starts it, so there is no endpoint to ping. 138 installs a week from npm. Last commit 24 Oct 2026.
X4: Foundations scripts: checks, schema elements, expression types, scripts, cues and texts.
We read the source, 7 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
.map((name) => path.join(extensions, name));
const child = spawn(process.execPath, args, {
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add x4-script-mcp -- npx -y x4-script-mcp
{
"mcpServers": {
"x4-script-mcp": {
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}
[mcp_servers.x4-script-mcp]
command = "npx"
args = ["-y", "x4-script-mcp"]
{
"mcpServers": {
"x4-script-mcp": {
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}
{
"servers": {
"x4-script-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x4-script-mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
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).
JSON Schema, TypeScript types, mocks for AI agents
Verification and research desk for agents: packet validation, token screens, settlement checks.
Scaffold an Express 5 + TypeScript backend: database, auth, optional Next.js front end.
MCP server for cron expression parsing, validation, and scheduling.
Live subscription limits, resets and budget checks for coding agents over MCP.
AST for TypeScript, supports creating JSON representations of React components
TypeScript inferred types, completions and type errors for AI coding agents
Pre-payment checks for AI agents: sanctions and AML screening of payees, payment pages and requests.
Answers built from our own checks of this server.