Skip to content

Clerk MCP Server

Security Official

Get Clerk authentication docs, SDK snippets and quickstart guides while you build sign-in and user management.

Capabilities
Docs SDK snippets Quickstarts
Maintained by
Clerk
Hosting
Hosted by the vendor
Authentication
OAuth sign-in
Last checked

How to connect the Clerk MCP server

Pick your AI client and paste the snippet. New to this? Our guide to how MCP clients and servers fit together explains what each piece does.

Claude Code

Terminal
claude mcp add --transport http clerk https://mcp.clerk.com/mcp

Then run /mcp inside Claude Code and choose Authenticate to sign in.

Full Claude Code setup guide →

Claude Desktop and claude.ai

Settings → Connectors → Add custom connector
Name: Clerk
Remote MCP server URL: https://mcp.clerk.com/mcp

Custom connectors need a Pro, Max, Team or Enterprise plan. On Team and Enterprise an owner adds them in admin settings.

Full Claude Desktop setup guide →

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
  "mcpServers": {
    "clerk": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
Full Cursor setup guide →

VS Code

.vscode/mcp.json
{
  "servers": {
    "clerk": {
      "type": "http",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
Full VS Code setup guide →

ChatGPT

Business, Enterprise and Edu plans (and Pro, read-only) can add this endpoint as an app in developer mode. ChatGPT setup guide →

Frequently asked questions

What is the Clerk MCP server?

It is a Model Context Protocol (MCP) server — a small piece of software that gives AI assistants like Claude a secure, governed connection to Clerk. Get Clerk authentication docs, SDK snippets and quickstart guides while you build sign-in and user management.

Is there an official Clerk MCP server?

Yes. The Clerk MCP server is an official integration, maintained by the vendor or the Model Context Protocol project, which makes it the safest default for business use. It is maintained by Clerk.

Is the Clerk MCP server hosted, or do I run it myself?

It is hosted. Clerk runs the endpoint at https://mcp.clerk.com/mcp, so there is nothing to install: you add the URL to your AI client and sign in with your Clerk account.

Do I need an API key for the Clerk MCP server?

No API key is needed for the hosted server. You sign in through Clerk's own OAuth screen, and the assistant only gets the access your account has.

What can an AI assistant actually do with Clerk?

Through this server an assistant can work with docs, sdk snippets, quickstarts — reading from and acting on Clerk directly instead of you copy-pasting between windows. What you allow it to do is controlled by the permissions you grant.

How do I set this up for my business?

The setup section above has copy-paste config for Claude Code, Claude Desktop, Cursor and VS Code. Once it is running against real systems, the question becomes what catches it when it acts wrongly, and whether that control has ever been watched to hold. Crox puts a number on it.

New to MCP? Start with our plain-English guide to the Model Context Protocol or see how to connect AI to your business tools without writing code .

Done-for-you integration

Already running this in production?

An agent with a live connection to your tools is a model that can act. Crox puts a number on what catches it when it acts wrongly — by breaking the control on purpose and measuring how much margin was left before something irreversible happened.