Clerk MCP Server
for AI Agents
Connect your AI agent to StackOne's Clerk MCP server and give it 56 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
56 Agent Actions
Agents can read, write and delete in Clerk. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Clerk MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Clerk tool response scanned for prompt injection in milliseconds, with 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Clerk call.
Tools Discovery →What is the Clerk MCP Server?
A Clerk MCP server lets AI agents read and write Clerk data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Clerk MCP server ships with 56 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Clerk MCP Tools
Every StackOne action for Clerk, ready for your agent. Read, write and delete, scoped to exactly what you need.
Allowlist Identifiers
- Create Allowlist Identifier
Create a new allowlist identifier in your Clerk instance.
- List Allowlist Identifiers
Retrieve a paginated list of allowlist identifiers from your Clerk instance.
- Delete Allowlist Identifier
Permanently delete a allowlist identifier from your Clerk instance.
Blocklist Identifiers
- Create Blocklist Identifier
Create a new blocklist identifier in your Clerk instance.
- List Blocklist Identifiers
Retrieve a paginated list of blocklist identifiers from your Clerk instance.
- Delete Blocklist Identifier
Permanently delete a blocklist identifier from your Clerk instance.
Invitations
- Create Invitation
Create a new instance-level invitation in your Clerk instance.
- List Invitations
Retrieve a paginated list of invitations from your Clerk instance.
JWT Templates
- Create JWT Template
Create a new JWT template in your Clerk instance.
- List JWT Templates
Retrieve a paginated list of JWT templates from your Clerk instance.
- Get JWT Template
Retrieve the details of a single JWT template by its unique identifier.
- Update JWT Template
Update an existing JWT template with the provided fields.
- Delete JWT Template
Permanently delete a JWT template from your Clerk instance.
Organization Domains
- Create Organization Domain
Create a new organization domain in your Clerk instance.
- List Organization Domains
Retrieve a paginated list of organization domains from your Clerk instance.
- Update Organization Domain
Update an existing organization domain with the provided fields.
- Delete Organization Domain
Permanently delete a organization domain from your Clerk instance.
Organization Invitations
- Create Organization Invitation
Create a new organization invitation in your Clerk instance.
- List Organization Invitations
Retrieve a paginated list of organization invitations from your Clerk instance.
- Get Organization Invitation
Retrieve the details of a single organization invitation by its unique identifier.
Organization Memberships
- Create Organization Membership
Create a new organization membership in your Clerk instance.
- List Organization Memberships
Retrieve a paginated list of organization memberships from your Clerk instance.
- Update Organization Membership
Update an existing organization membership with the provided fields.
- Delete Organization Membership
Permanently delete a organization membership from your Clerk instance.
Organization Roles
- Create Organization Role
Create a new organization role in your Clerk instance.
- List Organization Roles
Retrieve a paginated list of organization roles from your Clerk instance.
- Get Organization Role
Retrieve the details of a single organization role by its unique identifier.
- Update Organization Role
Update an existing organization role with the provided fields.
- Delete Organization Role
Permanently delete a organization role from your Clerk instance.
Organizations
- Create Organization
Create a new organization in your Clerk instance.
- List Organizations
Retrieve a paginated list of organizations from your Clerk instance. To filter via organizations_list_s1query, call list_s1query_queryable_fields first and wrap every filter value in a query clause, e.g. {"term": {"name": "..."}}.
- Get Organization
Retrieve the details of a single organization by its unique identifier.
- Update Organization
Update an existing organization with the provided fields.
- Delete Organization
Permanently delete a organization from your Clerk instance.
Redirect URLs
- Create Redirect URL
Create a new redirect URL in your Clerk instance.
- List Redirect URLs
Retrieve a paginated list of redirect URLs from your Clerk instance.
- Get Redirect URL
Retrieve the details of a single redirect URL by its unique identifier.
- Delete Redirect URL
Permanently delete a redirect URL from your Clerk instance.
Sessions
- List Sessions
Retrieve a paginated list of sessions from your Clerk instance.
- Get Session
Retrieve the details of a single session by its unique identifier.
Users
- Create User
Create a new user in your Clerk instance.
- List Users
Retrieve a paginated list of users from your Clerk instance. To filter via users_list_s1query, call list_s1query_queryable_fields first — nested fields (e.g. email addresses) use bracket-dot notation like email_addresses[].email_address, and every filter value must be wrapped in a query clause, e.g. {"term": {"email_addresses[].email_address": "..."}}.
- Get User
Retrieve the details of a single user by its unique identifier.
- Update User
Update an existing user with the provided fields.
- Delete User
Permanently delete a user from your Clerk instance.
Other (11)
- Create Session Token
Create a new session token for an active session.
- List User Organization Memberships
Retrieve a paginated list of organization memberships for a specific user.
- Update User Metadata
Merge new values into a user's public, private and unsafe metadata.
- Revoke Invitation
Revoke a pending instance-level invitation so it can no longer be accepted.
- Revoke Organization Invitation
Revoke a pending organization invitation so it can no longer be accepted.
- Revoke Session
Revoke a session so the associated user is signed out.
- Count Users
Return the total number of users in your Clerk instance, with optional filtering.
- Ban User
Ban a user, marking them as banned and preventing them from signing in.
- Unban User
Remove the ban from a user so that they are able to sign in again.
- Lock User
Lock a user, temporarily preventing them from signing in to your application.
- Unlock User
Unlock a previously locked user so that they can sign in again.
Set Up Your Clerk MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Clerk in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More Developer Tools MCP Servers
222+ actions
185+ actions
182+ actions
164+ actions
156+ actions
153+ actions
152+ actions
Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
Clerk MCP Server FAQ
Does StackOne have a Clerk MCP server?
Clerk MCP server vs direct API integration: what's the difference?
How does Clerk authentication work for AI agents?
origin_owner_id.Are Clerk MCP tools vulnerable to prompt injection?
What is the context bloat of a Clerk agent and how do I avoid it?
Can I limit which actions my Clerk agent can access?
Can I create custom agent actions for my Clerk MCP server?
When should I NOT use a Clerk MCP server?
What AI frameworks and AI clients does the StackOne Clerk MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.