Auth
Auth is API-key first. Clients should send a Xerg workspace API key as a Bearer
token on every MCP request. Hosted MCP access is included with Pro and Enterprise
workspaces.
Authorization: Bearer <XERG_API_KEY>
Need a key? Create one in
dashboard settings. Free
workspaces include API keys for pushes; hosted MCP itself requires Pro or
Enterprise.
Transport
Streamable HTTP is the supported transport. The MCP endpoint accepts stateless
requests at /mcp.
https://mcp.xerg.ai/mcp
Supported Clients
-
Cursor remote MCP -
Claude Code -
Codex -
Claude Desktop via mcp-remote -
Cloudflare AI Playground -
Any MCP client that can send an Authorization header
Client config shapes differ. Cursor and Claude Code usually use an
mcpServers.xerg JSON block; Codex uses a TOML block in
~/.codex/config.toml.
Cursor / Claude Code
{
"mcpServers": {
"xerg": {
"type": "http",
"url": "https://mcp.xerg.ai/mcp",
"headers": {
"Authorization": "Bearer <XERG_API_KEY>"
}
}
}
}
Codex
[mcp_servers.xerg]
enabled = true
url = "https://mcp.xerg.ai/mcp"
[mcp_servers.xerg.http_headers]
Authorization = "Bearer <XERG_API_KEY>"