MCP server for X4: Foundations — streaming savegame parser + game-data tools so an LLM can plan your empire
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"x4mcp": {
"command": "go",
"args": [
"run",
"github.com/pequalsnp/x4mcp@latest"
]
}
}
}
Run in terminal:
claude mcp add x4mcp go run github.com/pequalsnp/x4mcp@latest
Add to .cursor/mcp.json:
{
"mcpServers": {
"x4mcp": {
"command": "go",
"args": [
"run",
"github.com/pequalsnp/x4mcp@latest"
]
}
}
}