Repository navigation
Privacy and Data Handling
Kera runs on your machine. It requires no Kera account or Kera-hosted service and sends 0 bytes to Kera infrastructure. Kera collects no analytics or telemetry and has no cloud sync or hosted capture store.
The local dashboard serves its bundled assets from the loopback listener and uses system fonts. It makes no external icon, favicon, or font requests.
Kera stores captured HTTP request and response metadata, including methods, paths, query strings, headers, status codes, and timing, as well as the original body bytes up to the configured per-body limit. It can also store provider labels and links between original captures and replays. The database can contain credentials and personal information; redaction changes what is displayed, not what is stored.
| Setting | Default |
|---|---|
| Data directory |
~/.kera/, mode 0700 on POSIX |
| Traffic database |
~/.kera/traffic.db, mode 0600 on POSIX |
| SQLite sidecar files |
0600 on POSIX |
| Retention | The newest 1,000 captures, including failed requests and replays |
| Capture size | Up to 1 MiB per request body and 1 MiB per response body |
Use KERA_DATA_DIR or the MCP --data-dir flag to select a different store.
KERA_MAX_STORED_REQUESTS changes the retention count. See Configuration and Flags for
limits and defaults.
-
CLI: Run
kera clearand confirm. Usekera clear --older-than 60to remove only captures older than 60 minutes. -
MCP: Call
clear_trafficwithout confirmation to preview the scope. Then call it with the same scope andconfirm: true. Omitolder_than_minutesto select all captures. -
Remove the local store: Stop all Kera processes using it. Delete
~/.kera/, or the data directory you configured, to remove the database and any sidecar files. This also removes other local Kera files in that directory.
Deleting local captures does not delete backups, exports, editor or model-provider logs, or copies held by a service that already received the traffic. The clear commands delete SQLite rows; they do not securely erase the underlying files.
By default, Kera masks recognized values in inspection results across MCP, the terminal CLI, and the local dashboard:
-
Headers:
Authorization,Proxy-Authorization,Cookie,Set-Cookie, and other credential headers such asX-API-Key. This includes recognized webhook signature headers such asStripe-SignatureandX-Shopify-Hmac-Sha256. Header matching is case-insensitive. -
JSON, query strings, and URL-encoded forms: Recognized field names such as
password,api_key,access_token,secret, andsignature. JSON matching includes nested values and arrays. These field names are matched without regard to case, hyphens, or underscores.
Redaction is name-based. Secrets in paths, unrelated header values, or free-form text may
remain visible. raw: true remains redacted unless you start Kera with
KERA_REDACTION_POLICY=allow-unredacted-raw. Keep the default policy when sharing traffic
with an AI client. See Security and Privacy for the masking rules and limits.
-
AI model provider: When you or your connected MCP client invokes a tool, Kera returns
the result over local
stdio. The client may include request and response excerpts in the context it sends to your chosen model provider. Your client's settings and the provider's policies determine how results are sent, logged, or retained. Kera does not contact the model provider directly. -
Cloudflare Quick Tunnel: Off by default. With
--tunnel(orKERA_TUNNEL=truefor the MCP server only), Cloudflare terminates public HTTPS. Requests and responses transit Cloudflare, andcloudflareddelivers incoming requests to127.0.0.1. If no executable is already available, tunnel setup may download it from Cloudflare's GitHub releases. - Configured application target: Kera forwards and replays requests to the upstream you configure. If it is remote, that traffic leaves your machine even with tunneling off. Inspection redaction does not apply to forwarding or replay.
-
Installation and upgrades:
npxandnpm installmay contact the package registry to install or upgrade Kera. This is package-manager traffic; Kera does not check for updates during normal operation.
- Use synthetic or test data where possible. Do not capture regulated personal data or payment-card (PCI) data unless you are authorized to handle it and your environment meets the applicable requirements.
- Keep webhook signature verification and application authentication enabled in your upstream app. A Quick Tunnel is public and can expose every route reachable through the proxy.
- Review excerpts before sending them to a model provider or pasting them into shared logs, issue reports, or chat.
See the repository security guide for implementation details.
- 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