I came across MCPKit by @GarryPettet a few weeks ago and wanted to try it. I got a bit carried away and ended up building something bigger than I originally intended.
XMCP is an MCP server that lets an AI assistant talk directly to the XOJO IDE. Navigate the project, read and write code, build, run, look up documentation. The AI does it, not you.
https://github.com/o3jvind/XMCP
It communicates via the IDE’s IPC socket using the IDE Communicator Protocol v2, and exposes 20 tools to the AI client over stdin/stdout JSON-RPC — the standard MCP protocol. Garry’s MCPKit handles all the MCP plumbing, which made this possible without starting completely from scratch.
In the spirit of the project itself, the code was written by AI — Claude Code mainly, with some OpenAI Codex. I was the architect.
It works. I’ve tested it quite a bit. But it’s experimental, and there are some limitations that come from what the IDE scripting API allows — you can’t navigate directly to individual methods, for example, only to classes and folders.
If anyone else is playing with MCP and XOJO I’d love to hear about it.