Skip to content

SSO

Clerk MCP connector

The Clerk connector lets Claude, ChatGPT and other AI clients work with Clerk API keys, actor tokens, allowlist identifiers and billing statements through one governed endpoint, with every action checked and recorded in an audit log.

  • Connects with an API key
  • Works for one person or a whole team
  • Free 14-day trial
  • No credit card
Claude Elaichi connected

Show billing statements from last month with failed payment attempts.

Working in Clerk with Elaichi

  • List all Clerk billing statement payment attempts
  • List all Clerk billing statements
  • Get single Clerk billing statement by ID
Governance / Audit log Last 24 hours
Clerk Get single Clerk billing statement by ID Emily Carter · Claude · 9:41 AM Done
Clerk List all Clerk billing statements Emily Carter · Claude · 9:41 AM Done
Clerk List all Clerk billing statement payment attempts Emily Carter · Claude · 9:41 AM Done
Clerk Create a Clerk actor token Megan Brooks · ChatGPT · 9:38 AM Done
Clerk Clerk actor tokens revoke Ryan Hayes · Cursor · 9:35 AM Done

How to connect Clerk to Claude, ChatGPT, Perplexity, Grok, Cursor or Microsoft Copilot

Step by step, for each AI app

Clerk MCP connector for Claude

  1. 1

    Open Customize, then Connectors.

  2. 2

    Press Add.

  3. 3

    Name it, paste the MCP server URL, then Continue.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in and approve.

Tap the picture to see it full size.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

Clerk MCP connector for Claude Code

  1. 1

    Copy the claude mcp add command and run it in a terminal.

  2. 2

    Start Claude Code and run /mcp.

  3. 3

    Pick elaichi, then sign in and approve in the browser.

Terminal

$ claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp

Use --scope project instead to share it with the repository through .mcp.json.

Clerk MCP connector for ChatGPT

  1. 1

    Open Plugins, then press the + button.

  2. 2

    Name it and paste the endpoint into Server URL.

    https://api.elaichi.ai/mcp
  3. 3

    Leave Authentication on OAuth, then tick the risk acknowledgement.

  4. 4

    Press Create, then sign in and approve.

Tap the picture to see it full size.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

Clerk MCP connector for Perplexity

  1. 1

    In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.

  2. 2

    Name it Elaichi.

  3. 3

    Paste the endpoint as the MCP server URL.

    https://api.elaichi.ai/mcp
  4. 4

    Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.

  5. 5

    Tick the box about custom connectors, then click Add.

  6. 6

    Click the Elaichi card. Sign in to Elaichi and approve.

Tap the picture to see it full size.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors. Setup guide for Perplexity.

Clerk MCP connector for Grok

On grok.com

  1. 1

    Go to grok.com/connectors and click New Connector.

  2. 2

    Choose Custom.

  3. 3

    Paste the endpoint as the MCP server URL.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in to Elaichi and approve.

or

In Grok Bot

  1. 1

    Open Connect apps and click Add a custom connector.

  2. 2

    Name it Elaichi.

  3. 3

    Set the type to Remote HTTPS.

  4. 4

    Paste the endpoint as the Server URL.

    https://api.elaichi.ai/mcp
  5. 5

    Leave Client ID empty.

  6. 6

    Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

Tap the picture to see it full size.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first. Setup guide for Grok.

Clerk MCP connector for Cursor

  1. 1

    Open ~/.cursor/mcp.json.

  2. 2

    Add the endpoint under mcpServers.

    https://api.elaichi.ai/mcp
  3. 3

    Reload Cursor, then sign in and approve.

~/.cursor/mcp.json

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

Set up per machine, so repeat it on each computer you work from.

Clerk MCP connector for Microsoft Copilot

  1. 1

    In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.

  2. 2

    Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.

    https://api.elaichi.ai/mcp
  3. 3

    Create a new connection, sign in and approve, then press Add to agent.

  4. 4

    Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Server URL
https://api.elaichi.ai/mcp
Authentication
OAuth 2.0
Type
Dynamic discovery

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

Connect Clerk to any MCP client

  1. 1

    Add the endpoint as a remote MCP server.

    https://api.elaichi.ai/mcp
  2. 2

    Sign in and approve.

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

The Elaichi Agent already has these tools, with nothing to set up.

Want the AI to use only some Clerk tools? Paste this into a connected AI app.

Using Elaichi, build me a toolbox for Clerk with only the tools I need for [my job]. Start with read tools, lock any fixed ids, and write its skill.

What teams do with Clerk through Elaichi

Ask in plain English. Each person’s AI can do only what they’re allowed to, and every action it takes in Clerk is logged.

  • Support

    See an account the way a customer does

    Create a short-lived Clerk actor token so a support agent can reproduce what a customer is seeing. Revoke it the moment the ticket is closed.

  • Engineering

    Keep track of every live API key

    List the Clerk API keys your app has issued, check which are still valid, and update their names or details. Revoke a key that should no longer work without opening the Clerk dashboard.

  • Security

    Control who is allowed to sign up

    Review the Clerk allowlist, add a new email address or domain when a partner joins, and remove entries that no longer belong there.

  • Finance

    Reconcile billing statements and failed payments

    Pull Clerk billing statements for a period and look at the payment attempts behind each one. Spot failed charges before the month closes.

  • Product

    Review plans and adjust pricing

    List your Clerk billing plans and their prices, add a new price when packaging changes, and set up a price transition for existing subscribers.

  • Customer success

    Send customers a self-serve admin portal link

    Create a Clerk admin portal link so a customer's administrator can manage their own setup. Revoke the link if it was sent to the wrong person.

Try asking

  • “Show billing statements from last month with failed payment attempts.”
  • “Which API keys did we create this quarter that are still active?”
  • “Add the acme.com domain to our sign-up allowlist.”

See all 249 Clerk tools →

What connecting Clerk gets you

6 screens from Elaichi, each doing one job for your Clerk account.

Elaichi Agent

Ask Elaichi to work across your apps.

Show billing statements from last month with failed payment attempts.

Which API keys did we create this quarter that are still active?

Add the acme.com domain to our sign-up allowlist.

Also runs in Claude, ChatGPT, Perplexity, Grok, Cursor or Microsoft Copilot

The agent

Ask Clerk questions, get answers from live records.

Check billing statements, API keys and allowlist entries in plain language.

ElaichiAI apps
Claude ChatGPT Perplexity Grok Cursor Microsoft Copilot

Copy the endpoint

https://api.elaichi.ai/mcp
Client Connected by Status Last used
Claude
E

Emily Carter

• Connected 4 minutes ago
Cursor
M

Megan Brooks

• Connected 2 hours ago
ChatGPT
R

Ryan Hayes

• Connected Yesterday

AI apps

One endpoint brings Clerk to every client.

Claude, ChatGPT, Cursor and Microsoft Copilot connect over OAuth, with no SDK or shared key.

ElaichiTools
Tool Action Description
Create a Clerk actor token Create Create an actor token in Clerk that can be used to impersonate the given user. The `actor` payload must include a `sub` key with the ID of the impersonating user; the returned token embeds that payload in the resulting JWT session token. Requires `user_id` and `actor`. Required: user_id, actor.
Clerk actor tokens revoke Revoke Revoke a pending actor token in Clerk. Returns the updated actor token record with its status, expires_at, and revoked_at. Requires `actor_token_id`. Required: actor_token_id.
Create a Clerk admin portal link token Create Create an Admin Portal Link Token in Clerk. Returns the issued token plus its id, scopes, revoked, expiration, and created_at. Requires a JSON body with organization_id, it_contact_id, and scopes. seconds_until_expiration defaults to 3600 (max 86400).
Clerk admin portal link tokens revoke Revoke Revoke an Admin Portal Link Token in Clerk. Optional revocation_reason in the request body. Required: admin_portal_link_token_id.
Create a Clerk agent task Create Create an agent task on behalf of a user in Clerk. Returns the agent task object with its agent_id, agent_task_id, and the URL the user visits to create a session. Required: on_behalf_of, permissions, agent_name, task_description, redirect_url.

Tool catalog

249 Clerk tools ready without custom code.

API keys, actor tokens, allowlists and billing statements are covered from day one.

ElaichiToolboxes
Name Source template Tools Created

Engineering toolbox

Clerk · API keys and tokens

Clerk starter 18 Mar 4, 2026

Security toolbox

Clerk · allowlist and revocations

— 9 Mar 2, 2026

Support toolbox

Clerk · actor tokens for customer help

— 24 Feb 27, 2026

Finance toolbox

Clerk · billing statements and payments

Clerk starter 6 Feb 19, 2026

Product toolbox

Clerk · plans and prices

— 31 Jan 30, 2026

Customer success toolbox

Clerk · admin portal links

— 12 Jan 22, 2026

Toolboxes

Every team gets its own Clerk toolbox.

Support gets actor tokens, finance gets billing statements, each in a separate toolbox.

ElaichiConnections
Connection Scope Status Access
CL

Clerk (Production)

Connected by Emily Carter

Personal • Active 1 team · 6 members
CL

Clerk (Staging)

Connected by Jake Morgan

Organization • Active 3 teams · 24 members
CL

Clerk (Support desk)

Connected by Megan Brooks

Organization • Active 2 teams · 11 members
CL

Clerk (Security)

Connected by Tyler Reed

Personal • Needs re-auth 1 team · 3 members
CL

Clerk (Billing)

Connected by Ryan Hayes

Personal • Active Not shared
CL

Clerk (Engineering EU)

Connected by Ashley Parker

Personal • Active 2 teams · 9 members

Shared connections

Teammates use Clerk without ever seeing the key.

One person connects Clerk, then shares it with teams and members who never handle a credential.

ElaichiAudit log
When Who What happened Type

2 minutes ago

Mar 6, 2026, 3:10 PM

E

Emily Carter

[email protected]

Restriction Created Access

8 minutes ago

Mar 6, 2026, 3:04 PM

J

Jake Morgan

[email protected]

Restriction Updated Access

14 minutes ago

Mar 6, 2026, 2:58 PM

M

Megan Brooks

[email protected]

Role Assigned Access

20 minutes ago

Mar 6, 2026, 2:52 PM

T

Tyler Reed

[email protected]

Clerk Users Updated MCP

26 minutes ago

Mar 6, 2026, 2:46 PM

R

Ryan Hayes

[email protected]

Clerk Api keys Created MCP

32 minutes ago

Mar 6, 2026, 2:40 PM

A

Ashley Parker

[email protected]

Clerk Api keys List Toolbox

Audit log

Every Clerk action shows who did it.

Each revoked token and new API key is logged with time, person and resource.

From answering questions to doing the work

A trigger starts the work, inside the same permissions and the same audit log as everything else. Workflows, collections and live dashboards come with the Black plan.

Clerk digest

Run 418 · started 2 minutes ago · on behalf of Emily Carter

  1. ✓

    Schedule

    Every weekday at 8:00 AM

    0.2s
  2. ✓

    Fetch api keys

    Clerk

    1.4s
  3. ✓

    Group by owner

    Transform

    0.1s
  4. ✓

    Draft the digest

    Agent step

    Ran with 4 tools, returned a structured summary

    6.2s
  5. Approve the digest

    Needs approval

    Assigned to Jake Morgan

    Approve
  6. Post the digest

    Clerk

    Queued

Workflows

Clerk billing digests run on a schedule.

Statements are fetched and grouped, an agent drafts a digest, and a person approves it.

Clerk health

Refreshed 4 minutes ago · every 15 minutes · from the api keys collection

Live

Api keys

1,284 ↓ 12%

Actor tokens

96 ↓ 8%

Needs attention

3 ↑ 2

Updated this week

412 ↑ 9%

Api keys created

Last 14 days

By team

Share of activity

Production 34%

Staging 27%

Support desk 21%

Security 18%

Collections and dashboards

Clerk health numbers refresh without anyone asking.

Four metrics, a 14 day chart and a team breakdown, computed with no model involved.

For IT and engineering

Elaichi vs Zapier MCP vs Composio for Clerk

All three can connect Clerk to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

Elaichi compared with Zapier MCP and Composio for Clerk, by what to check
What to check Elaichi Zapier MCP Composio
Where the AI connects One address for the whole organization. https://api.elaichi.ai/mcp A server per member, created at sign-in. An MCP endpoint per team, or an SDK.
Control over Clerk tools Allow or restrict single Clerk tools, per role or user. App and action restrictions on the account. Role permissions, down to the action.
Record of calls One audit entry per Clerk call. A History tab of tool calls. A log of every tool call.
Single sign-on SAML or OIDC, plus SCIM, on Gold. SAML on Enterprise. SAML and OIDC on Enterprise.
Price Free for one person; $15 per user per month on Gold. 2 tasks per successful call. Billed per tool call.

Sources: Zapier MCP docs, security, usage; Composio docs, gateway, enterprise, pricing. Checked September 2026.

Longer take: Zapier MCP alternative and whether you need an MCP gateway on your own.

Clerk tools for your AI agents

249 tools are ready to call through Elaichi's MCP endpoint the moment you connect Clerk, governed by the same roles, restrictions, and audit log as everything else in Elaichi.

Showing 241 of 249 Clerk tools here. Connect Clerk and call search_tools or tools/list over the MCP endpoint for the complete set.

Questions, answered

How do I connect Clerk to Claude?

Connecting Clerk to Claude takes two steps: connect Clerk in Elaichi by pasting a Clerk secret key from your Clerk dashboard, then paste https://api.elaichi.ai/mcp into Claude under Customize, then Connectors, then Add. Clerk connects with an API key, so there is no OAuth application to register and no client ID or secret to generate. You sign in to Elaichi as yourself and Claude can start working with Clerk right away.

Does Clerk work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Clerk is connected in Elaichi, Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent all use the same endpoint, https://api.elaichi.ai/mcp. You connect Clerk once and every client can use it.

What can an AI agent actually do with my Clerk data?

An AI agent connected to Clerk through Elaichi can list and revoke API keys, create and revoke actor tokens for support sessions, manage the sign-up allowlist, create admin portal links, and review billing plans, prices, statements and payment attempts. Short, concrete asks such as "show Clerk billing statements from March" tend to work better than long sentences.

Does connecting Clerk give the AI access to everything in my Clerk instance?

No. A Clerk connection can only do what the Clerk key it uses is allowed to do, and each person still signs in to Elaichi as themselves, so their own role decides what they can reach. Elaichi can narrow that access further with roles and restrictions, and it never widens it beyond what Clerk allows.

Can my team share one Clerk connection?

Yes. One person connects Clerk in Elaichi and shares the connection with teams or individual members, and nobody else ever sees or handles the Clerk key. Each teammate still signs in as themselves, so the audit log names the actual person behind every Clerk action.

Can I stop an agent from deleting or changing things in Clerk?

Yes. In Elaichi you can restrict individual Clerk actions, such as revoking API keys or deleting allowlist entries, for a whole role or for one person. A restricted Clerk tool still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

What happens to a Clerk connection when someone leaves?

When someone leaves, offboarding them in Elaichi ends their access to Clerk at once, across every AI client. A shared Clerk connection keeps working for everyone else on the team, and if you disconnect Clerk once in Elaichi it is removed from every client.

Does the Clerk MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Clerk is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

Is Elaichi an alternative to Zapier MCP for Clerk?

Yes. Both let Claude, ChatGPT or Cursor use Clerk. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Clerk call.

How is Elaichi different from Composio for Clerk?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Clerk: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

Put Clerk in front of your team

14 days of Black, no credit card. Connect it once and pick what each team can call.

When the trial ends, nothing is deleted. You move to the free Personal plan, and connections, roles and the audit log stay where they are.

Add one link to your AI app

The same link for everyone on your team.

https://api.elaichi.ai/mcp
  • ChatGPT
  • Claude
  • Perplexity
  • Grok
  • Cursor
  • Microsoft Copilot