Skip to main content
Glama
dyeoman2

Clerk MCP Server Template

by dyeoman2
types.ts616 B
import { type KVNamespace, type DurableObjectNamespace, } from '@cloudflare/workers-types' // Environment type for our Cloudflare Worker export interface Env { CLERK_SECRET_KEY: string CLERK_PUBLISHABLE_KEY: string OAUTH_KV: KVNamespace APP_URL: string MCP_OBJECT: DurableObjectNamespace } // User data structure from Clerk interface ClerkUser { id: string email: string firstName: string lastName: string imageUrl: string | null } // User properties stored in the MCP session export interface UserProps { user: ClerkUser sessionToken: string sessionId: string expiresAt: string appUrl: string }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dyeoman2/clerk-mcp-template'

If you have feedback or need assistance with the MCP directory API, please join our Discord server