clerk Ai Agent Nextjs Default variant
Clerk MCP Server Starter
OAuth-secured Model Context Protocol server — agents authenticate with Clerk and call your tools
Variant: clerk/nextjs-mcp/oauth-server


Build command
stripe projects build my-app --template clerk/nextjs-mcp/oauth-serverThis targets the specific oauth-server variant directly.
Source
https://github.com/clerk/stripe-projects-templates
Pinned ref: ce57c21c40828630d21ef151b2fd5acc9c3c7f09
Setup
Install command
pnpm installNext steps
Run locally
pnpm devBuild product with Codex
codex "Help me turn this into a real MCP server. Follow prompts/starter-to-product.md."Build product with Claude
claude "Help me turn this into a real MCP server. Follow prompts/starter-to-product.md."Deploy
pnpm run deployOther variants
Browse the other stacks published under clerk/nextjs-mcp.
Clerk OAuth • MCP server • agent tools • Default