Clerk Template
Provides a production-ready template for building Model Context Protocol (MCP) servers with Clerk authentication on Cloudflare Workers.
This template offers a streamlined solution for creating secure, authenticated MCP tools that seamlessly integrate with Clerk-powered applications on Cloudflare Workers. It equips developers with the necessary components, including Clerk authentication, durable object session management, KV storage, and example tools, enabling the creation of applications that leverage Claude AI with user-specific context. Ideal for SaaS platforms, customer support systems, data analysis tools, and workflow automation, it offers a solid foundation for building robust and secure MCP integrations.
Key Features
01Clerk Authentication Integration (OAuth 2.0)
02Cloudflare Workers serverless deployment
03KV Storage for temporary OAuth session storage
040 GitHub stars
05Durable Objects for session state management
06HMAC-signed state parameters for security
Use Cases
01Give Claude access to user data and business logic in SaaS applications
02Enable Claude to query systems with proper user context for customer support
03Provide Claude with authenticated access to APIs for data analysis