Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

keytwig

✓ Brand-named GitHub · github.com/keytwig

by keytwigversion 0.2.0i★ 1i–Repository ↗

How to install

What it does

Local encrypted vault for agent secrets with scoped injection and output redaction.

  • Connects –
  • Account or key No key needed
  • Category Cybersecurity

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Claude cannot connect keytwig yet

The maker has not listed install details in the MCP Registry yet

ChatGPT cannot connect keytwig yet

The maker has not listed install details in the MCP Registry yet

What you can do instead

B · Others in Cybersecurity that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Claude Code cannot connect keytwig yet

The maker has not listed install details in the MCP Registry yet

Cursor cannot connect keytwig yet

The maker has not listed install details in the MCP Registry yet

VS Code cannot connect keytwig yet

The maker has not listed install details in the MCP Registry yet

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use keytwig💬 Discussion →

At a glance

Registry name
io.github.keytwig/keytwig
Downloads per weeki
Not on npm/PyPI
Licencei
Apache-2.0
Connection
–
Latest versioni
0.2.0
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
keytwig
Registry status
Active

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account keytwig, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/keytwig.svg)](https://mcp.popnx.com/en/servers/keytwig)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Cybersecurityi

  • More stars than 75% of the other 1215 servers in this category
  • Published to the registry more recently than 96% of the other 1215 servers in this category
  • Basic checks equal to or better than 99% of the other 1215 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is keytwig safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.2.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code.

What can I use instead?

In the same category: GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitHits

Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.

by githits-comGrowing↓ 3.8K/wk★ 140Updated 7 days ago

Connect now (has URL) · sign-in✓ service owner · githits.com

Snyk MCP

Easily find and fix security issues in your applications leveraging Snyk platform capabilities.

by snykWidely used↓ 762.1K/wk★ 61Updated 7 months ago

Runs on your computer✓ service owner · snyk.io

TokenSafe

Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.

by tokensafe-devWidely used↓ 6.8K/wk★ 47Updated today

Connect now (has URL)9 tools · light✓ service owner · tokensafe.dev

Draugr

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

by draugr-devEarly★ 30Updated today

Runs on your computer✓ service owner · draugr.dev
Compared with similar ones
This one
keytwig
GitHitsDependency Management MCP ServerSnyk MCPTokenSafeDraugr
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installInstalls on your computerCloud or install on your computerInstalls on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/35/53/43/35/53/3
LicenseApache-2.0Apache-2.0–Apache-2.0MITApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

keytwig

One local vault for the secrets your projects and agents use. Agents use secrets through keytwig run, which injects values into a child process and masks them in stdout and stderr.

Sibling of memtwig. Linux, macOS and Windows (single static binary, no cgo). See SECURITY.md for the threat model and reporting instructions.

Install

  • Linux or macOS (downloads and verifies the release archive)
  curl -fsSL https://raw.githubusercontent.com/keytwig/keytwig/main/scripts/install.sh | sh

Set KEYTWIG_INSTALL_DIR to override ~/.local/bin or KEYTWIG_VERSION to select a tag such as v0.2.0.

  • Homebrew on Linux or macOS
  brew install memtwig/tap/keytwig
  • Build with Go
  go install github.com/keytwig/keytwig/cmd/keytwig@latest
  • Prebuilt releases for Linux, macOS, and Windows on amd64 and arm64. Verify the archive against checksums.txt, extract it, and put the binary on your PATH.

Quick start

keytwig init                     # identity bound to this machine, no prompts (or --passphrase / --keyring / --file)

keytwig scan # where credentials live today (names and paths only) keytwig import --scan --dry-run # what would be imported from your project .env files keytwig import --scan keytwig run -k STRIPE_SECRET_KEY -- ./deploy.sh cd ~/code/shop && keytwig run -p -- npm run dev # the project's own secrets, usual names keytwig install all # MCP server in Claude Code, Codex, Cursor, Windsurf, Hermes, Grok, Antigravity

Agents

keytwig install (antigravity: standalone and T3-managed) registers keytwig mcp --agent (config backed up as *.keytwig.bak). Tools exposed — none returns a value:

  • keytwig_http — make an HTTP request injecting {{NAME}} placeholders directly (no shell), restricted by [secrets.NAME] allowed_hosts, response masked
  • keytwig_run — run a shell command with secrets injected (keys, file_keys, or project: true); output masked
  • keytwig_list — names, aliases, kind, allowed_hosts, expiry, and which env vars the current project gets
  • keytwig_import — move a .env into the vault without values passing through the model
  • keytwig_status

There is no get/set tool on purpose. Masking protects against accidents (logs, stack traces, env dumps), not against an agent that deliberately transforms a value (e.g. reverses it) before printing. Use keytwig_http when calling APIs so secrets are scoped per host and never touch a shell.

keytwig install claude (and keytwig install all) also installs a PreToolUse hook (keytwig hook claude) that blocks direct reads of .env, vault, and credential files or raw env dumps (pass --no-hooks to skip).

Per-agent and per-secret policies (config.toml)
[agents.hermes]

allow = ["ACME_*", "STRIPE_*"] deny = ["*_PROD"]

[agents.default] # unnamed or unlisted agents deny = ["STRIPE_*"]

[secrets.STRIPE_SECRET_KEY] allowed_hosts = ["api.stripe.com"] expires = "2026-12-31" note = "Stripe live key"

Deny wins; aliases cannot dodge a deny. This is a guardrail between your own agents, not isolation: anything running as your OS user can reach the vault.

Projects

Import remembers which project folder uses which secret under which name. keytwig run -p (from the project folder or any subfolder) injects exactly those.

keytwig rewrite --scan (dry run) / --apply replaces the plaintext values in project .env files with keytwig://NAME; frameworks that let real env vars win over .env (Next.js, Vite, dotenv) keep working under keytwig run -p. keytwig restore puts the values back.

What scan tells you

  • every .env file, classified:
  • harness: folders owned by an agent harness (.hermes, .claude, .codex, OpenBot, … plus your own in config.toml). Those secrets stay where they are.
  • app: other dot-folders in your home (tool state)
  • backup: .bak, snapshots, .moved-… copies
  • project: everything else. Only these files are proposed for import.
  • the same name in several files, and whether the copies carry the same value
  • the same value under different names (compared by sha256 in memory, never printed)
  • login/key files of CLIs and harnesses, and files readable by other users

Deduplication

  • Identical value, different names → stored once; the other names become aliases.
  • Same name, different value per project (e.g. DATABASE_URL) → import --scan stores each one as __NAME. Map it back at run time with -k DATABASE_URL=BILLING__DATABASE_URL.

Protecting the identity

The vault is age-encrypted to an X25519 identity. How that identity is kept:

modeat restunattended agentsnotes
--machine (default)bound to this machine: TPM2 via systemd-creds on Linux, login Keychain on macOS, DPAPI/Credential Manager on Windowsyes, never promptsa copied identity file or backup is useless elsewhere; a process already running as you can still use it. Losing the machine/TPM loses the vault unless you exported the identity
--passphraseencrypted (scrypt)after keytwig unlock (default 12h, --ttl)works everywhere
--keyringOS keyring: Keychain, Credential Manager, Secret Serviceyes, while you are logged inonly as strong as your login keyring; on Linux with autologin the keyring is often saved unencrypted (keytwig status warns)
--fileplaintext 0600 fileyesanyone who copies the file can open the vault

Switch at any time with keytwig protect --machine|--passphrase|--keyring|--file (the vault is not re-encrypted). Always keep an offline backup: keytwig identity export --out FILE.

Commands

keytwig init [--machine|--passphrase|--keyring|--file]

keytwig status keytwig protect --machine | --passphrase | --keyring | --file keytwig unlock [--ttl 12h] / keytwig lock keytwig identity export --out FILE keytwig identity import FILE # restore an exported identity keytwig scan [dir...] [--all] [--json] keytwig import [--only A,B] [--prefix P] [--overwrite] keytwig import --scan [dir...] [--dry-run] [--include-app] printf %s "$V" | keytwig set NAME # or interactive hidden prompt; never from argv keytwig set NAME --file path/to/sa.json # store a file secret (max 1 MiB) keytwig ls [--json] # names, kind, aliases, source, last update — no values keytwig rm NAME keytwig run -k NAME -k VAR=NAME -- cmd keytwig run --file-key SA=GCP_SA -- cmd # mount file secret ephemerally (0600, wiped on exit) keytwig run -p -- cmd # current project's secrets keytwig http GET https://api.stripe.com/v1/charges -H 'Authorization: Bearer {{STRIPE_SECRET_KEY}}' keytwig hook [claude|cursor] # PreToolUse secret guard (stdin JSON) keytwig rewrite [file...|--scan] [--apply] / keytwig restore ... keytwig mcp [--agent NAME] keytwig install [--dry-run] [--no-hooks] keytwig uninstall # remove keytwig's MCP registration (and Claude hook) keytwig log [--agent X] [--limit N] [--json] keytwig doctor # check local setup, permissions, expiry, harnesses keytwig version keytwig run --env-file app.env -- cmd # app.env: API_KEY=keytwig://STRIPE_SECRET_KEY

run replaces every stored value (6+ chars, also base64 / URL / JSON-encoded, and hex for 8+ chars) in stdout/stderr with ‹keytwig:NAME›, also across write boundaries. --no-redact for interactive programs.

keytwig log reads audit.jsonl next to the encrypted vault. Entries record operation metadata without secret values. Filter by agent or limit the number of entries. Use --json for machine-readable output.

Files

LinuxmacOSWindows
identity, config~/.config/keytwig/~/Library/Application Support/keytwig/%AppData%\keytwig\
vault~/.local/share/keytwig/vault.agesame as identitysame as identity

KEYTWIG_HOME overrides both (tests, sandboxes).

config.toml:

harness = ["~/.local/share/my-agent"]   # added to the built-in list

ignore = ["~/huge-folder"] # not scanned

Not yet

  • an OS-level boundary between agents (separate user / daemon with per-agent tokens)
  • adapters for harnesses with their own secret stores (browser logins stay there)
  • Windows: file permissions rely on the user profile ACL, not 0600