Repository navigation
Terminal CLI
Use kera to capture, inspect, and replay traffic from a terminal. The CLI, MCP server, and
Local Dashboard share ~/.kera/traffic.db. Set the same KERA_DATA_DIR in each process
if you use a different store.
With Node.js 20 or newer:
npm install -g kera-terminal
kera --helpFor a one-off run, or if another npm package already provides kera:
npx --yes --package=kera-terminal -- kera --helpkera-terminal@0.4.0 includes kera mcp and the Local Dashboard.
Start the proxy and dashboard together with kera listen 3000 --dashboard, or run kera ui
to inspect existing captures at http://127.0.0.1:4040.
kera update is in PR #35 and has not shipped
in kera-terminal@0.4.0. Update a global npm install with npm:
kera --version
npm install -g kera-terminal@latestAfter upgrading, restart your running CLI and dashboard processes and reconnect any MCP clients
using kera mcp.
Start your app on port 3000, then run:
kera listen 3000Send requests to http://127.0.0.1:4000 using the same paths as your app. In another terminal:
kera requests --limit 10
kera requests --status 5xx --json
kera inspect '<capture-id>'| Command | What it does |
|---|---|
kera listen <port-or-url> |
Starts the capture proxy and live feed. Use --port to change the default capture port 4000. |
kera tui --target 3000 |
Watches an existing capture store without starting a listener. The target enables replay from the feed. |
kera requests |
Lists recent traffic; filter with --status, --provider, or --path. |
kera inspect <id> |
Shows redacted headers, payload previews, status, and timing. --raw requests a larger preview under the same startup redaction policy. |
kera replay <id> --target 3000 |
Sends a saved request once. Use --body @fixture.json or --header 'Name: value' to override it. |
kera clear --older-than 60 |
Prompts before deleting captures older than 60 minutes. Omitting the age selects all captures. |
kera ui |
Opens the Local Dashboard listener. |
kera mcp --target http://127.0.0.1:3000 |
Starts the MCP server over stdio. See Quickstart and MCP Setup. |
kera status |
Lists running Kera instances with their PIDs, proxy, dashboard, and tunnel URLs, and uptime. Add --json for structured output. |
kera stop |
Gracefully stops the only running instance. Use --port, --pid, or --all to select a scope. |
listen --json and tui --json stream one summary per line. requests --json emits a single
array. In the interactive feed, press r then y to confirm replay of the last failed capture,
c to clear the screen, or q to quit. Replaying runs the upstream handler again; edited signed
webhooks are not re-signed.
kera-terminal@0.4.0 includes status and stop.
kera status
kera stop --port 4000
kera stop --allThese commands find instances in the current KERA_DATA_DIR. A port can identify either
the proxy or the dashboard. stop waits up to three seconds for graceful shutdown; it
does not force-kill processes or delete captures. The MCP equivalents are get_status and
stop_server; a stop tool call previews by default and requires confirm: true to act.
See the full CLI reference and Configuration and Flags.
- MCP Tools Reference
- Webhook Providers and Plugins
- Security and Privacy
- Privacy and Data Handling
- Architecture and Contributing
- Roadmap
- GitHub repository
- Issues
- Releases
- npm:
kera-mcp·kera-terminal - Glama listing
-
Official MCP Registry (
io.github.mcdavidobioha/kera) - Contributing guide
- Security policy