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.
Say what should happen.
The workflow builds itself.
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.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
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 userPOSTAgents: ask firstBans a user, preventing them from signing in.create_userCreate userPOSTAgents: ask firstCreates a new user with specified profile information.delete_userDelete userDELETEAgents: ask firstPermanently deletes a user and all associated data.get_userGet userGETAgents: ask firstRetrieves a specific user's complete profile.get_user_countGet user countGETAgents: ask firstReturns the total count of users matching filters.get_user_oauth_access_tokenGet user oauth access tokenGETAgents: ask firstRetrieves OAuth access token for a user's social account.get_user_organization_membershipsGet user organization membershipsGETAgents: ask firstRetrieves all organization memberships for a user.list_usersList usersGETAgents: ask firstLists all users with pagination and filtering options.lock_userLock userPOSTAgents: ask firstLocks a user out of their account.unban_userUnban userPOSTAgents: ask firstRemoves the ban from a user, restoring sign-in ability.unlock_userUnlock userPOSTAgents: ask firstRemoves the sign-in lock from a user.update_userUpdate userPATCHAgents: ask firstUpdates an existing user's profile and settings.update_user_metadataUpdate user metadataPATCHAgents: ask firstMerges and updates user metadata without overwriting.verify_user_passwordVerify user passwordPOSTAgents: ask firstVerifies a user's password without creating a session.verify_user_totpVerify user totpPOSTAgents: ask firstVerifies a TOTP or backup code for a user.
Organization, 6 operations
create_organizationCreate organizationPOSTAgents: ask firstCreates a new organization with specified properties.delete_organizationDelete organizationDELETEAgents: ask firstPermanently deletes an organization and all associated data.get_organizationGet organizationGETAgents: ask firstRetrieves a single organization by ID or slug.list_organizationsList organizationsGETAgents: ask firstLists all organizations in the Clerk application.update_organizationUpdate organizationPATCHAgents: ask firstUpdates an existing organization's properties.update_organization_metadataUpdate organization metadataPATCHAgents: ask firstMerges and updates organization metadata without overwriting.
Organization membership, 4 operations
create_organization_membershipCreate organization membershipPOSTAgents: ask firstAdds a user directly to an organization with a role.delete_organization_membershipDelete organization membershipDELETEAgents: ask firstRemoves a user from an organization.list_organization_membershipsList organization membershipsGETAgents: ask firstLists all members of an organization.update_organization_membershipUpdate organization membershipPATCHAgents: ask firstUpdates a member's role within an organization.
Allowlist, 3 operations
create_allowlist_identifierCreate allowlist identifierPOSTAgents: ask firstAdds an identifier to the allowlist.delete_allowlist_identifierDelete allowlist identifierDELETEAgents: ask firstRemoves an identifier from the allowlist.list_allowlist_identifiersList allowlist identifiersGETAgents: ask firstLists all identifiers on the allowlist.
Invitation, 3 operations
create_invitationCreate invitationPOSTAgents: ask firstCreates and sends an application-level invitation.list_invitationsList invitationsGETAgents: ask firstLists all application-level invitations.revoke_invitationRevoke invitationPOSTAgents: ask firstRevokes an application-level invitation.
Organization invitation, 3 operations
create_organization_invitationCreate organization invitationPOSTAgents: ask firstCreates and sends an organization invitation.list_organization_invitationsList organization invitationsGETAgents: ask firstLists all invitations for an organization.revoke_organization_invitationRevoke organization invitationPOSTAgents: ask firstRevokes a pending organization invitation.
Session, 3 operations
get_sessionGet sessionGETAgents: ask firstRetrieves a single session by ID.list_sessionsList sessionsGETAgents: ask firstLists all sessions with optional filtering by client or user.revoke_sessionRevoke sessionPOSTAgents: ask firstRevokes a specific session, logging the user out.
Sign in token, 2 operations
create_sign_in_tokenCreate sign in tokenPOSTAgents: ask firstCreates a sign-in token for passwordless user authentication.revoke_sign_in_tokenRevoke sign in tokenPOSTAgents: ask firstRevokes 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 mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Clerk
- Create your workspace
Sign up free. Nothing to install.
- 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.
- 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.
