Connect and sign in

MCP server Address and transport

Xale's MCP server is https://xale.app/api/mcp: Streamable HTTP, stateless, one JSON-RPC message per POST, OAuth bearer tokens only.

View as Markdown

Address

text
https://xale.app/api/mcp

Paste it exactly, with nothing before or after it.

Transport

Streamable HTTP, stateless:

RequestAnswer
POST with one JSON-RPC 2.0 messageOne JSON answer (Content-Type: application/json, Cache-Control: no-store). Each POST stands alone.
POST with a JSON array (a batch)400, code -32600: “Batches are not supported; send one message per POST.”
A notification (no id, method notifications/…)202, no body
A request without an id400, code -32600
GET or DELETE405 with Allow: POST, OPTIONS
OPTIONS204 with CORS headers, for an allowed origin
A body over 256 KB413, code -32600, with a message saying to save a shorter first part and add the rest

Protocol versions

Xale implements 2025-11-25 and 2025-06-18.

  • initialize with either version is answered with that version. Any other version is answered with 2025-11-25.
  • After initialize, an MCP-Protocol-Version header naming another version gets 400: “Unsupported MCP-Protocol-Version. Supported: 2025-11-25, 2025-06-18.” Sending no header is fine.

What initialize returns

json
{
  "protocolVersion": "2025-11-25",
  "capabilities": { "tools": { "listChanged": false }, "prompts": { "listChanged": false }, "resources": { "listChanged": false } },
  "serverInfo": { "name": "xale", "title": "Xale", "version": "1.0.0", "websiteUrl": "https://xale.app", "icons": ["…192, 256 and 512 px PNGs…"] },
  "instructions": "Xale is the person's personal space for …"
}

Read instructions before acting. listChanged is false for all three: a changed tool list shows only on a fresh tools/list.

Methods

initialize, ping (answers {}), tools/list, tools/call, prompts/list, prompts/get, resources/list, resources/read. Anything else gets -32601.

Calls from a browser

A request that carries an Origin header must come from one of these, or it gets 403:

  • https://xale.app
  • https://claude.ai, https://claude.com, https://chatgpt.com, https://grok.com, https://gemini.google.com (default port only)
  • http://127.0.0.1, http://localhost, http://[::1] on any port

Server-to-server calls send no Origin and pass.

The order of a first connection

text
client  POST /api/mcp (no token)
server  401  WWW-Authenticate: Bearer resource_metadata=".../.well-known/oauth-protected-resource/api/mcp", scope="read write:memories write:intentions write:changes"
client  GET  protected resource metadata, then authorization server metadata
client  POST /api/oauth/register             (dynamic client registration)
person  /oauth/authorize                      (signs in, picks permissions, Allow)
client  POST /api/oauth/token                 (code + PKCE verifier)
client  POST /api/mcp  Authorization: Bearer <access token>   initialize, tools/list, tools/call…

Each step is on OAuth sign-in · how it works.

Rate limits

120 messages per connection per minute, of which at most 30 may be writes. Over the limit, the answer is 429 (or a tool error for writes): wait a minute. See Rate limits · and retries.

  • Checked against main 8aef9b15

Was this helpful?

mcp-server-address-and-transport.md · main@c1725f34