Auth0 Authentication
An MCP server with Auth0 authentication and tools to interact with Auth0 client.
An MCP server with Clerk authentication, session data and organization management
An authenticated MCP server using Clerk for JWT-based authentication.
getSession(), full user data via getUser()getClient()greet, whoami, get-user-info, get-my-organizationsYou need a Clerk account with:
Edit .env with your Clerk credentials:
Requires Node.js 22.12 or newer. pnpm install also installs @xmcp-dev/compiler, the dev dependency that runs xmcp dev and xmcp build.
Authorization: Bearer <token> headergetSession() and getUser()| Property | Type | Description |
| ------------------------- | ----------------------- | ------------------------------ |
| userId | string | Unique user identifier |
| sessionId | string \| undefined | Current session ID |
| organizationId | string \| undefined | Organization ID (if in an org) |
| organizationRole | string \| undefined | Role in the organization |
| organizationPermissions | string[] \| undefined | Organization permissions |
| expiresAt | Date | Token expiration time |
| issuedAt | Date | Token issue time |
The plugin automatically registers:
GET /.well-known/oauth-protected-resource — Resource server metadataGET /.well-known/oauth-authorization-server — Authorization server metadataThe client isn't sending a token. Make sure:
If you see "[Clerk] Missing required config: ..." at startup:
CLERK_SECRET_KEY, CLERK_DOMAIN, BASE_URL).env file is being loaded correctlyIf getSession(), getUser(), or getClient() throws "... not initialized":
clerkProvider is exported as default from middleware.ts/mcp/*Access tokens are short-lived. The client should automatically refresh. If it persists:
CLERK_SECRET_KEY is correctCLERK_DOMAIN matches your Clerk application's Frontend APIIf you see a 500 error with "Authentication service misconfigured":
CLERK_SECRET_KEY is invalid or doesn't match your Clerk applicationAn MCP server with Auth0 authentication and tools to interact with Auth0 client.
An MCP server with Scalekit authentication for B2B organizations. Per-user and per-org data isolation with optional RBAC.
An MCP server with WorkOS AuthKit authentication