
Clerk
Clerk auth docs, SDK examples, and integration help

Clerk handles auth complexity so you ship faster — social OAuth, MFA, organization management, session control, and developer-friendly SDKs for Next.js, React, and Remix. This plugin surfaces Clerk docs, component examples, and API references in ZeroTwo so you can implement authentication features with confidence.
Clerk MCP server
The Clerk plugin connects ZeroTwo to Clerk. Your agents get the tools of this MCP server:
- Clerk: remote MCP server at
https://mcp.clerk.com/mcp
What an agent can do with Clerk
Find Clerk docs
The agent finds and explains Clerk documentation and API references for your auth question and shows you code samples that match the SDK you use.
Add authentication
The agent adds Clerk authentication to your app using SDK examples for frameworks such as Next.js, React, Astro and native Android.
Set up billing and extensions
The agent sets up Clerk Billing with the pricing table and checkout drawer, and Chrome extension auth with popup or side panel.
How to connect Clerk to ZeroTwo
Open Clerk in ZeroTwo
Press Open in ZeroTwo on this page, or find Clerk under Plugins in the app. Get the app first if it is not on this computer.
Install the plugin
Press Install. Clerk needs no account or key.
Give an agent a task
Ask an agent for work that needs Clerk, such as one of the example prompts below. The agent uses the plugin's tools to do it.
Example prompts3
ClerkHow do I add Clerk authentication to a Next.js app?
ClerkShow me how to protect API routes with Clerk.
ClerkHow do I configure SSO with Clerk for my organization?
Apps1

Clerk
Get Clerk authentication docs and SDK code.
Skills20
Clerk
Clerk authentication router. Use when user asks about Clerk CLI operations, adding authentication, setting up Clerk, custom sign-in flows, Swift or native iOS auth, native Android auth, Next.js patterns, React patterns, Vue patterns, Nuxt patterns, Astro patterns, TanStack Start patterns, Expo patterns, React Router patterns, Chrome Extension patterns, organizations, billing, subscriptions, payments, pricing, plans, seat-based pricing, feature entitlements, syncing users, testing, impersonating a user, or testing webhooks locally. Automatically routes to the specific skill based on their task.
Clerk android
Implement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns. Use for prebuilt AuthView/UserButton or custom API-driven auth flows. Do not use for Expo or React Native projects.
Clerk astro patterns
'Astro patterns with Clerk — middleware, SSR pages, island components, API routes, static vs SSR rendering. Triggers on: astro clerk, clerk astro middleware, astro protected page, clerk island component, astro API route auth, clerk astro SSR.'
Clerk backend api
"Clerk Backend REST API explorer and executor. Browse tags, inspect endpoint schemas, and execute authenticated requests. Use when listing users, managing organizations, or calling any Clerk API endpoint."
Clerk billing
Clerk Billing for subscription management - render Clerk's PricingTable and in-app checkout drawer, configure subscription plans, seat-limit plans for B2B, feature entitlements with has(), and billing webhooks. Use for SaaS monetization, plan gating, checkout flows, trials, invoicing, and subscription lifecycle management.
Clerk chrome extension patterns
'Chrome Extension auth with @clerk/chrome-extension -- popup/sidepanel setup, syncHost for OAuth/SAML via web app, createClerkClient for service workers and headless extensions, stable CRX ID. Triggers on: Chrome extension auth, Plasmo clerk, popup sign-in, syncHost, background service worker token, createClerkClient, headless extension.'
Clerk cli
Operate the Clerk CLI (`clerk` binary) for authentication, user/org/session management, impersonation, local webhook testing, deploy verification, instance config, env keys, feature toggles, and any Clerk Backend, Platform, or Frontend API call. Use when the user mentions Clerk management tasks, "list clerk users", "impersonate a user", "test webhooks locally", "enable orgs", "enable billing", "clerk env pull", "clerk doctor", "clerk deploy", "clerk api", or any ad-hoc Clerk API request. Prefer the CLI over raw HTTP: it handles auth, key resolution, app/instance targeting, and formatting automatically.
Clerk custom ui
Custom authentication flows and component appearance - hooks (useSignIn, useSignUp), themes, colors, fonts, CSS. Use for custom sign-in/sign-up flows, appearance styling, visual customization, branding.
Clerk expo
Add Clerk authentication to Expo and React Native apps using @clerk/expo. Use for Expo setup, prebuilt native components (AuthView, UserButton), custom sign-in/sign-up flows (email, password, SMS/phone OTP, MFA), OAuth/SSO, native Google/Apple sign-in, Expo Router protected routes, biometrics, and push notifications. Do not use for native Swift/iOS, native Android/Kotlin, or web-only framework projects.
Clerk nextjs patterns
Advanced Next.js patterns - middleware, Server Actions, caching with Clerk.
Clerk nuxt patterns
'Nuxt 3 auth patterns with @clerk/nuxt - middleware, composables, server API routes, SSR. Triggers on: Nuxt auth, useAuth composable, clerkMiddleware Nuxt, server API Clerk, Nuxt route protection.'
Clerk orgs
Clerk Organizations for B2B SaaS - create multi-tenant apps with org switching, role-based access, verified domains, and enterprise SSO. Use for team workspaces, RBAC, org-based routing, member management.
Clerk react patterns
'React SPA auth patterns with @clerk/react for Vite/CRA - ClerkProvider setup, useAuth/useUser/useClerk hooks, React Router protected routes, custom sign-in flows. Triggers on: Vite Clerk setup, React Router auth, useAuth hook, protected route, custom sign-in form React.'
Clerk react router patterns
'React Router v7/v8 patterns with Clerk — rootAuthLoader, getAuth in loaders, clerkMiddleware, protected routes, SSR user data, org switching. Triggers on: react-router auth, rootAuthLoader, getAuth loader, react-router protected route, loader authentication, SSR auth react-router, useNavigate may be used only in the context of a Router.'
Clerk setup
Add Clerk authentication to any project by following the official quickstart guides.
Clerk swift
Implement Clerk authentication for native Swift and iOS apps using ClerkKit and ClerkKitUI source-guided patterns. Use for prebuilt AuthView or custom native flows. Do not use for Expo or React Native projects.
Clerk tanstack patterns
'TanStack React Start auth patterns with @clerk/tanstack-react-start - createServerFn, beforeLoad guards, loaders, Vinxi server. Triggers on: TanStack auth, createServerFn clerk, beforeLoad protection, TanStack Start middleware.'
Clerk testing
E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow tests.
Clerk vue patterns
'Vue 3 patterns with Clerk — composables (useAuth, useUser, useClerk, useOrganization), Vue Router guards, Pinia auth store integration. Triggers on: vue clerk, useAuth vue, clerk composables, vue router clerk guard, pinia auth clerk. For Nuxt, use clerk-nuxt-patterns instead.'
Clerk webhooks
Clerk webhooks for real-time events and data syncing. Verify with verifyWebhook from the framework-specific package. Handle user, session, organization, billing, and payment events. Build event-driven features like database sync, notifications, and integrations.
Information6
- Developer
- Clerk
- Category
- Coding
- Version
- 0.1.6
- Website
- clerk.com
- Privacy policy
- clerk.com/legal/privacy
Questions
Does the Clerk plugin need an API key?
No. The Clerk server needs no account or key.
Does it cost anything?
The plugin itself is free. Agent work uses your ZeroTwo credits as usual, and anything Clerk charges for is billed to your Clerk account.
What does Clerk receive?
Clerk gets the requests an agent sends to it for you, such as searches, new items or the files you ask it to work with. It gets no other access to your ZeroTwo workspace.