clerk_sdk_snippet
Get Clerk SDK code snippets and patterns.
Two tools that hand an agent Clerk's own SDK snippets and patterns, so auth code matches the current API. No key.
LABSCO SUMMARY
Clerk's API has moved repeatedly, and a model writing auth from recollection produces middleware that looks right and no longer exists. Two tools that fetch the current snippet cost nothing in context and remove that failure. Clerk recommends every developer building with them use it, and given what it fixes, that is not just marketing. Note what it does not do: nothing here reads your users or sessions.
Clerk's hosted endpoint, which needs no credentials. It serves code snippets and implementation patterns rather than reaching your Clerk instance.
None. There is a one-command install: clerk mcp install.
Paste a URL — add the endpoint to your client
USE CASES
Fetch Clerk's current snippet for the framework instead of relying on the model's memory of an older API.
List the snippets by tag to see what patterns exist before picking one.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
clerk_sdk_snippetGet Clerk SDK code snippets and patterns.
list_clerk_sdk_snippetsList all available Clerk SDK snippets and bundles. Filter by tag to find specific functionality.
BEFORE YOU INSTALL
2 tools when we connected.
an MCP client that can reach a remote endpoint
CONTEXT COST
Rated by the size of the 2 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the endpoint to your client.
https://mcp.clerk.com/mcp