Clerk MCP Server — Hosted Api Connectors Integration
MCP Server language Hosted language PublicClerk identity platform — manage users, organizations, bans, and invitations for your application.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"clerk": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-clerk",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify clerk credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-clerk — Clerk MCP Server
Clerk identity platform — manage users, organizations, bans, and invitations for your application.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-clerk
What You Can Do
This MCP server gives AI agents access to Clerk via 10 tools. Connect it to any Aerostack workspace and your agents can interact with Clerk directly.
Available Tools
| Tool | Description |
|---|---|
list_users |
List all users in your Clerk application. |
get_user |
Get full user details by ID including email, name, metadata, and OAuth connections. |
create_user |
Create a new user in Clerk. At least one email address or username is required. |
update_user |
Update user fields. Provide only the fields to change. |
delete_user |
Permanently delete a user. This action cannot be undone. |
ban_user |
Ban a user from the application. Banned users cannot sign in. |
unban_user |
Remove a ban from a user, restoring their ability to sign in. |
list_organizations |
List all organizations in your Clerk application. |
get_organization |
Get organization details by ID including name, slug, and membership count. |
create_invitation |
Create an email invitation to join the application. |
Configuration
| Variable | Required | Description |
|---|---|---|
CLERK_SECRET_KEY |
Yes | Your Clerk secret key — starts with sk_test_ or sk_live_, found in Clerk Dashboard → API Keys |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Clerk" and click Add to Workspace
Add the following secrets under Project → Secrets:
CLERK_SECRET_KEY
Once added, every AI agent in your workspace can use Clerk tools automatically.
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-clerk \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-CLERK-SECRET-KEY: your-clerk-secret-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_users","arguments":{}}}'
License
MIT
terminal Tools (11)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Clerk credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
list_users #2 List all users in your Clerk application.
get_user #3 Get full user details by ID including email, name, metadata, and OAuth connections.
create_user #4 Create a new user in Clerk. At least one email address or username is required.
update_user #5 Update user fields. Provide only the fields to change.
delete_user #6 Permanently delete a user. This action cannot be undone.
ban_user #7 Ban a user from the application. Banned users cannot sign in.
unban_user #8 Remove a ban from a user, restoring their ability to sign in.
list_organizations #9 List all organizations in your Clerk application.
get_organization #10 Get organization details by ID including name, slug, and membership count.
create_invitation #11 Create an email invitation to join the application.
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-clerk
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Frequently asked questions
What is the Clerk MCP server and what can it do? +
The Clerk MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `list_users`, `get_user`, `create_user`, `update_user`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Clerk MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Clerk MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Clerk MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Clerk MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-clerk": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-clerk"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Clerk MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-clerk", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-clerk"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Clerk MCP require authentication? +
Yes. Clerk requires authentication. Check the MCP's documentation for the required credentials.