Integration · Developer tools
Connect Claude & ChatGPT to Clerk
Ask your AI to find a user, check when they last signed in, or invite someone to an organization, and it works in your Clerk application. It can search and count users, read organizations and their members, and send or revoke invitations. It can also update users, change member roles and ban or lock an account, with your approval if you want it.
Free plan, no credit card. Takes about a minute.
Try asking
“When did [email protected] last sign in?”
The AI searches your users by email and reads her profile with sign-in methods and last sign-in time.
“How many users are banned right now?”
It counts the users that match the banned filter.
“Invite [email protected] to the Acme organization as an admin.”
It finds the organization and creates the invitation with the role you asked for. Clerk emails the invitation unless you turn that off.
What your AI can do
Users
Search, count and read users, create and update them, merge metadata, and ban, lock or delete accounts.
Organizations and members
List and create organizations, add or remove members, change roles and see which organizations a user is in.
Invitations
Invite people to sign up or to join an organization, list pending invitations and revoke them.
“Who are the admins in the Acme organization?”
It lists the organization's members filtered by the admin role.
“Which sign-up invitations are still pending?”
It lists invitations with status pending, with the email each was sent to.
“Ban user_2abc, the account is being misused.”
It bans the user, who is signed out and cannot sign in until you unban them.
230 tools for Clerk
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
add_a_domainChanges dataCreate a new company. Required: name or is satellite. Search companies first to avoid duplicates. API summary: Add a domain.add_organization_memberChanges dataAdd an existing user to an organization: `organization_id`, `user_id` and `role` (e.g. org:member or org:admin).archive_mfaMoves moneyArchive a mfa (user id). Financial or irreversible action; may require approval. API summary: Disable a user's MFA methods.attach_permission_to_organization_roleDeletesAttach a permission (permission id). Destructive action; may require approval. API summary: Assign a permission to an organization role.ban_userChanges dataBan a user by `user_id`: they are signed out and cannot sign in until unbanned.cancel_productDeletesCancel a product (product id). Destructive action; may require approval. API summary: Cancel a subscription item.count_usersCount users matching the same filters as search_users.create_a_new_organization_domainChanges dataCreate a new company for a company. Search companies first to avoid duplicates. API summary: Create a new organization domain.create_actor_tokenDeletesCreate a new actor token. Required: user id or actor. Destructive action; may require approval. API summary: Create actor token.create_actor_token_revokeDeletesCreate a new revoke for a actor token. Destructive action; may require approval. API summary: Revoke actor token.create_address_attempt_verificationVisible to othersCreate a new attempt verification for a address. Required: verification id or code. Has effects visible outside this system. API summary: Verify a code sent to an email address.create_address_prepare_verificationVisible to othersCreate a new prepare verification for a address. Has effects visible outside this system. API summary: Send a verification code to an email address.create_admin_portal_link_tokenDeletesCreate a new admin portal link token. Destructive action; may require approval. API summary: Create an Admin Portal Link Token.create_admin_portal_link_token_revokeDeletesCreate a new revoke for a admin portal link token. Destructive action; may require approval. API summary: Revoke an Admin Portal Link Token.create_allowlist_identifierChanges dataCreate a new allowlist identifier. Required: identifier. API summary: Add identifier to the allow-list.create_api_keyChanges dataCreate a new api key. Required: name or subject. Search api keys first to avoid duplicates. API summary: Create an API Key.create_api_key_revokeChanges dataCreate a new revoke for a api key. API summary: Revoke an API Key.create_blocklist_identifierChanges dataCreate a new blocklist identifier. Required: identifier. API summary: Add identifier to the block-list.create_change_domainChanges dataCreate a new change domain. API summary: Update production instance domain.create_companyVisible to othersCreate a new company. Search companies first to avoid duplicates. Has effects visible outside this system. API summary: Create multiple invitations.create_company_create_organization_invitation_bulkVisible to othersCreate a new company. Required: items. Search companies first to avoid duplicates. Has effects visible outside this system. API summary: Bulk create and send organization invitations.create_creditChanges dataCreate a new credit. Required: amount, action or idempotency key. API summary: Adjust a user's credit balance.create_credit_adjust_organization_billing_credit_balanceChanges dataCreate a new credit. Required: amount, action or idempotency key. API summary: Adjust an organization's credit balance.create_directoryChanges dataCreate a new directory. Required: enterprise connection id or provider. API summary: Create a directory.create_directory_group_role_mappingDeletesCreate a new group role mapping for a directory. Required: role id. Destructive action; may require approval. API summary: Create a directory group role mapping.create_directory_rotate_api_keyChanges dataCreate a new rotate api key for a directory. API summary: Rotate a directory's API key.create_enterprise_connectionChanges dataCreate a new enterprise connection. Required: name, provider or domains. API summary: Create an enterprise connection.create_enterprise_connection_test_runChanges dataCreate a new test run for a enterprise connection. API summary: Create an enterprise connection test run.create_invitationChanges dataInvite someone to sign up by `email_address`. Clerk emails the invitation unless `notify` is false; optional `expires_in_days` and `public_metadata`.create_invitation_company_revoke_organization_invitationChanges dataCreate a new company for a invitation. Search companies first to avoid duplicates. API summary: Revoke a pending organization invitation.create_jwt_templateChanges dataCreate a new jwt template. Required: name or claims. API summary: Create a JWT template.create_m2m_tokenDeletesCreate a new m2m token. Destructive action; may require approval. API summary: Create a M2M Token.create_m2m_token_revokeDeletesCreate a new revoke for a m2m token. Destructive action; may require approval. API summary: Revoke a M2M Token.create_machineChanges dataCreate a new machine. Required: name. Search machines first to avoid duplicates. API summary: Create a machine.create_machine_scopeChanges dataCreate a new scope for a machine. Required: to machine id. API summary: Create a machine scope.create_multiple_waitlist_entriesVisible to othersCreate a new company. Search companies first to avoid duplicates. Has effects visible outside this system. API summary: Create multiple waitlist entries.create_oauth_applicationChanges dataCreate a new oauth application. Required: name. API summary: Create an OAuth application.create_oauth_application_revoke_tokenDeletesCreate a new revoke token for a oauth application. Required: token. Destructive action; may require approval. API summary: Revoke an OAuth application token.create_oauth_application_rotate_secretChanges dataCreate a new rotate secret for a oauth application. API summary: Rotate the client secret of the given OAuth application.create_organizationChanges dataCreate an organization with a `name`, optional `slug`, `created_by` (the user ID of its first admin) and metadata.create_organization_permissionDeletesCreate a new organization permission. Required: name or key. Search organization permissions first to avoid duplicates. Destructive action; may require approval.create_organization_roleDeletesCreate a new organization role. Required: name or key. Search organization roles first to avoid duplicates. Destructive action; may require approval. API summary: Create an organization role.create_pageChanges dataCreate a new page. Required: email address. Search pages first to avoid duplicates. API summary: Create a waitlist entry.create_page_invite_waitlist_entryVisible to othersCreate a new page for a page. Search pages first to avoid duplicates. Has effects visible outside this system. API summary: Invite a waitlist entry.create_phone_numberChanges dataCreate a new phone number. Required: user id or phone number. API summary: Create a phone number.create_phone_number_attempt_verificationChanges dataCreate a new attempt verification for a phone number. Required: verification id or code. API summary: Verify a code sent to a phone number.create_phone_number_prepare_verificationChanges dataCreate a new prepare verification for a phone number. API summary: Send a verification code to a phone number.create_priceChanges dataCreate a new price. Required: plan id or amount. API summary: Create a custom billing price.create_product_discountChanges dataCreate a new discount for a product. Required: discount id. API summary: Apply a discount to a subscription item.create_product_price_transitionChanges dataCreate a new price transition for a product. Required: from price id or to price id. API summary: Create a price transition for a subscription item.create_product_subscriptionChanges dataCreate a new subscription for a product. Required: extend to. Search subscriptions first to avoid duplicates. API summary: Extend free trial for a subscription item.create_proxy_checkChanges dataCreate a new proxy check. API summary: Verify the proxy configuration for your domain.create_redirect_urlChanges dataCreate a new redirect url. Required: url. API summary: Create a redirect URL.create_replaceDeletesCreate a new replace. Required: role key or to role key. Destructive action; may require approval. API summary: Replace a role in a role set.create_role_setDeletesCreate a new role set. Required: name, default role key, creator role key or roles. Search role sets first to avoid duplicates. Destructive action; may require approval. API summary: Create a role set.create_role_set_replaceDeletesCreate a new replace for a role set. Required: dest role set key. Destructive action; may require approval. API summary: Replace a role set.create_role_set_roleDeletesCreate a new role for a role set. Required: role keys. Destructive action; may require approval. API summary: Add roles to a role set.create_rotateChanges dataCreate a new rotate. Required: previous token ttl. API summary: Rotate a machine's secret key.create_scim_directoryChanges dataCreate a new scim directory. Required: enterprise connection id or provider. API summary: Create a directory.create_scim_directory_group_role_mappingDeletesCreate a new group role mapping for a scim directory. Required: scim group id or role id. Destructive action; may require approval. API summary: Create a SCIM group role mapping.create_scim_directory_rotate_api_keyChanges dataCreate a new rotate api key for a scim directory. API summary: Rotate a directory's API key.create_session_revokeChanges dataCreate a new revoke for a session. API summary: Revoke a session.create_session_tokenDeletesCreate a new token for a session. Destructive action; may require approval. API summary: Create a session token.create_sign_in_tokenDeletesCreate a new sign in token. Required: user id. Destructive action; may require approval. API summary: Create sign-in token.create_sign_in_token_revokeDeletesCreate a new revoke for a sign in token. Destructive action; may require approval. API summary: Revoke the given sign-in token.create_svixDeletesCreate a new svix. Destructive action; may require approval. API summary: Create a Svix app.create_svix_urlDeletesCreate a new svix url. Destructive action; may require approval. API summary: Create a Svix Dashboard URL.create_taskChanges dataCreate a new task. Required: on behalf of, permissions, agent name, task description or redirect url. API summary: Create agent task.create_task_revoke_agent_taskChanges dataCreate a new task for a task. API summary: Revoke agent task.create_testing_tokenDeletesCreate a new testing token. Destructive action; may require approval. API summary: Retrieve a new testing token.create_userChanges dataCreate a user with `email_address`, `first_name`, `last_name`, `username` or `phone_number` and optional public or private metadata. Search first to avoid duplicates.create_user_unset_user_password_compromisedDeletesCreate a new user. Search users first to avoid duplicates. Destructive action; may require approval. API summary: Unset a user's password as compromised.create_user_users_banChanges dataCreate a new user. Required: user ids. Search users first to avoid duplicates. API summary: Ban multiple users.create_user_users_unbanChanges dataCreate a new user. Required: user ids. Search users first to avoid duplicates. API summary: Unban multiple users.delete_addressDeletesPermanently delete a address by address id. Destructive action; may require approval. API summary: Delete an email address.delete_allowlist_identifierDeletesPermanently delete a allowlist identifier by identifier id. Destructive action; may require approval. API summary: Delete identifier from allow-list.delete_an_organizationDeletesPermanently delete a company by company id. Destructive action; may require approval. API summary: Delete an organization.delete_api_keyDeletesPermanently delete a api key by api key id. Destructive action; may require approval. API summary: Delete an API Key.delete_blocklist_identifierDeletesPermanently delete a blocklist identifier by identifier id. Destructive action; may require approval. API summary: Delete identifier from block-list.delete_companiesMoves moneyPermanently delete a company by organization id. Financial or irreversible action; may require approval. API summary: Delete the organization's logo.delete_companyDeletesPermanently delete a company by company id. Destructive action; may require approval. API summary: Delete a domain.delete_directoryDeletesPermanently delete a directory by directory id. Destructive action; may require approval.delete_directory_group_role_mappingDeletesPermanently delete a group role mapping by mapping id. Destructive action; may require approval. API summary: Delete a directory group role mapping.delete_enterprise_connectionDeletesPermanently delete a enterprise connection by enterprise connection id. Destructive action; may require approval. API summary: Delete an enterprise connection.delete_jwt_templateDeletesPermanently delete a jwt template by template id. Destructive action; may require approval. API summary: Delete a Template.delete_machineDeletesPermanently delete a machine by machine id. Destructive action; may require approval.delete_machine_scopeDeletesPermanently delete a scope by other machine id. Destructive action; may require approval. API summary: Delete a machine scope.delete_oauth_applicationDeletesPermanently delete a oauth application by oauth application id. Destructive action; may require approval. API summary: Delete an OAuth application.delete_organization_permissionDeletesPermanently delete a organization permission by permission id. Destructive action; may require approval. API summary: Delete an organization permission.delete_organization_roleDeletesPermanently delete a organization role by organization role id. Destructive action; may require approval. API summary: Delete an organization role.delete_organization_role_permissionDeletesPermanently delete a permission by permission id. Destructive action; may require approval. API summary: Remove a permission from an organization role.delete_pageDeletesPermanently delete a page by page id. Destructive action; may require approval. API summary: Delete a pending waitlist entry.delete_phone_numberDeletesPermanently delete a phone number by phone number id. Destructive action; may require approval.delete_product_discountDeletesPermanently delete a discount by discount id. Destructive action; may require approval. API summary: Remove a discount from a subscription item.delete_redirect_urlDeletesPermanently delete a redirect url by redirect url id. Destructive action; may require approval.delete_scim_directoryDeletesPermanently delete a scim directory by scim directory id. Destructive action; may require approval. API summary: Delete a directory.delete_scim_directory_group_role_mappingDeletesPermanently delete a group role mapping by mapping id. Destructive action; may require approval. API summary: Delete a SCIM group role mapping.delete_svixesMoves moneyPermanently delete a svix. Financial or irreversible action; may require approval. API summary: Delete a Svix app.delete_userDeletesPermanently delete a user and their data by `user_id`. This cannot be undone.delete_user_accountDeletesPermanently delete a account by account id. Destructive action; may require approval. API summary: Delete External Account.delete_user_backup_codesMoves moneyPermanently delete a backup code by user id. Financial or irreversible action; may require approval. API summary: Disable all user's Backup codes.delete_user_biometric_credentialDeletesPermanently delete a biometric credential by biometric credential id. Destructive action; may require approval. API summary: Revoke a user's biometric credential.delete_user_passkeyDeletesPermanently delete a passkey by passkey identification id. Destructive action; may require approval. API summary: Delete a user passkey.delete_user_passwordDeletesPermanently delete a user by user id. Destructive action; may require approval. API summary: Remove a user's password.delete_user_totpsMoves moneyPermanently delete a totp by user id. Financial or irreversible action; may require approval. API summary: Delete all the user's TOTPs.delete_user_web3_walletDeletesPermanently delete a web3 wallet by web3 wallet identification id. Destructive action; may require approval. API summary: Delete a user web3 wallet.delete_usersMoves moneyPermanently delete a user by user id. Financial or irreversible action; may require approval. API summary: Delete user profile image.get_addressGet one address by address id. API summary: Retrieve an email address.get_api_keyGet one api key by api key id. API summary: Get an API Key by ID.get_customerGet one customer by customer id. API summary: Get a client.get_directoryGet one directory by directory id. API summary: Retrieve a directory.get_enterprise_connectionGet one enterprise connection by enterprise connection id. API summary: Retrieve an enterprise connection.get_jwt_templateGet one jwt template by template id. API summary: Retrieve a template.get_machineGet one machine by machine id. API summary: Retrieve a machine.get_oauth_applicationGet one oauth application by oauth application id. API summary: Retrieve an OAuth application by ID.get_organizationGet one organization by `company_id` (the organization ID or slug).get_organization_permissionGet one organization permission by permission id. API summary: Get an organization permission.get_organization_roleGet one organization role by organization role id. API summary: Retrieve an organization role.get_phone_numberGet one phone number by phone number id. API summary: Retrieve a phone number.get_redirect_urlGet one redirect url by redirect url id. API summary: Retrieve a redirect URL.get_role_setGet one role set by role set key or id. API summary: Retrieve a role set.get_scim_directoryGet one scim directory by scim directory id. API summary: Retrieve a directory.get_sessionGet one session by session id. API summary: Retrieve a session.get_session_reverificationGet one reverification for a session by reverification id. API summary: Retrieve a reverification.get_sign_upGet one sign up by sign up id. API summary: Retrieve a sign-up by ID.get_statementGet one statement by statement id. API summary: Retrieve a billing statement.get_userGet one user by `user_id`, with emails, phone numbers, sign-in methods, metadata and last sign-in time.get_user_oauth_access_tokenGet one oauth access token for a user by provider. Results are paginated. API summary: Retrieve the OAuth access token of a user.invite_to_organizationChanges dataInvite someone by `email_address` to join an organization (`organization_id`) with a `role`. Clerk emails the invitation unless `notify` is false.list_all_organization_domainsSearch companies by organization id, verified, enrollment mode, query, domains or order by. Use this to find existing companies before creating a new company. Results are paginated. API summary: List all organization domains.list_allowlist_identifiersList allowlist identifiers. Optional filters: paginated. Results are paginated. API summary: List all identifiers on the allow-list.list_api_key_secretsList secrets for a api key. API summary: Get an API Key Secret.list_blocklist_identifiersList blocklist identifiers. API summary: List all identifiers on the block-list.list_communicationsList communications. API summary: Get instance communication settings.list_companiesList companies. API summary: List all instance domains.list_companies_list_organization_domainsList companies for a company. Optional filters: verified or enrollment mode. Results are paginated. API summary: Get a list of all domains of an organization.list_creditsList credits. API summary: Retrieve a user's credit balance.list_directoriesList directories. Results are paginated. API summary: List all directories.list_directory_group_role_mappingsList group role mappings for a directory. API summary: List directory group role mappings.list_enterprise_connection_test_runsList test runs for a enterprise connection. Optional filters: status. Results are paginated. API summary: List enterprise connection test runs.list_enterprise_connectionsList enterprise connections. Optional filters: organization id or active. Results are paginated.list_instancesList instances. API summary: Fetch the current instance.list_interstitialsList interstitials. Optional filters: frontend api, publishable key, proxy url, domain, sign in url or use domain for script. API summary: Returns the markup for the interstitial page.list_invitationsList sign-up invitations, filtered by `status` or `query` (email).list_jwksList jwks. API summary: Retrieve the JSON Web Key Set of the instance.list_jwt_templatesList jwt templates. Optional filters: paginated. Results are paginated. API summary: List all templates.list_m2m_tokensList m2m tokens. Optional filters: subject, revoked or expired. Results are paginated. API summary: Get M2M Tokens.list_machine_secret_keysList secret keys for a machine. API summary: Retrieve a machine secret key.list_oauth_application_settingsList oauth application settings. API summary: Get OAuth application settings.list_oauth_applicationsList oauth applications. Optional filters: order by or name query. Results are paginated. API summary: Get a list of OAuth applications for an instance.list_organization_invitationsList invitations to an organization by `organization_id`, filtered by `status` or `email_address`.list_organization_membersList the members of an organization by `organization_id`, optionally filtered by `role` or `query`.list_organization_settingsList organization settings. API summary: Get instance organization settings.list_organizationsList or search organizations with `query` (name, slug or ID), or those a `user_id` belongs to; set `include_members_count` for member counts.list_plansList plans. Optional filters: paginated or payer type. Results are paginated. API summary: List all billing plans.list_pricesList prices. Optional filters: paginated or plan id. Results are paginated. API summary: List all billing prices.list_protectsList protects. API summary: Get instance protect settings.list_redirect_urlsList redirect urls. Optional filters: paginated. Results are paginated. API summary: List all redirect URLs.list_scim_directoriesList scim directories. Results are paginated. API summary: List all directories.list_scim_directory_group_role_mappingsList group role mappings for a scim directory. API summary: List SCIM group role mappings.list_statement_paymentsList payments for a statement. Optional filters: paginated. Results are paginated. API summary: List payment attempts for a billing statement.list_statementsList statements. Optional filters: paginated. Results are paginated. API summary: List all billing statements.list_subscriptionsList subscriptions. API summary: Retrieve a user's billing subscription.list_subscriptions_instance_get_organization_membershipsList subscriptions. Optional filters: order by. Results are paginated. API summary: Get a list of all organization memberships within an instance.list_user_biometric_credentialsList biometric credentials for a user. API summary: List a user's biometric credentials.list_user_organization_invitationsList organization invitations for a user. Optional filters: status. Results are paginated. API summary: Retrieve all invitations for a user.list_user_organizationsList the organizations a user belongs to, with their role, by `user_id`.lock_userVisible to othersLock a user's account by `user_id` so they cannot sign in until unlocked.reject_pageVisible to othersReject a page (waitlist entry id). Has effects visible outside this system. API summary: Reject a waitlist entry.remove_a_domain_from_an_organizationDeletesPermanently delete a company by company id. Destructive action; may require approval. API summary: Remove a domain from an organization.remove_organization_memberDeletesRemove a user from an organization by `organization_id` and `user_id`. The user account itself is kept.retrieve_an_organization_invitation_by_idGet one company for a company by company id. API summary: Retrieve an organization invitation by ID.retrieve_an_organization_s_billing_subscriptionList subscriptions. API summary: Retrieve an organization's billing subscription.retrieve_an_organization_s_credit_balanceList credits. API summary: Retrieve an organization's credit balance.revoke_invitationChanges dataRevoke a pending sign-up invitation by `invitation_id` so its link no longer works.search_api_keysSearch api keys by type, subject, include invalid or query. Use this to find existing api keys before creating a new api key. Results are paginated. API summary: Get API Keys.search_companiesSearch companies by order by, status or query. Use this to find existing companies before creating a new company. Results are paginated. API summary: Get a list of organization invitations for the current instance.search_machinesSearch machines by query or order by. Use this to find existing machines before creating a new machine. Results are paginated. API summary: Get a list of machines for an instance.search_organization_permissionsSearch organization permissions by query or order by. Use this to find existing organization permissions before creating a new organization permission. Results are paginated. API summary: Get a list of all organization permissions.search_organization_rolesSearch organization roles by query or order by. Use this to find existing organization roles before creating a new organization role. Results are paginated. API summary: Get a list of organization roles.search_pagesSearch pages by query, status or order by. Use this to find existing pages before creating a new page. Results are paginated. API summary: List all waitlist entries.search_productsSearch products by paginated, status, payer type, plan id, include free or query. Use this to find existing products before creating a new product. Results are paginated. API summary: List all subscription items.search_role_setsSearch role sets by query or order by. Use this to find existing role sets before creating a new role set. Results are paginated. API summary: Get a list of role sets.search_usersSearch users of your Clerk application with `query` (matches email, phone, username, name or ID) or filters like `email_address`, `organization_id`, `banned` or last sign-in dates; page with `limit` and `cursor`.send_addressVisible to othersEmail a address. Has effects visible outside this system. API summary: Create an email address.send_user_addressVisible to othersEmail a user (user id). Has effects visible outside this system. API summary: Replace a user's email address.set_user_profile_imageChanges dataCreate a new user for a user. Search users first to avoid duplicates. API summary: Set user profile image.submit_access_tokenDeletesVerify a access token. Destructive action; may require approval. API summary: Verify an OAuth Access Token.submit_api_keyVisible to othersVerify a api key. Has effects visible outside this system. API summary: Verify an API Key.submit_company_ownershipVisible to othersVerify a company (domain id). Has effects visible outside this system. API summary: Mark an organization domain's ownership as verified.submit_customerVisible to othersVerify a customer. Has effects visible outside this system. API summary: Verify a client.submit_m2m_tokenDeletesVerify a m2m token. Destructive action; may require approval.submit_sessionVisible to othersRefresh a session (session id). Has effects visible outside this system.submit_user_passwordDeletesVerify a user (user id). Destructive action; may require approval. API summary: Verify the password of a user.submit_user_totpVisible to othersVerify a user (user id). Has effects visible outside this system. API summary: Verify a TOTP or backup code for a user.unban_userChanges dataLift a ban on a user by `user_id` so they can sign in again.unlock_userVisible to othersUnlock a locked user's account by `user_id`.update_addressVisible to othersUpdate an existing address identified by address id. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update an email address.update_an_organization_domainChanges dataUpdate an existing company identified by company id. Only the fields you pass are changed. API summary: Update an organization domain.update_api_keyChanges dataUpdate an existing api key identified by api key id. Only the fields you pass are changed. API summary: Update an API Key.update_communicationsVisible to othersUpdate an existing communication. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update instance communication settings.update_companiesVisible to othersUpdate an existing company identified by organization id. Only the fields you pass are changed. Has effects visible outside this system. API summary: Merge and update metadata for an organization.update_companyChanges dataUpdate an existing company identified by company id. Only the fields you pass are changed. API summary: Update a domain.update_directoryChanges dataUpdate an existing directory identified by directory id. Only the fields you pass are changed. API summary: Update a directory.update_directory_group_role_mappingsMoves moneyUpdate an existing group role mapping identified by directory id. Financial or irreversible action; may require approval. API summary: Replace directory group role mappings.update_enterprise_connectionChanges dataUpdate an existing enterprise connection identified by enterprise connection id. Only the fields you pass are changed. API summary: Update an enterprise connection.update_instance_settingsVisible to othersUpdate an existing instance setting. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update instance settings.update_instancesVisible to othersUpdate an existing instance. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update instance settings.update_jwt_templateChanges dataUpdate an existing jwt template identified by template id. Only the fields you pass are changed. API summary: Update a JWT template.update_machineChanges dataUpdate an existing machine identified by machine id. Only the fields you pass are changed. API summary: Update a machine.update_membership_subscriptionsVisible to othersUpdate an existing subscription identified by user id. Only the fields you pass are changed. Has effects visible outside this system. API summary: Merge and update organization membership metadata.update_oauth_applicationChanges dataUpdate an existing oauth application identified by oauth application id. Only the fields you pass are changed. API summary: Update an OAuth application.update_oauth_application_settingsVisible to othersUpdate an existing oauth application setting. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update OAuth application settings.update_organizationChanges dataUpdate an organization's name, slug or `max_allowed_memberships` by `company_id` (the organization ID).update_organization_member_roleChanges dataChange a member's `role` in an organization by `organization_id` and `user_id`.update_organization_permissionDeletesUpdate an existing organization permission identified by permission id. Only the fields you pass are changed. Destructive action; may require approval. API summary: Update an organization permission.update_organization_roleDeletesUpdate an existing organization role identified by organization role id. Only the fields you pass are changed. Destructive action; may require approval. API summary: Update an organization role.update_organization_settingsVisible to othersUpdate an existing organization setting. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update instance organization settings.update_phone_numberChanges dataUpdate an existing phone number identified by phone number id. Only the fields you pass are changed. API summary: Update a phone number.update_protectsVisible to othersUpdate an existing protect. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update instance protect settings.update_restrictionsVisible to othersUpdate an existing restriction. Only the fields you pass are changed. Has effects visible outside this system. API summary: Update instance restrictions.update_role_setDeletesUpdate an existing role set identified by role set key or id. Only the fields you pass are changed. Destructive action; may require approval. API summary: Update a role set.update_scim_directoryChanges dataUpdate an existing scim directory identified by scim directory id. Only the fields you pass are changed. API summary: Update a directory.update_scim_directory_group_role_mappingsMoves moneyUpdate an existing group role mapping identified by scim directory id. Financial or irreversible action; may require approval. API summary: Replace SCIM group role mappings.update_session_tokenDeletesUpdate an existing token identified by template name. Destructive action; may require approval. API summary: Create a session token from a JWT template.update_sign_upChanges dataUpdate an existing sign up identified by sign up id. Only the fields you pass are changed. API summary: Update a sign-up.update_userChanges dataUpdate a user's first/last name, username, locale, external ID or primary email/phone by `user_id`. Only the fields you pass change.update_user_metadataVisible to othersMerge new values into a user's `public_metadata`, `private_metadata` or `unsafe_metadata` by `user_id`.update_user_phone_numbersVisible to othersUpdate an existing phone number identified by user id. Has effects visible outside this system. API summary: Replace a user's phone number.update_users_compromisedDeletesUpdate an existing user identified by user id. Destructive action; may require approval. API summary: Set a user's password as compromised.
Set up in three steps
- 1
Pick the app
Create a free HeyMyApps account and choose Clerk from the app list.
- 2
Paste your key
Paste your Clerk Secret key. In the Clerk Dashboard, open your application, go to API Keys and copy the Secret key (it starts with sk_live_ or sk_test_). Keep it private, since it has full Backend API access to that instance.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
- Click your name, then Settings › Connectors › Add custom connector.
- Paste your link as the Remote MCP server URL.
- Switch it on from the + menu in a chat.
Questions
What can the AI do in Clerk?
It can search, count and read users, organizations, members and invitations. It can create and update users and organizations, send and revoke invitations, add and remove members and change their roles. It can also ban or lock users, lift a ban or lock again, and delete users.
Does the AI see my Clerk secret key?
No. Your Clerk secret key is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on, so you can start with lookups only. Deleting a user is permanent, removing a member takes away their access, and locking an account or changing metadata affects sign-in, so those tools can require your approval before they run. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
HeyMyApps has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Clerk account.
Can I try it with a test key first?
Yes. A Clerk secret key starts with sk_test_ or sk_live_, and each key works on its own instance. You can connect an sk_test_ key first, and switch to the sk_live_ key when you are happy with how the AI works.
Let your AI work in Clerk today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Clerk freeHeyMyApps is not affiliated with Clerk. Product names are trademarks of their owners.






