MCP server
Connect Claude and other MCP clients to the Intuidy MCP server with an AIPI key, an OAuth sign-in, or the Claude Desktop extension.
Connect Claude or another MCP client to the Intuidy MCP server so an AI assistant can run your workflows and agents and read your workspace. A client authenticates with an AIPI key or with an OAuth sign-in.
The MCP server reaches the same workflows, agents, and data as AIPI, the Intuidy REST API.
Before you start
- You need access to Settings → AIPI Keys to create or edit a key.
- You need the MCP URL, written on this page as
<mcp-url>. Copy it from a key's connect screen. - A client that only speaks stdio needs Node 18 or later for the bridge.
Choose a connection method:
| Method | Clients | Credential |
|---|---|---|
| Setup prompt or client config | Claude Code, Cursor, Windsurf, VS Code, Codex, and any other MCP client | AIPI key (Codex can also sign in with OAuth) |
| Custom connector | Claude Desktop and claude.ai | OAuth sign-in or AIPI key |
| Desktop extension | Claude Desktop | AIPI key |
Create an AIPI key
Skip this section if you connect by signing in and grant scopes on the consent screen.
- Go to Settings → AIPI Keys.
- Select Create key.
- In Name, enter the name of the client that holds the key, such as
Claude Desktop. The name identifies the key in its activity feed. - Under Access level, choose Just me or Whole company.
- Select the scopes the client needs.
- Select Create key.
- On Your key is ready — connect it, select Copy key and store the key somewhere safe.
The key is shown only once. The rest of the connect screen stays available afterwards, and its examples show a placeholder where the key goes.
| Option | What it does |
|---|---|
| Just me | Limits the key to your own workflows and notebooks. |
| Whole company | Gives the key everything in the organization. |
| Expires (optional) | Sets an expiry date. Leave it empty for a key with no expiry. |
| Allow reading items marked sensitive | Lets the key read items marked sensitive. |
| Allow writing to items marked sensitive | Lets the key write to items marked sensitive. |
| Grant standard access | Selects every standard scope family. It doesn't select connected services, data rule writes, users, or approvals. |
| Clear all | Clears every selected scope. |
Scopes are grouped by what they reach:
| Group | What it covers |
|---|---|
| REST API | Scope families that AIPI endpoints also serve, such as workflows and agents. |
| Assets (AI assistants only) | Notebooks, dashboards, managed databases, and the knowledge base. AIPI has no endpoints for these, so a client reaches them only through the MCP server. Any one of these scopes lets the key connect. |
| Connected services | Reading from and writing to your integrations, such as Gmail and Drive. Select each scope by name. |
| MCP (AI assistants) | The blanket scopes mcp, mcp:read, and mcp:write, which cover the Intuidy asset families at once. Prefer the narrower scopes. |
The blanket scopes never cover connected services, data rule writes (policies:write), users, or approvals. Grant each of those by name.
Installing a template that creates or deletes a managed database needs databases:write granted by name. A blanket scope doesn't cover that use.
A write scope for connected services lets a client send mail from your users' real addresses. A call through the MCP server or AIPI has no approval step.
Connect a client with the setup prompt
- On the key's connect screen, select Copy setup prompt.
- Paste the prompt into your client.
The prompt carries the key, the endpoints, a ready config for each client, and what the key is allowed to do. It contains the secret, so paste it only into the client you're connecting.
To configure a client by hand, use the examples under Call it on the connect screen. They include MCP setup prompt, Claude Desktop, Claude Code, Codex, and stdio bridge.
| Client | Configuration |
|---|---|
| Cursor, Windsurf, VS Code, and other clients that take a server block with headers | Add a server block with the MCP URL and an Authorization header. |
| Codex | Add the server to ~/.codex/config.toml. Long workflow or agent runs exceed Codex's default of 60 seconds per tool call, so raise the timeout as the Codex example shows. To sign in with OAuth instead of a key, leave out bearer_token_env_var and run the sign-in command from the same example. |
| Clients that only speak stdio | Bridge to the MCP server with mcp-remote, which needs Node 18 or later. The stdio bridge example has the config. |
A server block with headers has this shape. The wrapping key differs between clients, and the setup prompt carries the exact block for each.
{
"mcpServers": {
"intuidy": {
"url": "<mcp-url>",
"headers": {
"Authorization": "Bearer <your-aipi-key>"
}
}
}
}<mcp-url> is the MCP URL from the connect screen. <your-aipi-key> is the key you saved when you created it.
Connect Claude with a custom connector
Claude Desktop and claude.ai connect without a key: you add the MCP URL as a custom connector and sign in.
- In Claude, go to Customize → Connectors → Add custom connector.
- Enter the MCP URL.
- For authentication, choose Always required.
- For the OAuth client, choose Use Anthropic's hosted client metadata.
- Select Add.
- Select Connect.
- Approve the connection on the Intuidy consent screen, described in the next section.
To use an AIPI key instead, choose None for authentication. Then, under Request headers, choose authorization and enter Bearer <your-aipi-key>. This needs request-header authentication on your Claude plan.
Claude doesn't let you edit a connector's authentication settings after you add it. Remove the connector and add it again to change them.
Approve the sign-in on the consent screen
When a client starts an OAuth sign-in, your browser opens the Intuidy consent screen. It shows Signed in as, App identity, and Sends code to.
- Check that Signed in as and App identity show the account and the app you expect.
- Choose Use an existing key or Choose permissions.
- Choose the key, or choose an Access level and select the scopes to grant.
- Select Connect.
The browser then shows Return to the application. Go back to the client to continue. You can close the browser window.
| Option | What it does |
|---|---|
| Use an existing key | The app gets that key's access. It doesn't get the key. |
| Choose permissions | Grants exactly the scopes you select, for this app only. |
| Just me | Limits the app to your own workflows and assets. |
| Whole company | Gives the app everything in the organization. Requires admin permissions. |
If the app can run workflows and agents, granting write lets those runs write through connections marked sensitive.
If the screen says the app receives its code on an address on your own computer, any program running there could claim the app's identity. Continue only if you started this connection yourself, moments before.
Sign-in uses the OAuth authorization code flow with PKCE. For keys and scopes, see Authentication.
Install the Claude Desktop extension
The desktop extension connects Claude Desktop to the MCP server with an AIPI key.
- On the key's connect screen, under Claude Desktop extension, select the download button.
- Open the downloaded file with Claude Desktop.
- When the extension asks, enter your key in AIPI key.
Leave the extension's MCP URL setting at its default. To sign in instead of using a key, add the MCP URL as a custom connector.
Check what a connection can do
Ask the assistant to call the get_key_info tool. It returns the key's scopes and the capabilities hidden from the key.
- The server lists only the tools the key's scopes reach. A missing tool means a missing scope, not a missing capability.
- The tool list is fixed when the client connects. Reconnect the client to see tools that were added or changed since.
To change a key's scopes:
- Go to Settings → AIPI Keys.
- On the key, select Edit name, scopes & expiry.
- Select or clear scopes.
- Select Save changes.
The secret doesn't change, so anything that already holds the key keeps working. Reconnect the client to refresh its tool list.
Disconnect a client
- A key. Go to Settings → AIPI Keys and select Revoke on the key. Its status changes to Revoked, and every client that holds it loses access.
- An OAuth sign-in. The grant is listed in Settings → AIPI Keys as granted by signing in from an MCP client. Select Revoke to disconnect it.
- An app connected through an existing key. On that key's connect screen, under Connected apps, select Disconnect.
Troubleshooting
- A tool you expect is missing. The key doesn't have the scope for it. Call
get_key_info, add the scope it names in Settings → AIPI Keys, and reconnect the client. Unauthorized: Missing or invalid Bearer token. The request has no valid key or access token. Check that the client sendsAuthorization: Bearer <your-aipi-key>and that the key's Status is Active, not Revoked or Expired.- This key has no API or MCP scopes, so there is nothing to call with it yet. Edit the key and select at least one scope.
- The desktop extension reports that no AIPI key is set. Open the extension's settings in Claude Desktop and enter an AIPI key.
- This connection request can't be completed. The connecting app could not be verified, or the connection could not be recorded. Nothing was connected. Close the window and start the connection again from the app that opened it.
- The app did not open. The app may no longer be listening for the sign-in. Start the connection again from the app, or close the window.
- Codex tool calls time out. Long workflow or agent runs exceed Codex's default of 60 seconds per tool call. Raise the timeout as the Codex example shows.
↳ Authentication ↳ Recipes ↳ Errors, pagination and limits