Skip to content
m190 avatar

Clerk MCP by usefulapi

m190/usefulapi-mcp

Read and ban access to a Clerk instance: users, organizations, sessions, invitations, and domains.

CCM score
70 of 100
GitHub stars
1
tools
18
transport
HTTP
last updated
Nov 29, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads users and organizations with clerk_list_users, clerk_get_user, clerk_list_organizations, and clerk_count_users, filtered by email, name, banned state, or membership
  • Reads sessions and invitations with clerk_list_sessions, clerk_get_session, and clerk_list_invitations, plus allowlist, blocklist, and JWT templates
  • Writes account changes with clerk_ban_user, clerk_unban_user, and clerk_revoke_session, which take effect on the live instance immediately
  • Designed for support and admin work on a Clerk app that needs quick lookups, bans, or forced sign-outs

Install

$ npx -y add-mcp https://clerk.usefulapi.io/mcp --name clerk -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http clerk https://clerk.usefulapi.io/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 18 tools

Verified live against the running server on Nov 30, 2026.

clerk_get_instanceGet the Clerk instance this secret key belongs to: its id, environment (development or production), allowed origins and user limit. Good first call to confirm which app is connected. Backend API: GET /v1/instance.

Get the Clerk instance this secret key belongs to: its id, environment (development or production), allowed origins and user limit. Good first call to confirm which app is connected. Backend API: GET /v1/instance.

No parameters. Call it with no arguments.

clerk_list_usersList users of the instance. Filter by free text (email, phone, username, name), exact email, user id, organization, banned state or creation time. Returns profile fields and email/phone identifiers; no passwords. Backend API: GET /v1/users.9 params

List users of the instance. Filter by free text (email, phone, username, name), exact email, user id, organization, banned state or creation time. Returns profile fields and email/phone identifiers; no passwords. Backend API: GET /v1/users.

Parameters* required
bannedboolean
true = banned users only; false = not banned.
created_at_afterinteger
Only users created after this Unix time in milliseconds.
email_addressarray
Exact email addresses to match.
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
order_bystring
Sort field. Prefix with '-' for descending, for example '-created_at'.
organization_idarray
Only users who are members of these organizations.
querystring
Free-text search across email, phone, username and name.
user_idarray
User ids to match.
clerk_count_usersCount users that match the same filters as clerk_list_users (text, exact email, organization, banned state). Use it before a large list. Backend API: GET /v1/users/count.4 params

Count users that match the same filters as clerk_list_users (text, exact email, organization, banned state). Use it before a large list. Backend API: GET /v1/users/count.

Parameters* required
bannedboolean
true = banned users only; false = not banned.
email_addressarray
Exact email addresses to match.
organization_idarray
Only users who are members of these organizations.
querystring
Free-text search across email, phone, username and name.
clerk_get_userGet one user by id: name, username, primary email and phone ids, image, and timestamps. Backend API: GET /v1/users/{user_id}.1 params

Get one user by id: name, username, primary email and phone ids, image, and timestamps. Backend API: GET /v1/users/{user_id}.

Parameters* required
user_id*string
Clerk user id, for example user_2abc...
clerk_list_user_membershipsList the organizations one user belongs to, with the role in each. Backend API: GET /v1/users/{user_id}/organization_memberships.3 params

List the organizations one user belongs to, with the role in each. Backend API: GET /v1/users/{user_id}/organization_memberships.

Parameters* required
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
user_id*string
Clerk user id, for example user_2abc...
clerk_list_organizationsList organizations of the instance, optionally with member counts. Filter by name text, organization id or a member user id. Backend API: GET /v1/organizations.7 params

List organizations of the instance, optionally with member counts. Filter by name text, organization id or a member user id. Backend API: GET /v1/organizations.

Parameters* required
include_members_countboolean
Add the member count to each organization.
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
order_bystring
Sort field. Prefix with '-' for descending, for example '-created_at'.
organization_idarray
Organization ids to match.
querystring
Free-text search on the organization name.
user_idarray
Only organizations this user belongs to.
clerk_get_organizationGet one organization by id or slug, optionally with its member count. Backend API: GET /v1/organizations/{organization_id}.2 params

Get one organization by id or slug, optionally with its member count. Backend API: GET /v1/organizations/{organization_id}.

Parameters* required
include_members_countboolean
Add the member count.
organization_id*string
Clerk organization id (org_...) or slug.
clerk_list_organization_invitationsList invitations sent for one organization, with their status (for example pending, accepted or revoked). Backend API: GET /v1/organizations/{organization_id}/invitations.6 params

List invitations sent for one organization, with their status (for example pending, accepted or revoked). Backend API: GET /v1/organizations/{organization_id}/invitations.

Parameters* required
email_addressstring
Exact invited email address.
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
order_bystring
Sort field. Prefix with '-' for descending, for example '-created_at'.
organization_id*string
Clerk organization id (org_...) or slug.
statusstring
Filter by invitation status, for example pending.
clerk_list_invitationsList instance invitations (sign-up invitations sent to email addresses), with status. Backend API: GET /v1/invitations.6 params

List instance invitations (sign-up invitations sent to email addresses), with status. Backend API: GET /v1/invitations.

Parameters* required
email_addressarray
Exact invited email addresses.
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
order_bystring
Sort field. Prefix with '-' for descending, for example '-created_at'.
querystring
Free-text search on the invited email address.
statusstring
Filter by invitation status, for example pending.
clerk_list_sessionsList sign-in sessions, filtered by user, client or status (for example active). Use it to see who is signed in. Backend API: GET /v1/sessions.5 params

List sign-in sessions, filtered by user, client or status (for example active). Use it to see who is signed in. Backend API: GET /v1/sessions.

Parameters* required
client_idstring
Only sessions of this client (browser or device).
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
statusstring
Filter by session status, for example active.
user_idstring
Only sessions of this user.
clerk_get_sessionGet one session by id: its user, client, status, last activity and expiry. Backend API: GET /v1/sessions/{session_id}.1 params

Get one session by id: its user, client, status, last activity and expiry. Backend API: GET /v1/sessions/{session_id}.

Parameters* required
session_id*string
Clerk session id, for example sess_2abc...
clerk_list_domainsList the domains of the instance (primary and satellite domains) with their settings. Backend API: GET /v1/domains.

List the domains of the instance (primary and satellite domains) with their settings. Backend API: GET /v1/domains.

No parameters. Call it with no arguments.

clerk_list_allowlistList identifiers on the instance allowlist (only these emails or domains may sign up while the allowlist is on). Backend API: GET /v1/allowlist_identifiers.2 params

List identifiers on the instance allowlist (only these emails or domains may sign up while the allowlist is on). Backend API: GET /v1/allowlist_identifiers.

Parameters* required
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
clerk_list_blocklistList identifiers on the instance blocklist (emails, phone numbers or domains that may not sign up). Backend API: GET /v1/blocklist_identifiers.

List identifiers on the instance blocklist (emails, phone numbers or domains that may not sign up). Backend API: GET /v1/blocklist_identifiers.

No parameters. Call it with no arguments.

clerk_list_jwt_templatesList the JWT templates that define custom claims for session tokens. Shows names and claim configuration. Backend API: GET /v1/jwt_templates.2 params

List the JWT templates that define custom claims for session tokens. Shows names and claim configuration. Backend API: GET /v1/jwt_templates.

Parameters* required
limitinteger
Maximum rows to return (1-100, default 10).
offsetinteger
Rows to skip, for paging.
clerk_ban_userBANS a user on the live instance: the user's sessions end and the user cannot sign in until unbanned. Confirm the user id first. Backend API: POST /v1/users/{user_id}/ban.1 params

BANS a user on the live instance: the user's sessions end and the user cannot sign in until unbanned. Confirm the user id first. Backend API: POST /v1/users/{user_id}/ban.

Parameters* required
user_id*string
Clerk user id, for example user_2abc...
clerk_unban_userLifts a ban on a user so the user can sign in again. Safe to repeat. Backend API: POST /v1/users/{user_id}/unban.1 params

Lifts a ban on a user so the user can sign in again. Safe to repeat. Backend API: POST /v1/users/{user_id}/unban.

Parameters* required
user_id*string
Clerk user id, for example user_2abc...
clerk_revoke_sessionREVOKES one live sign-in session: that browser or device is signed out at once. Other sessions of the user stay active. Confirm the session id first. Backend API: POST /v1/sessions/{session_id}/revoke.1 params

REVOKES one live sign-in session: that browser or device is signed out at once. Other sessions of the user stay active. Confirm the session id first. Backend API: POST /v1/sessions/{session_id}/revoke.

Parameters* required
session_id*string
Clerk session id, for example sess_2abc...

Readme

usefulapi

Hosted MCP servers for the tools you already use — connect from Claude, Cursor, or any MCP client. No local install, no key-juggling: authorize once and go.

Portal: https://usefulapi.io

Servers


View the full README on GitHub

Details

Repository
github.com/m190/usefulapi-mcp
Website
usefulapi.io/clerk
Categories
Developer Tools, Security
Transport
HTTP
Registry
MCP registry, active
Prompts
6
Tools verified
Nov 30, 2026

More from m190

All 113

Similar to Clerk MCP by usefulapi

More Developer Tools