Skip to content
Mcdavid Obioha edited this page Dec 1, 2026 · 8 revisions

Kera

Your local webhook and network antenna for AI coding agents.

Kera is a local-first HTTP reverse proxy, webhook receiver, request-capture store, and replay engine. It sits between external services and your development server so you and your AI coding agent can inspect real HTTP traffic, understand failures, replay requests, and verify fixes without leaving the editor.

External Webhook / HTTP Client
              │
              ▼
   Kera Listener (127.0.0.1:4000) ──────▶ Your Local App (target, e.g. 127.0.0.1:3000)
              │
              ▼
   Local SQLite Store (~/.kera/traffic.db)
              │
              ▼
   MCP stdio · Terminal CLI · Local Dashboard

Optional external delivery:

Provider ──HTTPS──▶ Cloudflare Quick Tunnel ──▶ 127.0.0.1:4000 ──▶ Your app
                    (only with --tunnel)

No hosted account, cloud dependency, or telemetry is required. The tunnel is off by default and uses an accountless Cloudflare Quick Tunnel when explicitly enabled.


Why Kera?

When you build webhook handlers (Stripe, GitHub, Clerk, Shopify, Paystack, and others) with AI coding assistants such as Claude Code, Cursor, or Windsurf, the debugging loop usually breaks:

  1. An external webhook or test request reaches your app and fails with a 500.
  2. Your agent cannot see the incoming headers, raw payload, or exact response.
  3. You re-trigger events manually or paste huge curl commands to test a fix.

Kera closes that loop locally:

  • It forwards any HTTP request to your configured local app.
  • It captures the original request and response bytes in SQLite.
  • It redacts credentials and signatures before showing data to an agent.
  • It gives your agent MCP tools to list, inspect, compare, replay, and clear captures.
  • It replays saved requests against the same target so you can verify a code fix.
  • It can start an opt-in public Quick Tunnel so a provider can reach your local listener.

Core value proposition

Problem Kera's answer
Your agent cannot see the failed webhook Captured headers, bodies, status, timing, and proxy errors are exposed over MCP.
Secrets leak into agent context Centralized, name-based redaction runs before compression and before MCP output.
Re-triggering events is slow Replay the exact captured request once, with optional body/header overrides.
Comparing payloads is manual diff_payloads returns JSON Pointer paths for added, removed, and changed values.
Local storage grows forever A configurable ring buffer keeps the newest 1000 captures by default.
Replay can become an SSRF primitive Replay is restricted to the configured target with DNS pinning, redirect checks, and loop guards.
Localhost cannot receive real webhooks --tunnel starts an opt-in Cloudflare Quick Tunnel and get_tunnel_url returns its public URL.
MCP protocol corruption stdout is reserved exclusively for JSON-RPC; all diagnostics go to stderr.

Current status

Item Status
Packages kera-mcp and kera-terminal
Phase 1 Complete (Milestones 0–6)
Phase 1.5 / Milestone 7 Complete and shipped: Quick Tunnel, get_tunnel_url, Claude Code plugin
MCP tools 8: list_requests, inspect_request, replay_request, diff_payloads, clear_traffic, get_tunnel_url, get_status, stop_server
Tunnel Off by default. See Configuration and Flags for binary setup and overrides.
Listings Glama and Official MCP Registry io.github.mcdavidobioha/kera
Interfaces MCP stdio, Terminal CLI, and Local Dashboard
Node.js >=20 required; Node 22 recommended
License MIT
Telemetry None
Hosted service None required

Current npm releases: kera-mcp@1.1.0 and kera-terminal@0.4.0. The Official MCP Registry listing still resolves to kera-mcp@0.3.0. Install from npm for the current tool set.


Quick start (30 seconds)

Start your app on http://127.0.0.1:3000, then choose how to run Kera. Run only one capture listener on port 4000.

Claude Code plugin (Milestone 7, Claude Code v2.1.275+):

/plugin install kera --marketplace mcdavidobioha/kera

Claude Code via claude mcp add:

claude mcp add --transport stdio kera -- \
  npx -y kera-mcp --target http://127.0.0.1:3000

Terminal CLI:

npm install -g kera-terminal
kera listen 3000

Local dashboard: run kera listen 3000 --dashboard and open http://127.0.0.1:4040. See Local Dashboard for setup and controls.

Then send traffic to http://127.0.0.1:4000 instead of port 3000. If you connected Kera to your MCP client, ask your agent:

"List the last failed Stripe webhook, inspect it, and tell me why it returned 500."

Full client setup: Quickstart and MCP Setup.


Wiki guide

Page What it covers
Quickstart and MCP Setup Claude Code plugin, claude mcp add, Cursor, Windsurf, Claude Desktop, Cline, and tunnels.
Terminal CLI npm install, capture, terminal live feed, scripting, inspection, and replay.
Local Dashboard Browser setup, live filters, redacted inspection, replay, and payload diffs.
MCP Tools Reference All eight tools, input schemas, defaults, output shapes, errors, and prompt examples.
Configuration and Flags All CLI flags, KERA_* variables, defaults, limits, tunnel constraints, and POSIX permissions.
Webhook Providers and Plugins Universal capture, built-in provider labels, the WebhookProvider interface, and adding providers.
Security and Privacy Redaction, SSRF/DNS-rebinding defenses, loop prevention, tunnel exposure, and stdio isolation.
Privacy and Data Handling What stays local, what can leave your machine, and how to delete captures.
Architecture and Contributing Core/adapter boundaries, tunnel lifecycle, SQLite schema, pnpm commands, tests, and PR rules.
Roadmap Phase 1, Milestone 7 / Phase 1.5, Phase 2, and Phase 3 status.

Project links

Kera is released under the MIT License.

Clone this wiki locally