Write an MCP-Server in Xojo

Hi,

As i find the concept of MCP quite interesting and the fact xojo is at least in my environment used very often to create internal used tools with its own data and presentation - i think the value to get the data and business logic of these internal tools usable in AI tools like gemini, copilot etc. can not be overstated.

Has anybody already written or is plannign to write a mcp server in xojo and is willing to share the code?

If you like to find out more on the topic:
[MCP in Wikipedia](Model Context Protocol - Wikipedia

kr,
alex

1 Like

i was about to ask same thing, this would be a a thing for @GarryPettet , as he has written stuff about AI

i 'm configuring MCP servers, i intend to do more,
but an MCP server on host, like Claude desttop, is just like a Json file in preferences

{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

i use goose too, to connect to MCPservers
https://block.github.io/goose/docs/quickstart

Here you go:

4 Likes

cool - will have a look