claude.ai connector
One connector for every X3 product
Add only one connector: X3 with the URL https://mcp.x3growth.io/mcp. It holds the tools of
Growth Intelligence, the Sales Engine and X3 Automation, each with the rights of your role, after one
sign-in. The setup pages in X3 show exactly this URL.
Already connected X3 Growth Intelligence (https://api.x3growth.io/mcp)? It keeps working: the old
URL is the same server and offers the same tools (X3 Automation only through the new connector, because
it needs your consent). Do not keep both in the same app – Claude would load every tool twice. With both
connected, the old connector only lists the notice to remove it: open Customize → Connectors, remove
X3 Growth Intelligence and keep X3. Self-hosted deployments have no gateway and use their own
https://<api-host>/mcp.
One click from X3
In the dashboard, Team → AI apps (or the onboarding step Claude verbinden) shows Add to Claude. It opens Claude's official install link – the Add custom connector dialog with name and URL already filled in:
https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=X3&connectorUrl=https%3A%2F%2Fapi.x3.example%2FmcpClaude marks the values as coming from an external link. Under Authentication Claude detects Sign in now (X3 answers every unauthenticated request with an OAuth challenge); keep it and keep Use Claude's published identity as OAuth client. Click Add, then Connect, sign in to X3 and confirm the consent page. (The link cannot preset the authentication – Claude detects it from the server.) Signed-out users sign in to Claude first and then see the filled-in dialog. The button also copies the URL, in case a workspace policy blocks the dialog.
Manually
- In Claude open Customize → Connectors → Add custom connector.
- Name:
X3, URL:https://api.x3.example/mcp(your API host, exactly – no redirects). - Authentication: Sign in now (detected automatically – never No sign-in, which would only send requests without a token, and every one of them would be refused). OAuth client: keep Use Claude's published identity (client metadata document) or Register automatically (dynamic client registration). No client id or secret is needed.
- Connect → sign in to X3 → consent → done. In a chat, enable the connector under the + menu → Connectors. On the consent page choose only the project you want to analyse and Read only – write access can also change conversions and ad account settings.
- Test it: ask "Wie lief meine Website letzte Woche?" The onboarding's step Claude verbinden shows the call in its function test (Guided onboarding).
On Team and Enterprise plans only an Owner can add custom connectors: Organization settings → Connectors → Add → Custom → Web (X3 offers the same filled-in link for owners as Add for your Claude team). Every member then connects under Customize → Connectors with their own X3 account. Free plans allow one custom connector.
Consent
The consent page is short: X3 preselects every organization and all rights of your role („Alle Rechte Deiner Rolle“, Sales Engine, personal data and organization administration included where your role holds them) and shows two or three lines of what the application may do. One click on Zugriff erlauben (Allow access) is enough. Such a connection follows your role: rights the product adds later and role changes apply at once, at every request and every token refresh, without connecting again (a demotion takes rights away just as fast). Everything else sits in the closed section Anpassen (optional) (Customise); untick something there and the connection keeps only your selection („Eingeschränkt“):
| Choice | Effect |
|---|---|
| Organizations | Default all – every organization you belong to, including ones you join later. Only with Only these organizations the list and the project narrowing appear. |
| Projects | Optional narrowing to some projects (then organization and Sales administration are not available). |
| Growth Intelligence | Read (analytics:read, ads:read, conversions:read, leads:summary, crm:read) or Read and write (default; also conversions:write, ads:write, config:write, events:write, project:create, project:admin, ingest:proxy) or No access. |
| Leads with contact details | Only offered when you may see leads, preselected then: leads:read, leads:status and recordings:read (session recordings show what visitors typed and clicked); with read + write also leads:write and crm:write. |
| Sales Engine | Read, Read and write (contacts, deals, calls, tasks, lists, mail) or – only for Sales admins, preselected for them – Read, write and manage (sales:admin: pipelines, call scripts, lead status, call outcomes, team, settings), or No access. |
| Manage the organization | Box for owners and admins, ticked: org:admin (API keys, members, project deletion; steps that need your password again stay in the web app). |
| Ends | Never (until you disconnect) or after 30, 7 or 1 day. |
A client that asks for fewer scopes than usual (e.g. only analytics:read) gets exactly that offered, never more.
Connecting again always shows „Alle Rechte Deiner Rolle“ preselected; it never takes over an earlier selection.
X3 Konto › Sicherheit lists every connection with its mode („Alle Rechte Deiner Rolle“ or „Eingeschränkt: …“); Auf alle Rechte
zurücksetzen gives a restricted connection all rights of your role again, without connecting again
(POST /v1/auth/oauth-grants/{id}/reset-rights). Start a new chat in Claude afterwards so new tools appear. Connections
made before 2 Nov 2026 that were never restricted on purpose switched to „Alle Rechte Deiner Rolle“ automatically
(MCP tools missing although I am an admin).
The grant can never exceed your role: on every request X3 intersects the grant with your current membership. Revoke it in X3 Konto › Sicherheit (Abmelden); organization admins see and revoke all grants of their organization in Growth Intelligence under Kunden & Team › KI-Apps. Revoking also invalidates refresh tokens and keys created through the grant. Changing your password or "log out everywhere" revokes all your grants as well – reconnect afterwards.
How the OAuth flow works
X3 is its own OAuth 2.1 authorization server; nothing else needs to be configured.
| Step | Endpoint | Standard |
|---|---|---|
| Discovery | /.well-known/oauth-protected-resource (and /.well-known/oauth-protected-resource/mcp) | RFC 9728 |
| Server metadata | /.well-known/oauth-authorization-server | RFC 8414 |
| Client registration | POST /oauth/register or an HTTPS client id (client metadata document) | RFC 7591 / CIMD |
| Authorization | GET/POST /oauth/authorize – login and consent pages | PKCE S256 only |
| Tokens | POST /oauth/token – code (60 s, single use), refresh rotation | OAuth 2.1 |
| Revocation | POST /oauth/revoke | RFC 7009 |
- Access tokens (
x3oat_…) live one hour and are only valid for/mcp(audience binding). Refresh tokens (x3ort_…) slide for 180 days; reuse of a rotated refresh token outside a 30-second grace window revokes the whole grant. - The login and consent pages are server-rendered without JavaScript, in English or German
(
Accept-Language), and cannot be framed. - The 401 challenge always asks for the full read-and-write scope set plus
offline_access, so Claude never needs a step-up for normal work. Admin and personal-data scopes are requested only when a tool needs them (403insufficient_scopechallenge).
Other MCP clients
The same server works in other clients; sign-in is the same OAuth flow. Clients detect it from the 401
challenge on initialize. For docs help without an account use the
public docs endpoint /mcp/public.
| Client | How to add | Sign-in callback (allowed by X3) |
|---|---|---|
| Claude Code | claude mcp add --scope user --transport http x3 https://api.x3.example/mcp, then /mcp → Authenticate | loopback on any port |
| Cursor | Add to Cursor in X3 (deeplink cursor://anysphere.cursor-deeplink/mcp/install?…) or {"url": "…/mcp"} in mcp.json | desktop: http://localhost:8787/callback; web agents: https://www.cursor.com/agents/mcp/oauth/callback |
| VS Code | Add to VS Code in X3 (vscode:mcp/install?…) or code --add-mcp '{"name":"x3","type":"http","url":"…/mcp"}' | desktop: http://127.0.0.1:33418/; web: https://vscode.dev/redirect |
| ChatGPT | Turn on Developer mode (Settings → Apps → Advanced settings), then create an app with the URL | https://chatgpt.com/connector_platform_oauth_redirect |
| Claude Desktop extension | Optional .mcpb download (runs locally, signs in with an API key instead of OAuth – prefer the connector) | – |
Any other client: add its exact callback URL to X3_OAUTH_EXTRA_REDIRECTS
(Environment).
Requirements for self-hosted deployments
Claude's servers connect to your API from Anthropic's network. The API host must
- be reachable over public IPv4 with a valid TLS certificate;
- answer
/mcpand the OAuth endpoints without redirects; - allow Anthropic's egress range
160.79.104.0/21through any WAF; - answer the token endpoint in well under 10 seconds (Neon cold starts are fine; X3 answers 503, never 401, while the database wakes up).
Set X3_PUBLIC_API_URL to the public origin; X3_OAUTH_ISSUER only when the issuer must differ.
Troubleshooting
| Symptom | Cause |
|---|---|
| Dialog shows No sign-in – detected | A connector added before 16.10.2026 or the URL /mcp/public – use https://<api-host>/mcp. Authentication cannot be changed later: remove the connector and add it again; then it detects Sign in now |
| "Couldn't connect" right after adding | URL redirects (e.g. http → https, apex → www) or IPv6-only host |
| "The form expired or is invalid" | The consent page was open too long or opened twice – start Connect again |
| Tools missing in chat | Read-only consent hides write tools; reconnect and choose Read and write. No Sales tools: Claude finds no Sales Engine tools. After any change start a new chat – an open chat keeps its old tool list |
| Leads tools missing | Personal data was not granted, or your membership lacks the PII flag |