Back
Marketplace/Clerk

TL;DR

Clerk is a Security MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent manage Clerk users, sessions, and organizations for auth flows from any MCP client. Install in 1 minute with mcpizy install clerk.

👤

Clerk

Verified 6 tools

Security

Last updated June 1, 2026 · By MCPizy team

Manage Clerk users, sessions, and organizations for auth flows from any MCP client.

Official homepage

Install Clerk

Via MCPizy CLI (recommended):
mcpizy install clerk
Or run directly:
npx -y @clerk/mcp-server
View on GitHub

Tools exposed

6 tools available
list_users

List users in the Clerk application

Inputs

  • limitnumberoptional
get_user

Get a single user by ID

Inputs

  • user_idstringrequired
create_user

Create a new user

Inputs

  • email_addressstringrequired
  • passwordstringoptional
delete_user

Delete a user

Inputs

  • user_idstringrequired
list_organizations

List organisations in the app

list_sessions

List active sessions

Configuration

Works identically across clients. Only the config file path differs.

Claude Code~/.claude.json
{
  "mcpServers": {
    "clerk": {
      "command": "npx",
      "args": [
        "-y",
        "@clerk/agent-toolkit",
        "--mcp"
      ],
      "env": {
        "CLERK_SECRET_KEY": "sk_test_..."
      }
    }
  }
}
Cursor.cursor/mcp.json
{
  "mcpServers": {
    "clerk": {
      "command": "npx",
      "args": [
        "-y",
        "@clerk/agent-toolkit",
        "--mcp"
      ],
      "env": {
        "CLERK_SECRET_KEY": "sk_test_..."
      }
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "clerk": {
      "command": "npx",
      "args": [
        "-y",
        "@clerk/agent-toolkit",
        "--mcp"
      ],
      "env": {
        "CLERK_SECRET_KEY": "sk_test_..."
      }
    }
  }
}

Authentication setup

  1. 1

    Copy your secret key from the Clerk dashboard

    Get it CLERK_SECRET_KEY

What you can do with Clerk MCP

Paste any of these prompts into Claude Code, Cursor or another MCP-compatible client.

“List the 20 most recent signups in my app”

Uses: list_users

“Create a test user with email [email protected]”

Uses: create_user

“Show me every organisation and its member count”

Uses: list_organizations

“How many active sessions are there right now?”

Uses: list_sessions

Works with

Claude Code
Claude Desktop
Cursor
Windsurf
VS Code + Copilot
Any MCP Client

More Security MCPs

🔐

Cycode

Boost security in dev lifecycle via SAST, SCA, secrets scanning, and supply chain security.

🔒

RAD Security

AI-powered security insights for Kubernetes and cloud workloads. Threat detection.

🔐

1Password

Manage 1Password vaults, items, and secrets from AI agents via the Model Context Protocol.

🛡️

Okta

Manage Okta users, groups, and application assignments for identity from AI agents.

Alternatives to Clerk

If Clerk doesn't fit your stack, these Security MCP servers solve similar problems.

🛡️

Snyk

Security vulnerability scanning

🔍

SonarQube

Seamless integration with SonarQube for code quality analysis, bugs, and security vulnerabilities.

🛡️

Semgrep

Enable AI agents to secure code with Semgrep. Static analysis for finding bugs and security issues.

Key Takeaways

  • Clerk exposes 6 tools for security workflows in Claude Code, Cursor and Windsurf.
  • Authentication: 1 step (CLERK_SECRET_KEY).
  • Install in 1 command: mcpizy install clerk — config written to your client automatically.
  • Free and open source (GitHub source linked above) — verified compatible with every MCP client (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code + Copilot).
  • Best use case: "List the 20 most recent signups in my app".

Frequently asked questions

What is the Clerk MCP server?

The Clerk MCP server is an Security Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents manage Clerk users, sessions, and organizations for auth flows from any MCP client. It exposes Clerk's capabilities as tools the AI can call directly from your editor or CLI.

How do I install Clerk MCP with Claude Code?

The fastest way is the MCPizy CLI: run `mcpizy install clerk` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @clerk/mcp-server` and restarting Claude Code.

Is Clerk MCP free?

Yes. The Clerk MCP server is free and open source (see the GitHub repository linked on this page). You may still need a Clerk account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.

Does Clerk MCP work with Cursor and Windsurf?

Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.

What can I do with Clerk MCP?

Once installed, your AI agent can manage Clerk users, sessions, and organizations for auth flows from any MCP client directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run Clerk operations, inspect results, chain Clerk with other MCP servers (see our Workflow Recipes), and automate repetitive security tasks without leaving your editor.

Manage all your MCPs in one place

Monitor usage, track costs, and discover new MCPs.

Get Started Free