Integration

Clerk integration

Complete user management and authentication platform API. Handle user sign-up, sign-in, sessions, organizations, and multi-factor authentication. Build secure authentication flows with OAuth, magic links, and passwordless options. Designed for modern web applications with React, Next.js, and other frameworks.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Clerk.Built from the 39 Clerk tools below, on the connection you add once.

Common Clerk use cases

  • Invitation management
  • Access revocation
  • Admin dashboard
  • Security cleanup
  • Security response
  • Security management
  • Revoke mistaken invites
  • User analytics
  • User data sync
  • Invitation audit

What you can do with Clerk

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

User, 15 operations

  • ban_userBan userPOSTBans a user, preventing them from signing in.
  • create_userCreate userPOSTCreates a new user with specified profile information.
  • delete_userDelete userDELETEPermanently deletes a user and all associated data.
  • get_userGet userGETRetrieves a specific user's complete profile.
  • get_user_countGet user countGETReturns the total count of users matching filters.
  • get_user_oauth_access_tokenGet user oauth access tokenGETRetrieves OAuth access token for a user's social account.
  • get_user_organization_membershipsGet user organization membershipsGETRetrieves all organization memberships for a user.
  • list_usersList usersGETLists all users with pagination and filtering options.
  • lock_userLock userPOSTLocks a user out of their account.
  • unban_userUnban userPOSTRemoves the ban from a user, restoring sign-in ability.
  • unlock_userUnlock userPOSTRemoves the sign-in lock from a user.
  • update_userUpdate userPATCHUpdates an existing user's profile and settings.
  • update_user_metadataUpdate user metadataPATCHMerges and updates user metadata without overwriting.
  • verify_user_passwordVerify user passwordPOSTVerifies a user's password without creating a session.
  • verify_user_totpVerify user totpPOSTVerifies a TOTP or backup code for a user.

Organization, 6 operations

  • create_organizationCreate organizationPOSTCreates a new organization with specified properties.
  • delete_organizationDelete organizationDELETEPermanently deletes an organization and all associated data.
  • get_organizationGet organizationGETRetrieves a single organization by ID or slug.
  • list_organizationsList organizationsGETLists all organizations in the Clerk application.
  • update_organizationUpdate organizationPATCHUpdates an existing organization's properties.
  • update_organization_metadataUpdate organization metadataPATCHMerges and updates organization metadata without overwriting.

Organization membership, 4 operations

  • create_organization_membershipCreate organization membershipPOSTAdds a user directly to an organization with a role.
  • delete_organization_membershipDelete organization membershipDELETERemoves a user from an organization.
  • list_organization_membershipsList organization membershipsGETLists all members of an organization.
  • update_organization_membershipUpdate organization membershipPATCHUpdates a member's role within an organization.

Allowlist, 3 operations

  • create_allowlist_identifierCreate allowlist identifierPOSTAdds an identifier to the allowlist.
  • delete_allowlist_identifierDelete allowlist identifierDELETERemoves an identifier from the allowlist.
  • list_allowlist_identifiersList allowlist identifiersGETLists all identifiers on the allowlist.

Invitation, 3 operations

  • create_invitationCreate invitationPOSTCreates and sends an application-level invitation.
  • list_invitationsList invitationsGETLists all application-level invitations.
  • revoke_invitationRevoke invitationPOSTRevokes an application-level invitation.

Organization invitation, 3 operations

  • create_organization_invitationCreate organization invitationPOSTCreates and sends an organization invitation.
  • list_organization_invitationsList organization invitationsGETLists all invitations for an organization.
  • revoke_organization_invitationRevoke organization invitationPOSTRevokes a pending organization invitation.

Session, 3 operations

  • get_sessionGet sessionGETRetrieves a single session by ID.
  • list_sessionsList sessionsGETLists all sessions with optional filtering by client or user.
  • revoke_sessionRevoke sessionPOSTRevokes a specific session, logging the user out.

Sign in token, 2 operations

  • create_sign_in_tokenCreate sign in tokenPOSTCreates a sign-in token for passwordless user authentication.
  • revoke_sign_in_tokenRevoke sign in tokenPOSTRevokes a pending sign-in token, making it unusable.

Use Clerk from Claude Code, Cursor or Codex

Connect Clerk in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Clerk operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Clerk

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Clerk once

    Add your Clerk connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Clerk integration FAQ

What can you do with the Clerk integration?

LiveContext exposes 39 operations on Clerk, covering user, organization, organization membership and allowlist. Common uses include Invitation management, Access revocation and Admin dashboard.

Popular integrations

Browse the whole catalog