Provides tools to generate verified webhook handlers and manage failed events for Clerk.
Provides tools to generate verified webhook handlers and manage failed events for GitHub.
Provides tools to generate verified webhook handlers and manage failed events for GitLab.
Provides tools to generate verified webhook handlers and manage failed events for Grafana.
Provides tools to generate verified webhook handlers and manage failed events for Lemon Squeezy.
Enables the generation of verified webhook handlers specifically tailored for the Next.js framework.
Provides tools to generate verified webhook handlers and manage failed events for Paddle.
Provides tools to generate verified webhook handlers and manage failed events for Replicate.
Provides tools to generate verified webhook handlers and manage failed events for Sanity.
Provides tools to generate verified webhook handlers and manage failed events for Sentry.
Provides tools to generate verified webhook handlers, diagnose signature issues, and manage failed events for Shopify.
Supports the inclusion of Slack alerts within generated webhook handler logic.
Provides tools to generate verified webhook handlers, verify signatures, and manage failed events for Stripe.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tern MCPAdd a Stripe webhook handler to my Next.js app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@hookflo/tern-mcp
MCP server for Tern — add verified webhook handlers to any project from Claude Code.
Install
Add to your Claude Code MCP config:
{
"mcpServers": {
"tern": {
"command": "npx",
"args": ["@hookflo/tern-mcp"]
}
}
}Tools
add_webhook
Generate a complete verified webhook handler for any platform and framework. Returns code only (no filesystem writes). Framework is required.
add a Stripe webhook handler for my Next.js app
add a Clerk webhook with queue and Slack alerts
(If framework is missing, Claude should ask before calling add_webhook)get_capabilities
Entry-point menu of everything Tern MCP can do.
what can Tern help me with?verify_signature
Verify and debug webhook signatures — static or live endpoint diagnosis.
why is my Shopify webhook returning 400?
verify this stripe signature: headers... body... secret...manage_dlq
List failed events and replay them.
show me all failed webhook events
replay dlq event dlq_abc123list_platforms
List all 16+ supported platforms with algorithms and header formats.
what webhook platforms does Tern support?Supported Platforms
Stripe, GitHub, Clerk, Shopify, Polar, WorkOS, Dodo Payments, Paddle, Lemon Squeezy, GitLab, Sentry, Grafana, Doppler, Sanity, fal.ai, Replicate
Links
GitHub: github.com/Hookflo/tern
Docs: tern.hookflo.com
Build & Publish
# build
npm run build
# test locally
node dist/index.js
# publish
npm publish --access publicClaude Code Config for testing
{
"mcpServers": {
"tern": {
"command": "npx",
"args": ["@hookflo/tern-mcp"]
}
}
}Add this to ~/.claude/claude_desktop_config.json to test locally before publishing.
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.