# Clerk

> Clerk is an MCP server for developer tools. Remote MCP server to manage Clerk apps, users and domains from AI coding agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, CLI, VS Code, Web
- **Website:** https://clerk.com/docs/guides/ai/mcp/clerk-mcp-server
- **MCP Registry name:** com.clerk/mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Clerk's hosted Model Context Protocol server lets AI assistants such as Claude, Cursor and GitHub Copilot work with a Clerk workspace directly. Instead of switching to the Dashboard, a developer can ask their agent to list applications, inspect instance settings, create users or check DNS records for a production domain.

The server connects over Streamable HTTP and signs in through OAuth in the browser, so the AI client never sees the account password. Access acts as the signed-in user and is limited to the permissions their workspace role allows, with separate scopes for reading and changing applications, users, organizations and domains.

It also serves Clerk SDK code snippets and bundles for common setups, which helps agents write integration code. The tools are aimed at developers and teams building on Clerk who already use an AI coding assistant.

## Features

- **Application and instance management:** List, create and rename applications, and read or update instance configuration with a dry-run option.
- **User administration:** Find, create and update users, including their profile fields and metadata.
- **Organization lookup:** List organizations and their memberships for a workspace or a single user.
- **Domain and production setup:** Check DNS records and verification status, and create a production instance from development.
- **SDK snippets:** Fetch ready-made Clerk code patterns and bundles for features such as organizations and B2B SaaS.
- **Browser handoff:** Generate a short-lived link that opens the Clerk Dashboard signed in as the user.

## Good for

- Asking an AI coding assistant which applications and instances exist in a workspace
- Looking up or updating user metadata while debugging an authentication flow
- Checking which DNS records a production domain still needs
- Generating Clerk SDK code for sign-in, organizations or hooks inside an editor
- Reviewing organization members for a team account

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.clerk.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.clerk.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.clerk.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://mcp.clerk.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://mcp.clerk.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://mcp.clerk.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.clerk.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.clerk.com/mcp
```

Enter a Name (for example "Clerk"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.clerk.com/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 7 of 19 tools change data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `whoami`: Show the connected user, workspace, and granted permissions.
- `list_applications` (name suggests: reads): List applications in the workspace.
- `get_application` (name suggests: reads): Inspect an application.
- `create_application` (name suggests: changes): Create a new application.
- `update_application` (name suggests: changes): Rename an application.
- `get_instance_config` (name suggests: reads): Read instance configuration.
- `patch_instance_config` (name suggests: changes): Update instance configuration.
- `list_users` (name suggests: reads): Find users with filters.
- `get_user` (name suggests: reads): Get a user by ID.
- `create_user` (name suggests: changes): Create a user in an instance.
- `update_user` (name suggests: changes): Update a user's profile fields.
- `update_user_metadata` (name suggests: changes): Change a user's metadata.
- `list_organizations` (name suggests: reads): List or search organizations.
- `list_domains` (name suggests: reads): Get the DNS records a domain needs.
- `check_domain_dns` (name suggests: reads): Request a new DNS check for a domain.
- `create_production_instance` (name suggests: changes): Create a production instance from development.
- `clerk_sdk_snippet`: Get a code snippet for a Clerk feature.
- `list_clerk_sdk_snippets` (name suggests: reads): List available snippets and bundles.
- `submit_feedback`: Report problems to the Clerk team.

## FAQ

### Do I need to sign in to use Clerk?

Yes. The server requires sign-in with the Clerk account used for the Dashboard, and you choose the workspace during the browser flow.

### Can the server return my Secret Keys?

Only when an application or production instance is created and the agent supplies its own RSA public key. The key is returned encrypted, and no other tool returns Secret Keys.

### Which transports are supported?

Streamable HTTP at https://mcp.clerk.com/mcp. Server-Sent Events are not supported.

### Which clients can connect?

The docs give setup steps for Claude, Codex, Cursor, fx, VS Code, Windsurf and Zed, and mention other OAuth-capable MCP clients.

### How do I add Clerk to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.clerk.com/mcp

### What are the best alternatives to Clerk?

The closest alternatives to Clerk are Clerk, AboutTheApp, Cursor MCP, Simular and Claude Octopus.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Clerk](https://ai-powered.com/mcp/clerk-2): Clerk is an MCP server for developer tools.
- [AboutTheApp](https://ai-powered.com/mcp/abouttheapp): AboutTheApp is a freemium MCP server for developer tools.
- [Cursor MCP](https://ai-powered.com/mcp/cursor-mcp): Cursor MCP is an open-source MCP server for developer tools.
- [Simular](https://ai-powered.com/mcp/simular): Simular is a freemium MCP server for developer tools.
- [Claude Octopus](https://ai-powered.com/mcp/claude-octopus): Claude Octopus is an open-source MCP server for ai models and llm tooling.
- [AgentRQ](https://ai-powered.com/mcp/agentrq): AgentRQ is an open-source MCP server for productivity.
- [Claude Code Explorer MCP](https://ai-powered.com/mcp/claude-code-explorer-mcp): Claude Code Explorer MCP is an open-source MCP server for ai models and llm tooling.
- [Noteit MCP](https://ai-powered.com/mcp/noteit-mcp): Noteit MCP is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/clerk-3
