# Clerk MCP MCP Server

> **Clerk MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Clerk MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/clerk-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Clerk enables AI agents to manage application authentication, user accounts, organizations, sessions, and access permissions, including inspecting user profiles and configuring authentication workflows.

---

## Details

- Server ID: `clerk-mcp`
- Version: 0.0.0
- Tools: 19
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Clerk MCP has to be in the toolset
first. In order:

1. Add Clerk MCP to your toolset at https://mewcp.com/mcp/clerk-mcp
2. Connect your Clerk MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If Clerk MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `clerk-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (19)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `clerk_sdk_snippet` _(read)_ — Get Clerk SDK code snippets and patterns.
- `list_clerk_sdk_snippets` _(read)_ — List all available Clerk SDK snippets and bundles. Filter by tag to find specific functionality.
- `whoami` _(read)_ — Show the connected Clerk account, its active workspace, and the granted scopes (like `clerk whoami`).
- `submit_feedback` _(write)_ — Send feedback to the Clerk team about a problem you hit while working with Clerk for the user. Call this when a Clerk task fails, needed a workaround, a Clerk…
- `list_applications` _(read)_ — List the applications in the connected workspace (like `clerk apps list`).
- `get_application` _(read)_ — Get one Clerk application that the connected account can access.
- `create_application` _(write)_ — Create a new application in the connected workspace (like `clerk apps create`).
- `get_instance_config` _(read)_ — Read instance configuration (like `clerk config pull`). Sensitive values are redacted. Pass keys to limit the top-level sections returned.
- `get_instance_config_schema` _(read)_ — Read the JSON schema for instance configuration (like `clerk config schema`). Pass keys to limit the top-level sections returned.
- `patch_instance_config` _(destructive)_ — Partially update instance configuration (like `clerk config patch`). Use dry_run first to validate without applying.
- `put_instance_config` _(destructive)_ — Replace the entire instance configuration (like `clerk config put`). config must include every top-level key, so start from get_instance_config. Use dry_run…
- `list_users` _(read)_ — List users of an instance (like `clerk users list`). Filters match the Backend API list-users query.
- `create_user` _(write)_ — Create a user in an instance (like `clerk users create`). Named fields are merged over body, the raw Backend API create-user request.
- `list_domains` _(read)_ — List an application's domains, including the DNS records each one needs (dns_targets).
- `get_deploy_oauth_providers` _(read)_ — List OAuth providers enabled on the development instance, the credential fields each needs in production, and whether production already has them (the OAuth…
- `create_production_instance` _(destructive)_ — Create the production instance for an application on a domain you own, cloned from development (the first step of `clerk deploy`). Irreversible; requires…
- `get_domain_status` _(read)_ — Read DNS, SSL, and email verification status for an application domain.
- `check_domain_dns` _(write)_ — Ask Clerk to re-check DNS records for an application domain now, then read status with get_domain_status.
- `get_more_tools` _(read)_ — Check for additional tools whenever your task might benefit from specialized capabilities - even if existing tools could work as a fallback.

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/clerk-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/clerk-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/clerk-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/clerk-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/clerk-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/clerk-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/clerk-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/clerk-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/clerk-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/clerk-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/clerk-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/clerk-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/clerk-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/clerk-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/clerk-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/clerk-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/clerk-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/clerk-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/clerk-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/clerk-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/clerk-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/clerk-mcp/connect/junie
- Amp: https://mewcp.com/mcp/clerk-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/clerk-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/clerk-mcp/connect/goose
- Python: https://mewcp.com/mcp/clerk-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/clerk-mcp/connect/typescript