Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Read-only access to secrets in a local KeePassXC vault. Runs commands with them injected.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
KEEPASSXC_DIR, KDBX_ENV必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"kdbx": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR",
"-e",
"KDBX_ENV",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "your-value",
"KDBX_ENV": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add kdbx --env KEEPASSXC_DIR=your-value --env KDBX_ENV=your-value -- docker run -i --rm -e KEEPASSXC_DIR -e KDBX_ENV ghcr.io/yarrasys/kdbx:0.3.2 mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"kdbx": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR",
"-e",
"KDBX_ENV",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "your-value",
"KDBX_ENV": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"kdbx": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KEEPASSXC_DIR",
"-e",
"KDBX_ENV",
"ghcr.io/yarrasys/kdbx:0.3.2",
"mcp"
],
"env": {
"KEEPASSXC_DIR": "your-value",
"KDBX_ENV": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
KEEPASSXC_DIR envKDBX_ENV envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント yarrasys で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.2)がレジストリに届いたのは24 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, MCP Server Autocad Lisp Helper
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
High-precision static analysis and debug server for AutoCAD AutoLISP (.lsp) files.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
kdbx keeps a project's secrets in a per-project, per-environment KeePassXC vault (KDBX4, unlocked by a key file only — no master password) and gets them into the tools that need them without kdbx ever printing them into a transcript, a log file, or your shell history. Discovery is automatic: kdbx walks up from your current directory to a committed .keepassxc.json pointer file, works out which environment is active, and takes it from there. The headline command is kdbx run -- , which resolves that environment's variable mappings and injects them into a child process' environment. It replaces .env files as the source of truth; the vault stays outside the repo, so there is nothing secret to accidentally commit.
Every install method below is live — the curl installer, Homebrew,
go install, the
ghcr.iocontainer image, and the signed release archives (SHA256SUMS+ cosign, with
reproducible builds). The badge above tracks the current version.
# curl installer — downloads the release archive, verifies its SHA-256, installs to
curl -LsSf https://raw.githubusercontent.com/yarrasys/kdbx/main/install.sh | sh
brew install yarrasys/tap/kdbx # Homebrew
go install github.com/yarrasys/kdbx@latest # from source, needs Go 1.26+ docker run --rm ghcr.io/yarrasys/kdbx:latest --version # container (FROM scratch)
Windows: download the _windows_ archive from the releases page and put kdbx.exe on your PATH.
Building from source needs Go 1.26 or newer. Go 1.25 left support when Go 1.27 shipped, and current golang.org/x/term releases declare a 1.26 floor. Release binaries are static and impose no toolchain requirement on users.
Shell completions:
kdbx completion zsh > "${fpath[1]}/_kdbx"
kdbx completion bash > /etc/bash_completion.d/kdbx kdbx completion fish > ~/.config/fish/completions/kdbx.fish kdbx completion powershell | Out-String | Invoke-Expression
1. Commit a pointer file at the repo root. It names the project and its environments; it contains no secrets, so it is safe to check in.
{
"project": "demo", "defaultEnv": "dev", "envs": { "dev": {}, "prod": {} } }
An empty env object is fine — kdbx derives the artifact paths from the project and environment name: /demo/dev.kdbx and /demo/dev.keyx, where is $KEEPASSXC_DIR if set, else %LOCALAPPDATA%\keepassxc on Windows, else $XDG_CONFIG_HOME/keepassxc or ~/.config/keepassxc. Set vault and keyFile explicitly if you want them somewhere else; both accept a ${KEEPASSXC_DIR} token and a leading ~.
2. Create the vault and its key file.
$ kdbx init
ACTIVE ENV: dev vault=/home/you/.config/keepassxc/demo/dev.kdbx (source: pointer) created /home/you/.config/keepassxc/demo/dev.kdbx KEYFILE: /home/you/.config/keepassxc/demo/dev.keyx — back this up; losing it makes the vault unrecoverable.
3. Store a secret and map it to an environment variable. The value never appears on the command line — it arrives on stdin, from --from-env, or from an interactive prompt.
$ kdbx set api/openai --var OPENAI_API_KEY < secret.txt
ACTIVE ENV: dev vault=/home/you/.config/keepassxc/demo/dev.kdbx (source: pointer) modified tracked file .keepassxc.json — review and commit
--var records the mapping in the pointer file, preserving existing key order so the diff stays reviewable:
"dev": {
"vars": { "OPENAI_API_KEY": "api/openai" } }
4. Run something with the secrets injected.
kdbx run -- claude # the author's actual daily use
kdbx run -- npm test kdbx --env prod run -- ./deploy.sh
The child inherits your environment plus the mapped variables. Its exit code is passed straight back out. Nothing is written to disk, and the value never appears in your shell history.
Reading is deliberately boring:
$ kdbx list
api/openai $ kdbx get api/openai (set, hidden) $ kdbx check # every mapping still resolves → exit 0, no output $ kdbx envs
Every operation accepts --env NAME. Read operations additionally accept --json. Operations marked ✦ print the banner ACTIVE ENV: vault= (source: ) to stderr; pure display operations do not.
| Op | Flags | Behavior (stdout / stderr / exit) | |
|---|---|---|---|
init ✦ | --here, `--mode standard\ | strict` | create vault + key file; with no pointer anywhere above, or with --here, first writes a fresh .keepassxc.json in the current directory (project named after it, dev/prod envs, dev active) so starting a project is one command; inside another project's tree, plain init names the pointer file it is about to use and asks for confirmation first (TTY only, exit 4 otherwise), pointing at --here as the way to start a separate project; stderr created plus a KEYFILE backup warning; refuses to overwrite an existing vault, key file, or pointer; --mode records the env's policy in the pointer, and strict anchors it into the new vault |
policy bless ✦ | anchor the pointer's current policy (its policy and run.allow sections) into the vault; interactive-only, like rekey, and denied to agents by the guard; strict run refuses until the anchor matches | ||
set PATH ✦ | --var NAME, --from-env VAR, --raw | value from --from-env, else an interactive prompt with confirmation on a TTY, else stdin (empty → error; one trailing newline stripped unless --raw); an empty or whitespace-only value is refused; --var adds the mapping to the pointer file | |
get PATH | --reveal \ | --clip | default: prints (set, hidden) — no length or prefix leak; --reveal prints the value with a stderr warning; --clip copies it and auto-clears after ~15 s; missing entry or field → exit 2 |
list [GROUP] | sorted group/…/title lines, filtered by the GROUP prefix, Recycle Bin excluded; never prints values | ||
delete PATH ✦ | --purge | soft-deletes to the Recycle Bin by default; --purge prompts y/N (TTY only — a non-TTY refuses with exit 4) then removes permanently | |
mv SRC DST ✦ | moves or retitles an entry, creating destination groups; re-points the active environment's var mappings that referenced SRC, keeping any :field suffix; stderr re-pointed N var mapping(s) … | ||
run ✦ | --allow-missing, --no-mask, --any, -- CMD… | if the pointer has a run.allow list, refuses an unlisted command before the vault is even opened (exit 7, NotAllowed) unless --any; resolves the active environment's vars map, injects it into the child's environment, resolves argv[0] through PATH (PATHEXT on Windows), forwards signals, and passes the child's exit code through; when a child stream is captured (not a TTY), injected values ≥ 8 bytes in it become *** (--no-mask disables; the guard denies it for agents); no command → exit 2; an unresolved var → exit 5 unless --allow-missing | |
export ✦ | --out FILE, --allow-missing | renders the mappings as dotenv (always double-quoted; \, " and newlines escaped); --out writes atomically at 0600 with a gitignore reminder, otherwise stdout | |
import FILE ✦ | parses a dotenv file (no $VAR interpolation), stores each KEY at imported/KEY and registers the mapping; stderr reminds you to delete or rotate the source file | ||
check | prints MISSING VAR -> path per broken mapping; exit 0 when clean, 5 on drift | ||
envs | one line per environment, the active one marked * ; stderr active: (source: ); no pointer file → exit 2 | ||
rekey ✦ | prompts y/N (TTY only, else exit 4), mints a new key file, re-keys the vault, replaces the old key file atomically; stderr reminds you to redistribute it |
Integration surfaces:
| Command | Purpose |
|---|---|
kdbx mcp | read-only MCP server over stdio (five tools: kdbx_list, kdbx_envs, kdbx_check, kdbx_get, kdbx_run) |
kdbx guard --hook pretooluse | evaluates a PreToolUse hook payload on stdin and denies agent-issued human-only operations |
kdbx completion | emits a completion script for bash, zsh, fish, or powershell |
kdbx --version | prints kdbx |
--json--json gives read operations a machine-readable stdout. Secret values are never included.
$ kdbx --json list
{"entries":["api/openai"]} $ kdbx --json envs {"envs":[{"name":"dev","active":true}],"source":"pointer"} $ kdbx --json check {"missing":[],"ok":true} $ kdbx --json get api/openai {"path":"api/openai","set":true}
--json with --reveal is rejected (exit 7). On failure, stdout carries {"error":{"op":"check","exit":5,"kind":"Drift"}} alongside the usual stderr line and exit code.
An entry path is group/sub/Title[:field]. The field defaults to password. The reserved field names — title, username, password, url, notes, matched case-insensitively — map to the KeePass entry's native attributes; anything else becomes a protected custom property. More than one :, an empty field after :, or an empty / segment is rejected. Variable names passed to --var must match ^A-Z_*$.
--env beats $KDBX_ENV, which beats the pointer's defaultEnv, which defaults to dev. kdbx envs and the banner report which of the three won. An environment that isn't in the pointer file is an error (exit 2).
| Code | Meaning |
|---|---|
0 | success |
1 | generic failure (scrubbed) |
2 | not found — no pointer file, unknown environment, missing entry or field, no command given to run |
3 | locked, key file missing, or credential failure |
4 | a destructive operation was not confirmed |
5 | drift — check found a broken mapping, or run/export could not resolve one |
6 | the vault changed underneath a write; re-run |
7 | preflight rejection (e.g. an invalid --var name, or --json --reveal) |
Failures print exactly one stderr line and never a stack trace or a secret. The line carries the stable kind plus kdbx's own message, which is written so that no secret value can ever appear in it:
$ kdbx get api/nope
kdbx: get failed: NotFound: entry not found: api/nope
The text of an underlying third-party error is never shown, since it is not under that rule. Set KDBX_DEBUG=1 to additionally get the full error chain and stack on stderr.
Environment variables kdbx reads: KDBX_ENV, KEEPASSXC_DIR, XDG_CONFIG_HOME, LOCALAPPDATA, KDBX_DEBUG.
kdbx is designed to be safe to hand to a coding agent. The rule is:
run, get (masked), list, check, envs, init.set, delete, mv, import, rekey, export, and get --reveal / get --clip.An agent can *use*
冒頭だけを表示しています。続きはリポジトリで読めます