I'd like to share X4Mcp, a new extension that brings MCP support to X4: Foundations. It runs a lightweight local server inside the game, allowing AI assistants (like Claude, ChatGPT, or any MCP-compatible tool) to interact with your running game instance.
What can it do?
- Load and list savegames
- Execute debug/chat commands
- Check game state
- Write log messages
- Store and retrieve persistent key-value data
If you've ever wanted to ask an AI assistant to "load my latest save" or "run this debug command" and have it actually happen in-game — that's what this enables. It bridges the gap between external tools and a live X4 session. It's also a foundation for building more advanced automation and tooling on top of.
Requirements
- X4Native
- Protected UI mode OFF
- GitHub: X4Mcp
- Download: Github-Releases
Feedback and contributions welcome! Let me know if you run into any issues or have ideas for additional tools to expose.

