MCP Servers
The XGENIA AI Agents is in early alpha. This tab changes often.
Model Context Protocol servers extend the assistant with tools XGENIA does not ship — your own API, a documentation server, a database, an internal service. Once a server is connected, its tools sit alongside the built-in ones and the AI calls them when they fit.
Click the Settings gear in the chat panel header to open Provider & Tools, then the MCP Servers tab.

These servers are AI-only: they give the assistant new abilities. They do not add nodes to your project.
The assistant now runs on XGENIA's server, not on your computer, and the tab says what that means:
- It cannot start local (stdio) MCP servers — the
command/argskind below. - It cannot reach servers at
localhostaddresses. - Servers you add are saved with your editor, but no server-side assistant connects to them yet.
So for now this tab stores configuration for when connections arrive. The rest of this page describes how it is set up, and how connected servers behaved in the classic panel that ran on your machine.
This page is about servers XGENIA calls. XGENIA is also an MCP server itself — the xgenia server lets an outside agent such as Claude Code launch the editor, open a project, type into this very Chat panel and read the answers back. See Driving XGENIA from Claude Code.
Adding a server
Under Add an HTTP server, fill in two fields and click Add:
| Field | Example |
|---|---|
| Name | my-api |
| URL | https://docs.fal.ai/mcp |
The count above it — N servers configured — goes up by one. Only HTTP servers can be added here, and they must be reachable from the internet, not on localhost.
Editing the config directly
Click Edit Config to open the raw JSON. The config lives at ~/.xgenia/ai-mcp-servers.json.
{
"mcpServers": {
"my-api": {
"serverUrl": "https://api.example.com/mcp"
},
"local-tool": {
"command": "npx",
"args": ["-y", "@example/mcp-server"],
"env": { "API_TOKEN": "…" }
},
"paused": {
"serverUrl": "https://example.com/mcp",
"disabled": true
}
}
}
| Key | Meaning |
|---|---|
serverUrl | HTTP server endpoint |
command / args | A stdio server started as a local process — not usable while the assistant runs on XGENIA's server |
env | Environment variables injected into a stdio server |
disabled | Keep the entry but do not connect |
Save & Reload validates the JSON and reconnects. Invalid JSON is reported inline and nothing is saved.
Server status
In the classic panel, each server in the list showed its connection state and the tools it exposes.
| Status | Meaning |
|---|---|
| disconnected | Not connected — usually disabled, or not started yet |
| connecting | Handshake in progress |
| connected | Ready; its tools are available to the AI |
| error | The failure reason is shown on the card |
Reload re-reads the config and reconnects everything.
Using MCP tools
You do not invoke them directly — mention the capability and the AI picks the tool:
Look up the current Fal image models in the fal docs server and
tell me which ones support transparent backgrounds.
The AI can also discover servers, authenticate against one that needs it, and test a connection on request.
Troubleshooting
| Symptom | Check |
|---|---|
| Your server is saved but the AI never uses it | Expected in the current panel — see the warning at the top. No server-side assistant connects to configured servers yet |
| Server stuck on connecting | The URL is reachable and speaks MCP over HTTP |
| error status | The message on the card — usually auth or a bad URL |
| Tools list is empty | The server connected but exposes nothing; check it on its own side |
| Config will not save | The inline JSON error — a trailing comma is the usual culprit |
| The AI ignores your server | Say what you want in terms of the capability, and confirm the server shows connected |