Connect and sign in
Other MCP clients Generic setup
Beyond Claude, ChatGPT, Gemini and Grok, Xale accepts clients that run on the person's own computer and take the OAuth code at a loopback address. Hosted clients on other domains are refused.
Who can connect
| Client | Accepted |
|---|---|
| A desktop or command-line client that listens on a loopback address for the OAuth callback | Yes |
| A browser tool served from a loopback origin, such as the MCP Inspector | Yes |
| A hosted client whose callback is on another domain | Use a loopback callback instead: registration answers invalid_ |
Set it up
- Point the client at
https://xale.. Its first call getsapp/api/mcp 401withWWW-Authenticatenaming the protected resource metadata. - Register with
POST /api/oauth/register, withredirect_onuris http://127.0.0.1,http://localhostorhttp://[::1]. No secret is issued. See Dynamic client registration. - Open
https://xale.in the person's browser withapp/oauth/authorize response_, yourtype=code client_, theid redirect_, auri code_withchallenge code_, andchallenge_ method=S256 state. - The person signs in to Xale and chooses Allow. Xale sends the browser to your loopback address with
code,stateandiss. - Exchange the code at
POST /api/oauth/tokenwith yourcode_, then callverifier /api/mcpwithAuthorization: Bearer ….
The port can change
A loopback callback matches on scheme, host, path and query; the port may differ each time (RFC 8252). Register http://127.0.0.1:33418/callback once, and http://127.0.0.1:50123/callback is accepted later. An https callback has to match exactly.
How the person sees it
The allow page and Settings › Connected apps call a loopback app “An app on this computer (it calls itself “…”)”, with the name from your registration in the quotes. Choose a client_ the person will recognise.
- Checked against main
8aef9b15