Skip to main content
Ontora’s MCP server accepts two kinds of credentials on the same regional /mcp endpoint: an Ontora sign-in (OAuth) for hosted assistants such as ChatGPT and Claude, and a workspace API key for clients that send a static Bearer header.
Use the endpoint matching your dashboard: app.ontora.com uses the US endpoint; eu.ontora.com uses the EU endpoint. Enter the URL exactly as shown, without a trailing slash.

Choose a workspace per conversation

Account OAuth requests openid ontora:mcp and uses Clerk sign-in (including Google when enabled). At the start of a chat, the client calls list_connected_workspaces, asks which workspace to use, and passes its workspace_id on subsequent calls. The client controls the picker and remembers the choice within that conversation. Each operation checks current membership and workspace access. US and EU endpoints remain separate. Existing saved workspace restrictions and revoked connections still apply; legacy organization tokens and API keys never expand automatically. Revoke new account grants in Clerk; Connected apps continues to manage saved restricted grants. This change does not bypass client registration requirements.

ChatGPT

ChatGPT connects through OAuth only; it cannot send an API key header. In ChatGPT on the web, add the MCP server as a plugin. Your workspace must allow custom MCP servers.
1

Create the connector

Open Plugins → + → Add custom MCP server. Name it Ontora and enter the regional MCP URL from the table above under Connection → Server URL.
2

Choose OAuth

Set Authentication to OAuth. Leave the client ID and client secret empty and confirm that you trust the application. If asked how to register, use hosted client metadata (CIMD) or automatic registration (DCR); Ontora supports both.
3

Sign in and choose workspaces

Choose Create as a plugin, install it, and connect your Ontora account. Sign in, select the workspace access offered by the consent screen, and allow access. You must already be a member of each selected workspace.
4

Verify

Enable Ontora in a new chat and ask ChatGPT to call list_connected_workspaces. Choose a workspace, then ask it to call get_my_permissions and list campaigns with that workspace_id.
Signing in grants access only to the workspaces you explicitly select. Members and admins both receive read and write tools, so ChatGPT can create, update, and launch campaigns on your behalf; launching sends real invitations. The customer MCP catalog covers campaigns, evidence and the Company Brain; protected-corpus access is separate through REST/CLI. A ChatGPT project that lost its Ontora tools gets them back by adding the connector to the project again. If ChatGPT later reports an authorization error, remove the connector and create it again; project instructions keep working.

Connect more than one workspace

Use one Ontora connection. In the authorization card, open Select workspaces and tick every workspace you want to share. The card shows the selected count and all selected names alongside the requested permissions. Review them, then choose Allow. Only those workspaces are shared. Each must be one you belong to in the same region. A parent workspace never grants access to its children. In Ontora, open Developer → MCP Server → Connected apps to change the selection or revoke an app’s access. Removing one workspace leaves the others connected. Existing connections need to reconnect to create a checklist selection. Ask the client to call list_connected_workspaces. If several workspaces are connected, specify the customer you mean; tools require its workspace_id. ChatGPT controls its account-row wording and may still display your email. The regional endpoint remains the data boundary: EU and US connections are separate.

Claude.ai and Claude Desktop

Claude connects with the same Ontora sign-in. Claude selects its hosted client metadata document automatically, so no client ID is needed.
1

Add a custom connector

In Claude, open Customize → Connectors → Add custom connector. Team and Enterprise organization owners add it under Organization settings → Connectors → Add → Custom → Web. Name it Ontora and enter the regional MCP URL from the table above.
2

Leave the OAuth client fields empty

Do not enter an OAuth client ID or client secret. Add the connector and choose Connect.
3

Sign in and choose workspaces

Sign in with your Ontora account, select one or more workspaces in the authorization card, review the permissions, and allow access.
4

Verify

Enable Ontora in a new conversation and ask Claude to call list_connected_workspaces. Choose a workspace before asking it to list campaigns.
The /mcp/directory endpoint is reserved for the Ontora listing in the Claude connector directory. It requires sign-in and exposes the same tool catalog. Use /mcp for a custom connection that needs OAuth or API-key support.

Workspace API key instead of a sign-in

Organizations whose Claude connector dialog includes Request headers or Additional request headers can attach a workspace API key instead. Claude stores the key as a connector request header. On a Team or Enterprise plan, an organization owner adds the connector and the configured header is shared at organization level, so everyone allowed to use that shared connector acts with the key’s workspace and scopes, independently of their individual Ontora membership.
An organization connector is a shared service identity, not per-user Ontora authorization. Create a dedicated connector key with a 90-day expiry, verify that the connector’s Claude audience is no broader than the intended Ontora workspace audience, and rotate or revoke it whenever access changes. Use a personal sign-in when those audiences differ. Never use a Confidential analysis key in a shared connector.
1

Create an Ontora API key

In Ontora, open Developer → API Keys. Create a read-only key unless Claude must create, update, or launch campaigns. Copy the secret when it appears; it is shown only once.
2

Configure the request header

Choose None (no sign-in) for authentication. Under Request headers or Additional request headers, add Authorization with the value Bearer ont_live_..., replacing the placeholder with your key. Leave the OAuth Client ID and Client Secret empty, and do not add a second Bearer prefix.

Claude Code

Claude Code supports Streamable HTTP with a static authorization header. Keep the key in an environment variable and register the regional API-key endpoint. macOS/Linux:
Windows PowerShell:
For an EU workspace, substitute https://api.eu.ontora.com/mcp. Start Claude Code from an environment that has ONTORA_API_KEY set, open /mcp, and confirm that Ontora is connected. Never commit a key to project configuration.

API-key access levels

The /mcp endpoint is also available for Claude Code, LangDock, Cursor, Codex, automation, and other clients that supply a static Bearer token. Both transports expose the same tools. Two kinds of API keys work here:
  • Read-only (read scope) — inspect campaigns and pull transcripts, results, and reports. Cannot change campaigns or message participants.
  • Full access (read + write) — additionally create, update, and launch campaigns. Launching sends real invitations.
Keys created before the read/write model (scopes like mcp) keep working unchanged.
1

Create an API key

In the dashboard under Developer → API Keys, create a key with the read and write scopes — or read only for a read-only connection. Copy the key — you’ll only see it once.
2

Configure your client

Use the /mcp snippet for your client below. Connecting from LangDock? Follow the dedicated LangDock guide.
3

Verify the connection

Ask the agent to list the connected workspace, inspect get_my_permissions, and list its campaigns.

LangDock

See the step-by-step guide: Connect Ontora to LangDock. Short version: Integrations → Add integration → Start from scratch → Connect remote MCP, URL https://api.ontora.com/mcp, API Key, API Key Header Type Authorization: Bearer, and the raw ont_live_... key as the value. Choose Create and connect, then List Server Features, select the tools and resources, test, and save. Do not type Bearer into the value field a second time. You need LangDock’s Create integrations permission; ask a workspace admin if Add integration is not visible.

Cursor

Set ONTORA_API_KEY in the environment from which Cursor starts, then add this to the personal ~/.cursor/mcp.json file:
Restart Cursor after setting the environment variable. Use https://api.eu.ontora.com/mcp for an EU workspace. Do not put a key directly in a project .cursor/mcp.json file that could be committed.

Codex

Codex accepts a Streamable HTTP URL and reads its Bearer token from a named environment variable. macOS/Linux:
Windows PowerShell:
Use https://api.eu.ontora.com/mcp for an EU workspace. The configuration stores the environment variable’s name, not the token; make that variable available whenever Codex starts.

Other clients

Any client that speaks the Model Context Protocol over streamable HTTP can connect to the regional /mcp URL. Clients that send a static request header use:
OAuth clients discover the Ontora sign-in from the server’s 401 challenge and protected-resource metadata. They can identify themselves with a Client ID Metadata Document (an HTTPS client_id URL) or register through the registration_endpoint advertised by the authorization server. Both paths require an authorization-code flow with PKCE S256 and user consent. Leave optional access-token fields empty when using OAuth; those fields are for existing tokens or API keys. The server does not offer the legacy SSE transport. If a client asks, choose Streamable HTTP.

Updating an existing connection

Refresh the client’s tool list after a server update. The current catalog replaces legacy personas, roadmaps, corpus analysis and duplicate knowledge/transcript tools. See the migration table before reusing a saved workflow.

Rate limits

Each API key has a per-minute tool-call budget. Exceeding it returns a structured rate_limited tool error — wait a minute and retry, and prefer paginated list calls (limit/offset) over pulling everything at once.

Troubleshooting

Global connection (deployment required)

The global resource is https://mcp.ontora.com/mcp. After the global service and Clerk scope are configured, connect once with openid ontora:mcp ontora:mcp:global. It uses standard Clerk account consent. EU and US workspaces are discovered under your production identity. Staging is separate: connect to https://staging-api.ontora.com/mcp/directory with your staging account. The global connection does not offer staging linking or access. The assistant routes a unique workspace or campaign context automatically. If several targets match, it asks using its native question card and keeps your choice in that conversation. The exact card presentation depends on your client. Unavailable production regions are reported, not silently ignored; failed writes are never automatically retried elsewhere. Responses pass through the production EU gateway. Existing regional connections remain supported and their tokens do not automatically grant global access.