Tern MCP

Tern MCP

An MCP server for Tern that enables the generation, verification, and management of webhook handlers across over 16 platforms and various frameworks. It provides tools to create verified endpoints, debug signature failures, and manage failed event replays via dead letter queues.

Category
Visit Server

README

@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_abc123

list_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 public

Claude 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured