Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Beschreibung vom Entwickler (englisches Original)
Keychain-backed secret broker: an AI agent can use your keys, but no tool ever returns one.
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
Du brauchst
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein
{
"mcpServers": {
"keystash": {
"command": "uvx",
"args": [
"keystash",
"mcp"
]
}
}
}Führe das in deinem Terminal aus
claude mcp add keystash -- uvx keystash mcpIn .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen
{
"mcpServers": {
"keystash": {
"command": "uvx",
"args": [
"keystash",
"mcp"
]
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
In .vscode/mcp.json in deinem Projekt einfügen
{
"servers": {
"keystash": {
"type": "stdio",
"command": "uvx",
"args": [
"keystash",
"mcp"
]
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026
Der Registry-Name wurde mit dem GitHub-Konto thu-lawyer bestätigt, dem das Repo gehört
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.4.2) kam vor 30 Tagen in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.
In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, Agent Data Tools: Utilities
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
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.
103 tools: JSON repair, CSV, hashes, cron, dates, units, validators. 25 free calls.
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
值留给钥匙串,AI 只拿引用名。
The Keychain keeps the values; your AI agent only ever gets references.
keystash 让 AI 助手(MCP、Claude Code、任何 agent)帮你管理 API key、token、密码, 而不让它看见它们。
v0.4.0 起:值存在 macOS 登录钥匙串,磁盘上只剩元数据,而且全库没有 read 工具 —— 没有任何一个接口会把密钥交给 AI。
一句话:这一版的安全性来自「没有 read 工具」+「全库没有明文出口」,不是来自「用了什么加密」。
The usual advice — "don't paste your API key into the chat" — stopped working the day agents became useful. An agent that cannot read OPENAI_API_KEY cannot rotate it, cannot call the API on your behalf, cannot tell you which key expires next month.
So the goal is not "the agent never touches keys". It is the agent manages keys it cannot see:
secret_use, can only reach URLs you pre-approved per entry.pip install keystash # or: uv tool install keystash
keystash doctor # check Keychain / osascript / security / pbcopy
keystash add OPENAI_PROD_KEY -a https://api.openai.com/ -r 90
keystash generate STRIPE_PROD_SECRET -a https://api.stripe.com/ -r 180
keystash list # metadata only keystash list --json keystash use OPENAI_PROD_KEY https://api.openai.com/v1/models keystash rm OPENAI_PROD_KEY
Piping a value in (CI, another vault, a password manager export) skips the dialog:
printf '%s' "$VALUE" | keystash add MY_SERVICE_PROD_KEY --stdin -a https://api.myservice.com/
Naming convention: SERVICE_ENV_PURPOSE — OPENAI_PROD_KEY, ALIYUN_OSS_STAGING_SECRET. Enforced: ^A-Z{0,63}$.
Values live in the login Keychain. keystash copy NAME puts the value on the clipboard and clears it again after 30 seconds (--clear-after 0 disables the clear). Nothing is printed. The Touch ID prompt appears when a value is actually needed — not on list, not on show, not on doctor, not on metadata edits.
keystash doctor reports the platform, whether the Keychain backend is available, the paths of osascript / security / pbcopy, your metadata file, the audit log, and the legacy vault path. If the metadata file exists it also prints the entry count and which entries are past their rotation interval.
keystash mcp speaks MCP over stdio only — it opens no socket, not even on 127.0.0.1. It exposes exactly six tools. There is no secret_read, and no run_command:
| Tool | What it does | Does the AI see the value? |
|---|---|---|
secret_list | List entries: name, tags, rotation dates, allowed URLs | No — metadata only |
secret_store | Store a value the user types into a dialog | No |
secret_rotate | Replace a value the same way | No |
secret_generate | Generate a strong value and store it | No — a fingerprint is returned |
secret_use | Call an allowed URL with the credential, return the reply | No — the key stays in the request header |
secret_delete | Erase the entry and its Keychain item, after a native dialog you confirm | No |
Wire it into an MCP client:
{
"mcpServers": { "keystash": { "command": "keystash", "args": ["mcp"], "env": { "KEYSTASH_META": "/Users/you/.keystash/entries.json" } } } }
Three things worth knowing about secret_use:
allowed_urls, and a URL must be a prefix match of one of them. https://api.openai.com.evil.com/ does not match https://api.openai.com/, and prefix matching is why the entries must end in /. An empty allow-list refuses everything — the AI cannot pick the destination host, so secret_use cannot be turned into an exfiltration primitive.allow_redirects=False), so an allowed host cannot bounce the credential somewhere else.Every secret_use call appends one line to the audit log (~/.keystash/audit.log, mode 0600): timestamp, entry name, method, URL, HTTP status. Who called what, never the value.
| Command | Purpose |
|---|---|
keystash list [-t TAG] [--json] | List entries (metadata only) |
keystash show NAME | One entry's metadata |
keystash add NAME [-t TAG] [-r DAYS] [-a URL] [--auth-header H] [--auth-prefix P] [--stdin] [--force] | Store a new secret |
keystash rotate NAME [--stdin] | Replace the value, keep the metadata |
keystash generate NAME [-t TAG] [-r DAYS] [-a URL] [-l LEN] | Generate and store (16–128 chars, default 43) |
keystash edit NAME [-t TAG] [-r DAYS] [-a URL] | Metadata only — the value is never read or rewritten |
keystash copy NAME [--clear-after SECONDS] | Clipboard, auto-cleared (default 30) |
keystash use NAME URL [-X METHOD] [-d BODY] [--timeout SECONDS] | Call an allow-listed URL |
keystash rm NAME [--yes] | Delete the entry and its Keychain item |
keystash migrate [-s VAULT] [--verify/--no-verify] [--retire-vault] | Move a v0.3 encrypted vault into the Keychain |
keystash doctor | Check this machine's prerequisites |
keystash mcp | Serve the MCP stdio interface |
v0.3 kept everything in one PBKDF2 + Fernet vault file. migrate reads that vault once and writes each value into the Keychain:
keystash migrate -s ~/keystash-vault.json --retire-vault
The old master password is fetched the way v0.3 fetched it: KEYSTASH_MASTER_PASSWORD if set, then the login Keychain (service keystash, account = the vault's absolute path — the item v0.3 wrote, so anyone who never typed that password by hand still does not have to), and only then a hidden prompt. Values pass through memory only; the only output is a table of old name / new name / tags / verified. --verify (on by default) reads each value back out of the Keychain and compares it before the entry is considered migrated, so a silent Keychain failure cannot lose a key. --retire-vault renames the old file to *.migrated after a fully successful run — it is not deleted. Keep that file until you have confirmed every entry.
Migration leaves every entry's allowed_urls empty on purpose, so secret_use refuses everything until you allow a host: keystash edit NAME --allow https://api.example.com/ (the trailing slash is required). Only the prefixes you add are reachable.
The metadata file is plain JSON; sync it however you like. The values do not sync — they are in this Mac's login Keychain, and that is the point. On a second machine, re-enter or keystash add --stdin each value once, then copy the metadata file over.
Read this part before trusting the tool.
What keystash does eliminate. The plaintext inventory. Before, your keys were in ~/.zshrc, in .env files, in shell history, in chat logs, in MCP transcripts, in your clipboard buffer's past. Now they are in one place the AI has no tool to read, and no command prints them.
What it does not do. With Keychain storage, encryption at rest is the OS's job, and the layer beneath is your login session. Concretely:
security find-generic-password -s keystash -a OPENAI_PROD_KEY -w works from any same-user shell. keystash does not defend against a compromised account, and does not claim to.-r DAYS makes doctor and the MCP secret_list flag overdue entries. Nothing rotates automatically.What the AI can still do. It can list your entry names, delete entries, call allow-listed URLs with stored credentials (and read the responses), and store *new* values — including ones it invents. Treat secret_delete and the allow-lists as things you review, not things you set once. Read the audit log.
keystash 消掉的是明文,不是信任。
| Variable | Meaning | Default |
|---|---|---|
KEYSTASH_META | Metadata file path | ~/.keystash/entries.json |
KEYSTASH_VAULT | Legacy v0.3 vault path — used only by migrate | ~/.keystash/vault.json |
The --meta/-m and --vault/-V flags override them.
git clone https://github.com/thu-lawyer/keystash.git
cd keystash pip install -e ".[dev]" pytest -q # the real Keychain is never touched ruff check src tests
The test suite drives the CLI as a subprocess and injects an in-memory store, so it passes on Linux and Windows CI with no Keychain. Set KEYSTASH_TEST_KEYCHAIN=1 to opt into the one test that touches the real login Keychain.
MIT
「别把 API key 贴进对话」这条建议,在 agent 变得有用的那天就失效了。 一个读不到 OPENAI_API_KEY 的 agent,没法帮你轮换它、没法代你调接口、也说不清下个月哪个 key 过期。
所以目标不是「agent 永不接触密钥」,而是让 agent 管理它看不见的密钥:
secret_use,只能打你按条目预先批准的 URL。pip install keystash # 或:uv tool install keystash
keystash doctor # 检查 Keychain / osascript / security / pbcopy
keystash add OPENAI_PROD_KEY -a https://api.openai.com/ -r 90
keystash generate STRIPE_PROD_SECRET -a https://api.stripe.com/ -r 180
keystash list # 只有元数据 keystash list --json keystash use OPENAI_PROD_KEY https://api.openai.com/v1/models keystash rm OPENAI_PROD_KEY
从管道喂值(CI、别的密码库导出)可以跳过弹窗:
printf '%s' "$VALUE" | keystash add MY_SERVICE_PROD_KEY --stdin -a https://api.myservice.com/
命名规范:SERVICE_ENV_PURPOSE —— OPENAI_PROD_KEY、ALIYUN_OSS_STAGING_SECRET。 已强制校验:^A-Z{0,63}$。
值在登录钥匙串里。keystash copy NAME 把值放进剪贴板,30 秒后自动清除(--clear-after 0 关闭清除)。 不打印任何东西。 真正取值时才出现 Touch ID 提示 —— list、show、doctor、 改元数据都不会触发。
keystash doctor 会报出平台、Keyc
Nur der Anfang wird gezeigt; den Rest findest du im Repo