# Clerk MCP Server

We're launching the Clerk MCP server in public beta — a [Model Context Protocol](https://modelcontextprotocol.io/introduction) server that helps AI coding assistants like Claude, Cursor, and GitHub Copilot provide accurate SDK snippets and implementation patterns when working with Clerk. Your agent can use Clerk's MCP server to pull up-to-date implementation guidance and best practices.

Once connected, you can ask your AI assistant questions like:

- "How do I implement authentication hooks in Next.js?"
- "Set up a B2B SaaS with organizations and role-based permissions"
- "Create a waitlist flow for my app"
- "Protect API routes with Clerk"

To see complete setup instructions and learn more about the Clerk MCP server, head to the [documentation](https://clerk.com/docs/guides/ai/mcp/clerk-mcp-server.md).

We'd love to get your feedback as you try out the Clerk MCP server. Reach out through [our feedback portal](https://feedback.clerk.com) or join the discussion in our [Discord community](https://clerk.com/discord).
