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.

Updated in Intuidy 2026.11.219 min read

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

Choose a connection method:

MethodClientsCredential
Setup prompt or client configClaude Code, Cursor, Windsurf, VS Code, Codex, and any other MCP clientAIPI key (Codex can also sign in with OAuth)
Custom connectorClaude Desktop and claude.aiOAuth sign-in or AIPI key
Desktop extensionClaude DesktopAIPI key

Create an AIPI key

Skip this section if you connect by signing in and grant scopes on the consent screen.

  1. Go to Settings → AIPI Keys.
  2. Select Create key.
  3. 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.
  4. Under Access level, choose Just me or Whole company.
  5. Select the scopes the client needs.
  6. Select Create key.
  7. 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.

OptionWhat it does
Just meLimits the key to your own workflows and notebooks.
Whole companyGives 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 sensitiveLets the key read items marked sensitive.
Allow writing to items marked sensitiveLets the key write to items marked sensitive.
Grant standard accessSelects every standard scope family. It doesn't select connected services, data rule writes, users, or approvals.
Clear allClears every selected scope.

Scopes are grouped by what they reach:

GroupWhat it covers
REST APIScope 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 servicesReading 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.

Warning

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

  1. On the key's connect screen, select Copy setup prompt.
  2. 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.

ClientConfiguration
Cursor, Windsurf, VS Code, and other clients that take a server block with headersAdd a server block with the MCP URL and an Authorization header.
CodexAdd 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 stdioBridge 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.

json
{
  "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.

  1. In Claude, go to Customize → Connectors → Add custom connector.
  2. Enter the MCP URL.
  3. For authentication, choose Always required.
  4. For the OAuth client, choose Use Anthropic's hosted client metadata.
  5. Select Add.
  6. Select Connect.
  7. 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.

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.

  1. Check that Signed in as and App identity show the account and the app you expect.
  2. Choose Use an existing key or Choose permissions.
  3. Choose the key, or choose an Access level and select the scopes to grant.
  4. Select Connect.

The browser then shows Return to the application. Go back to the client to continue. You can close the browser window.

OptionWhat it does
Use an existing keyThe app gets that key's access. It doesn't get the key.
Choose permissionsGrants exactly the scopes you select, for this app only.
Just meLimits the app to your own workflows and assets.
Whole companyGives 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.

Warning

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.

  1. On the key's connect screen, under Claude Desktop extension, select the download button.
  2. Open the downloaded file with Claude Desktop.
  3. 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.

To change a key's scopes:

  1. Go to Settings → AIPI Keys.
  2. On the key, select Edit name, scopes & expiry.
  3. Select or clear scopes.
  4. 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

Troubleshooting

↳ Authentication ↳ Recipes ↳ Errors, pagination and limits