GitHits
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Local encrypted vault for agent secrets with scoped injection and output redaction.
作者による原文
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 4/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 16/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
ChatGPT はまだ keytwig につなげません
提供元はまだ MCP Registry にインストール方法を載せていません
B · サイバーセキュリティ の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code はまだ keytwig につなげません
提供元はまだ MCP Registry にインストール方法を載せていません
Cursor はまだ keytwig につなげません
提供元はまだ MCP Registry にインストール方法を載せていません
VS Code はまだ keytwig につなげません
提供元はまだ MCP Registry にインストール方法を載せていません
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月26日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント keytwig で確認済みです
コードの最終更新:昨日
Apache-2.0を使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/keytwig)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は昨日、最新バージョン(0.2.0)がレジストリに届いたのは昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。
同じカテゴリには:GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Sonatype component intelligence: versions, security analysis, and Trust Score recommendations
Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
| これ keytwig | GitHits | Dependency Management MCP Server | Snyk MCP | TokenSafe | Draugr | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドでもパソコンにインストールでも使える | クラウドで動き、インストール不要 | パソコンにインストールが必要 | クラウドでもパソコンにインストールでも使える | パソコンにインストールが必要 |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 5/5 | 3/4 | 3/3 | 5/5 | 3/3 |
| ライセンス | Apache-2.0 | Apache-2.0 | – | Apache-2.0 | MIT | Apache-2.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
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.
brew install memtwig/tap/keytwig
go install github.com/keytwig/keytwig/cmd/keytwig@latest
checksums.txt, extract it, and put the binary on your PATH.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
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 maskedkeytwig_run — run a shell command with secrets injected (keys, file_keys, or project: true); output maskedkeytwig_list — names, aliases, kind, allowed_hosts, expiry, and which env vars the current project getskeytwig_import — move a .env into the vault without values passing through the modelkeytwig_statusThere 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).
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.
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.
scan tells you.env file, classified:.hermes, .claude, .codex, OpenBot, … plus your own in config.toml). Those secrets stay where they are..bak, snapshots, .moved-… copiesDATABASE_URL) → import --scan stores each one as __NAME. Map it back at run time with -k DATABASE_URL=BILLING__DATABASE_URL.The vault is age-encrypted to an X25519 identity. How that identity is kept:
| mode | at rest | unattended agents | notes |
|---|---|---|---|
--machine (default) | bound to this machine: TPM2 via systemd-creds on Linux, login Keychain on macOS, DPAPI/Credential Manager on Windows | yes, never prompts | a 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 |
--passphrase | encrypted (scrypt) | after keytwig unlock (default 12h, --ttl) | works everywhere |
--keyring | OS keyring: Keychain, Credential Manager, Secret Service | yes, while you are logged in | only as strong as your login keyring; on Linux with autologin the keyring is often saved unencrypted (keytwig status warns) |
--file | plaintext 0600 file | yes | anyone 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.
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.
| Linux | macOS | Windows | |
|---|---|---|---|
| identity, config | ~/.config/keytwig/ | ~/Library/Application Support/keytwig/ | %AppData%\keytwig\ |
| vault | ~/.local/share/keytwig/vault.age | same as identity | same 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