We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, to analyze how the site is used.

You can freely give, refuse or withdraw your consent at any time.

Clerk

MCP server by Clerk

Look up Clerk SDK code snippets, authentication patterns and framework-specific implementation guides.

OAuth sign-in (You sign in with the vendor the first time you connect)Streamable HTTP

Connect to Clerk

Clerk needs sign-in. Connect with its own URL:

https://mcp.clerk.com/mcp

Your client opens Clerk’s sign-in the first time you use it. The token stays between your client and Clerk.

Share this server

Opens this page, with the URL and setup steps.

mcp.tc/i/clerk

About

Clerk's remote MCP server gives an AI assistant current Clerk SDK snippets and implementation patterns. You can list the available snippets and bundles, filter them by tag, and fetch a specific snippet by its slug. The content covers authentication flows, Organizations and framework-specific examples such as Next.js and React.

The server is hosted at https://mcp.clerk.com/mcp and uses streamable HTTP. No sign-in or API key is needed. The Clerk CLI can register it in supported clients, or you can add the URL manually. Clerk marks this server as beta, so behavior may change.

What you can do

  • List available Clerk SDK snippets and bundles
  • Filter snippets by tag to find specific functionality
  • Fetch a Clerk SDK snippet by slug
  • Get authentication and Organizations implementation patterns
  • Get framework-specific examples for Next.js, React and others

Tools 23

  • clerk_sdk_snippetRead-only

    Get a Clerk SDK code snippet or pattern by its slug.

  • list_clerk_sdk_snippetsRead-only

    List available Clerk SDK snippets and bundles, optionally filtered by tag.

  • whoamiRead-only

    Who am I

  • submit_feedbackWrites

    Send feedback to Clerk

  • list_applicationsRead-only

    List Clerk applications

  • get_applicationRead-only

    Get Clerk application

  • create_applicationWrites

    Create Clerk application

  • enable_organizationsWrites

    Enable organizations

  • enable_billingWrites

    Enable billing

  • disable_organizationsWrites

    Disable organizations

  • disable_billingWrites

    Disable billing

  • get_instance_configRead-only

    Get instance configuration

Show 11 more tools
  • get_instance_config_schemaRead-only

    Get instance configuration schema

  • patch_instance_configCan delete

    Patch instance configuration

  • put_instance_configCan delete

    Replace instance configuration

  • list_usersRead-only

    List users

  • create_userWrites

    Create user

  • list_domainsRead-only

    List application domains

  • get_deploy_oauth_providersRead-only

    Get OAuth providers needing production credentials

  • create_production_instanceCan delete

    Create production instance

  • get_domain_statusRead-only

    Get domain verification status

  • check_domain_dnsWrites

    Trigger a DNS check

  • set_oauth_provider_credentialsCan delete

    Set OAuth provider credentials

Read from the live server on 17 Nov 2026. Read-only, Writes and Can delete are hints the server declares; your client decides whether to ask before running a tool.

Example prompts

  • List the Clerk SDK snippets available for authentication.

  • Show me the Clerk snippet for protecting a route in Next.js.

  • Find Clerk snippets tagged with organizations.

  • Add Clerk sign-in to my React app using the latest snippet.

Set up

Every client connects to mcp.clerk.com, and Clerk asks you to sign in the first time. Pick yours; the page remembers your choice.

Claude Code

  1. Run this in a terminal, in your project folder:
claude mcp add --transport http clerk https://mcp.clerk.com/mcp
  1. Start Claude Code, type /mcp, pick clerk and choose Authenticate. A browser window opens for the Clerk sign-in.

Add --scope user to make it available in every project, not just this one.

Claude Desktop

  1. Open Customize → Connectors, click + Add, then Add custom connector.
  2. Name it Clerk and paste this URL:
https://mcp.clerk.com/mcp
  1. Click Add, then Connect, and sign in when Clerk asks.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

claude.ai

  1. Open the connector form on claude.ai. This button fills in the name and URL for you:
  1. Check that the URL reads https://mcp.clerk.com/mcp and click Add.
  2. Click Connect and sign in when Clerk asks.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.

ChatGPT

  1. On chatgpt.com, go to Plugins, select +, then Add custom MCP server.
  2. Enter a name for the server.
  3. Under Connection, paste https://mcp.clerk.com/mcp as the server URL, then for authentication choose OAuth. ChatGPT sends you to Clerk to sign in.
  4. Check I understand and want to continue, then select Create as a plugin.

Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).

Cursor

Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):

mcp.json
{
  "mcpServers": {
    "clerk": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}

Cursor shows Needs authentication next to the server. Click the button beside it to sign in.

VS Code

Or from a terminal:

code --add-mcp '{"name":"clerk","type":"http","url":"https://mcp.clerk.com/mcp"}'

Or commit it to the repo in .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "clerk": {
      "type": "http",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}

VS Code asks you to sign in the first time the server starts.

Devin Desktop

  1. Add it to ~/.config/devin/mcp_config.json (macOS and Linux) or %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "clerk": {
      "serverUrl": "https://mcp.clerk.com/mcp"
    }
  }
}
  1. Refresh the MCP server list in Cascade and sign in when asked.

Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.

Codex

codex mcp add clerk --url https://mcp.clerk.com/mcp
codex mcp login clerk

Or edit ~/.codex/config.toml directly:

config.toml
[mcp_servers.clerk]
url = "https://mcp.clerk.com/mcp"

Gemini CLI

gemini mcp add --transport http clerk https://mcp.clerk.com/mcp

Then, inside Gemini CLI, run /mcp auth clerk to sign in.

This adds it to the current project. Add -s user to use it everywhere.

Any client

Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.

{
  "mcpServers": {
    "clerk": {
      "type": "http",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}

Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.

Client only starts local servers? Bridge it with npx -y mcp-remote https://mcp.clerk.com/mcp.

Embed

Show Clerk in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work

The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.

README badge

Badge preview, lightBadge preview, dark
Markdown
[![Clerk on mcp.tc](https://mcp.tc/i/clerk/badge.svg)](https://mcp.tc/i/clerk)
HTML
<a href="https://mcp.tc/i/clerk"><img src="https://mcp.tc/i/clerk/badge.svg" alt="Clerk on mcp.tc" height="20"></a>

It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.

Website card

HTML
<script src="https://mcp.tc/w/clerk.js" async></script>

The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.

iframe

HTML
<iframe src="https://mcp.tc/embed/clerk" title="Clerk on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.

JSON

The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).

https://mcp.tc/i/clerk.json

What each field means

AI prompt

Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the Clerk card to your site.

Markdown
Add the mcp.tc card for Clerk, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.

Put this tag where the card should appear. The card renders right before it:

```html
<script src="https://mcp.tc/w/clerk.js" async></script>
```

To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.

```html
<div data-mcptc="clerk"><a href="https://mcp.tc/i/clerk">Clerk on mcp.tc</a></div>
```

Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.

If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).

For a README or other Markdown docs, use the badge instead:

```markdown
[![Clerk on mcp.tc](https://mcp.tc/i/clerk/badge.svg)](https://mcp.tc/i/clerk)
```

Reference: https://mcp.tc/embed

Change history

Its tools are behind a sign-in, so we can’t read them. New versions it reports and edits by its owner show up here.

Follow Clerk and we’ll email you when something changes.

  1. , Automatic check

    20 tools changed.

    Details, 9 Oct 2026, 01:34 UTC

    Changed 20

    • check_domain_dnshints
      • openWorldHint yes changed to no
    • create_applicationhints
      • openWorldHint yes changed to no
    • create_production_instancehints
      • openWorldHint yes changed to no
    • create_userhints
      • openWorldHint yes changed to no
    • disable_billinghints
      • openWorldHint yes changed to no
    • disable_organizationshints
      • openWorldHint yes changed to no
    • enable_billinghints
      • openWorldHint yes changed to no
    • enable_organizationshints
      • openWorldHint yes changed to no
    • get_applicationhints
      • openWorldHint yes changed to no
    • get_deploy_oauth_providershints
      • openWorldHint yes changed to no

    get_domain_status get_instance_config get_instance_config_schema list_applications list_domains list_users patch_instance_config put_instance_config set_oauth_provider_credentials whoami

  2. , Automatic check

    21 tools added and 2 tools changed.

    New tool marked destructive

    Details, 8 Oct 2026, 22:30 UTC

    Added 21

    • check_domain_dnsWrites

      Ask Clerk to re-check DNS records for an application domain now, then read status with get_domain_status.

    • create_applicationWrites

      Create a new application in the connected workspace (like `clerk apps create`).

    • create_production_instanceCan delete

      Create the production instance for an application on a domain you own, cloned from development (the first step of `clerk deploy`). Irreversible; requires confirm: true. Returns the DNS records to add and the next steps.

    • create_userWrites

      Create a user in an instance (like `clerk users create`). Named fields are merged over body, the raw Backend API create-user request.

    • disable_billingWrites

      Disable billing for organizations and/or users (like `clerk disable billing`). Leaves organizations themselves enabled.

    • disable_organizationsWrites

      Disable organizations on an instance (like `clerk disable orgs`). Refuses while organization billing is enabled.

    • enable_billingWrites

      Enable billing for organizations and/or users (like `clerk enable billing`). Organization billing also enables organizations.

    • enable_organizationsWrites

      Enable organizations on an instance (like `clerk enable orgs`).

    • get_applicationRead-only

      Get one Clerk application that the connected account can access.

    • get_deploy_oauth_providersRead-only

      List OAuth providers enabled on the development instance, the credential fields each needs in production, and whether production already has them (the OAuth step of `clerk deploy`).

    • get_domain_statusRead-only

      Read DNS, SSL, and email verification status for an application domain.

    • get_instance_configRead-only

      Read instance configuration (like `clerk config pull`). Sensitive values are redacted. Pass keys to limit the top-level sections returned.

    • get_instance_config_schemaRead-only

      Read the JSON schema for instance configuration (like `clerk config schema`). Pass keys to limit the top-level sections returned.

    • list_applicationsRead-only

      List the applications in the connected workspace (like `clerk apps list`).

    • list_domainsRead-only

      List an application's domains, including the DNS records each one needs (dns_targets).

    • list_usersRead-only

      List users of an instance (like `clerk users list`). Filters match the Backend API list-users query.

    • patch_instance_configCan delete

      Partially update instance configuration (like `clerk config patch`). Use dry_run first to validate without applying.

    • put_instance_configCan delete

      Replace the entire instance configuration (like `clerk config put`). config must include every top-level key, so start from get_instance_config. Use dry_run first.

    • set_oauth_provider_credentialsCan delete

      Save production OAuth credentials for a provider on an instance (the credential step of `clerk deploy`). Use get_deploy_oauth_providers for the required fields.

    • submit_feedbackWrites

      Send feedback to the Clerk team about a problem you hit while working with Clerk for the user. Call this when a Clerk task fails, needed a workaround, a Clerk tool returned a confusing or wrong result, documentation was missing, or the user asks you to report a problem. Never include secrets, API keys, tokens, or personal data about end users. Reports are read by the Clerk team and used to improve Clerk.

    • whoamiRead-only

      Show the connected Clerk account, its active workspace, and the granted scopes (like `clerk whoami`).

    Changed 2

    • clerk_sdk_snippethints
      • readOnlyHint no changed to yes
      • idempotentHint not set changed to yes
    • list_clerk_sdk_snippetshints
      • readOnlyHint no changed to yes
      • idempotentHint not set changed to yes
  3. , Automatic check

    Tracking started: 2 tools.

FAQ

Can I paste mcp.tc/i/clerk into my MCP client?

No. mcp.tc links are pages, not server addresses. Connect with https://mcp.clerk.com/mcp, so your client talks to Clerk directly. The sign-in token only works there anyway. The quick link is for sharing: it opens this page, with setup steps for every client.

Does Clerk need an API key or a sign-in?

Yes, you need a Clerk account. The first time your client connects, it opens Clerk’s sign-in page. The token goes straight to the server’s own URL, never through mcp.tc.

Is Clerk a remote or a local server?

Remote. Clerk hosts it at https://mcp.clerk.com/mcp, and it speaks Streamable HTTP. There’s nothing to install.

What can Clerk do?

It has 23 tools, including clerk_sdk_snippet, list_clerk_sdk_snippets and whoami. You can list available Clerk SDK snippets and bundles, filter snippets by tag to find specific functionality and fetch a Clerk SDK snippet by slug.

Which clients can use it?

Any client that supports remote MCP servers: Claude Code, Claude Desktop, claude.ai, ChatGPT, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. The setup steps cover each one.

Does mcp.tc track changes to Clerk?

Partly. Clerk’s tools are behind a sign-in, so we can’t read them. Its History tab shows the new versions it reports and edits by its owner. Follow the listing to get an email when it changes.

Who wrote this page?

mcp.tc’s robot read Clerk’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.

mcp.tc isn’t affiliated with Clerk. This page was built from Clerk’s public metadata, last checked on 17 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.