Skip to main content

MCP Servers

Early Alpha

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.

The MCP Servers tab: a warning that the assistant runs on XGENIA's server, 0 servers configured, Edit Config, and Add an HTTP server

These servers are AI-only: they give the assistant new abilities. They do not add nodes to your project.

Not connected in the current panel

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 / args kind below.
  • It cannot reach servers at localhost addresses.
  • 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.

MCP runs both ways

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​

Add an HTTP server: Name and URL fields and an Add button

Under Add an HTTP server, fill in two fields and click Add:

FieldExample
Namemy-api
URLhttps://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
}
}
}
KeyMeaning
serverUrlHTTP server endpoint
command / argsA stdio server started as a local process — not usable while the assistant runs on XGENIA's server
envEnvironment variables injected into a stdio server
disabledKeep 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.

StatusMeaning
disconnectedNot connected — usually disabled, or not started yet
connectingHandshake in progress
connectedReady; its tools are available to the AI
errorThe 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​

SymptomCheck
Your server is saved but the AI never uses itExpected in the current panel — see the warning at the top. No server-side assistant connects to configured servers yet
Server stuck on connectingThe URL is reachable and speaks MCP over HTTP
error statusThe message on the card — usually auth or a bad URL
Tools list is emptyThe server connected but exposes nothing; check it on its own side
Config will not saveThe inline JSON error — a trailing comma is the usual culprit
The AI ignores your serverSay what you want in terms of the capability, and confirm the server shows connected
Was this page helpful?