Socket
Book a DemoInstallSign in
Socket

@clerk/clerk-mcp

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/clerk-mcp

An MCP server for Clerk generated by @buildwithalyer

0.0.13
latest
npmnpm
Version published
Weekly downloads
102
684.62%
Maintainers
6
Weekly downloads
 
Created
Source

Clerk MCP Server

⚠️ Warning: This project is in active development and subject to rapid changes. Features and APIs may be modified frequently. If you have feedback or workflows you'd like to see supported, please get in touch via ai@clerk.dev

Model Context Protocol (MCP) is a standardized protocol for managing context between large language models (LLMs) and external systems or services like Clerk.

Clerk's MCP server allows you to use any MCP Client (Claude Desktop, Cursor, Windsurf and many others) to use natural language and your LLM to accomplish things with Clerk.

Setup

Requirements

  • Node.js >= v18.0.0
  • MCP Client
  • Clerk Secret Key - get this from the Clerk project dashboard: Clerk Secret Key

⚠️ Security Warning: Never share or commit your Clerk Secret Key. If exposed, immediately rotate it in your Clerk Dashboard. Add it to your .gitignore file and use environment variables in production.

Installation

Installation will vary depending on your client, but in most cases you'll need to add the JSON below to your MCP config file. Be sure to insert your Clerk API token.

{
  "mcpServers": {
    "Clerk": {
      "command": "npx",
      "args": ["@clerk/clerk-mcp@latest"],
      "env": {
        "CLERK_API_KEY": "YOUR CLERK API KEY",
        "ALL_TOOLS": "false",         // Optional
        "PROMPTS_DISABLED": "false"   // Optional
      }
    }
  }
}

Features

This project supports tools for all Clerk API endpoints by setting the ALL_TOOLS to "true". It also supports some prompt workflows tested in Cursor which allow you to quickstart Clerk applications.

Supported Tools

By default, the following core Clerk API tools are enabled:

  • BanUser
  • CreateInvitation
  • CreateUser
  • DeleteUser
  • GetSession
  • GetUser
  • GetUserList
  • GetUsersCount
  • ListDomains
  • ListInvitations
  • RevokeInvitation
  • UpdateUser

To access additional tools:

  • Enable ALL_TOOLS=true in your config
  • Run the MCP server
  • Use your MCP client's tool discovery feature

Supported Prompts

Keywords

clerk

FAQs

Package last updated on 22 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.