Clerk

official

Clerk provides authentication, organization management, and billing implementation support for application developers. Its connector brings current SDK snippets, route-protection patterns, B2B organization examples, and framework-specific guidance into assistant coding workflows.

What can you do with Clerk MCP?

  • Fetch SDK snippets — Ask for current Clerk SDK code examples for your framework, pulled from official docs via clerk_mcp resources.
  • Get route-protection patterns — Request ready-to-use middleware or guard code for securing routes in your app, as documented in the connector.
  • Explore B2B organization examples — Ask for multi-tenant org setup snippets, including invitation and role management patterns from the README.
  • Retrieve framework-specific guidance — Get tailored auth implementation advice for your stack (e.g., Next.js, React) directly in your coding workflow.

Hosted MCP Server

npx add-mcp 'https://mcp.clerk.com/mcp'

Installs into Claude Code, Codex, Cursor, VS Code and more

Documentation

Clerk provides authentication, organization management, and billing implementation support for application developers. Its connector brings current SDK snippets, route-protection patterns, B2B organization examples, and framework-specific guidance into assistant coding workflows.

An eligible provider account or plan may be required for authenticated features. Consult the official setup documentation for access requirements and client compatibility.

Setup documentation