MCP.Market

Keystash MCP server

by thu-lawyer·io.github.thu-lawyer/keystash·v0.4.2

Keychain-backed secret broker: an AI agent can use your keys, but no tool ever returns one.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

0 stars487 downloads/wk

Reviews

Write one

Nobody has reviewed Keystash yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Keystash tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-13 · same rubric, same numbers if you re-run it

no findings
  • Code scan15 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 6 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Keystash compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 90% of 4,460 AI and agents servers
Downloads a week
487
more than 86% of 1,538 AI and agents servers with a package

Install Keystash in Claude Code, Cursor or VS Code

claude mcp add keystash -- uvx keystash
Add to Cursor

What the publisher says

From the Keystash repository's README, as published. We do not edit it. Read it on GitHub

keystash 🔑

值留给钥匙串,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 工具」+「全库没有明文出口」,不是来自「用了什么加密」。

English

Why keystash

The usual advice — "don't paste your API key into the chat" — stopped working the day agents became useful. An agent that cannot read OPENAIAPIKEY 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:

never printed, never returned by any API.

  • The value goes into the macOS login Keychain. It is never written to a file this tool owns,

Metadata is deliberately not secret — so listing and editing it needs no unlock.

  • Only metadata (name, tags, rotation schedule, allowed URLs) lives on disk, in plain 0600 JSON.

disabled flag — the code path does not exist.

  • There is no secretread tool**, and no CLI command that echoes a value to stdout. Not a
  • The one route to the outside world, secret_use, can only reach URLs you pre-approved per entry.

Quick start

pip install keystash          # or: uv tool install keystash

keystash doctor               # check Keychain / osascript / security / pbcopy

# Store a key. The value is typed into a native hidden dialog — never argv, never the shell history.
keystash add OPENAI_PROD_KEY -a https://api.openai.com/ -r 90

# Let keystash invent one instead; it prints a fingerprint, never the value.
keystash generate STRIPE_PROD_SECRET -a https://api.stripe.com/ -r 180
# generated STRIPE_PROD_SECRET  sha256:1f3a9c02  (43 chars)

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: SERVICEENVPURPOSE — OPENAIPRODKEY, ALIYUNOSSSTAGINGSECRET. Enforced: ^[A-Z][A-Z0-9]{0,63}$.

Touch ID unlock

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 — clean up the mess you already have

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.

AI agents, zero plaintext: keystash mcp

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 secretread, and no runcommand:

Wire it into an MCP client:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Keystash: common questions

Is Keystash MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Keystash safety report
How do I install Keystash?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Keystash need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Keystash maintained?
The last commit was 27 days ago (2026-10-08). The latest release is v0.4.2.
What can I use instead of Keystash?
Servers from other publishers that do the same job: Claude Real Video MCP server and Ausca MCP server.
How does Keystash compare with other AI and agents MCP servers?
safety score 92/100 (higher than 90% of 4,460 AI and agents servers); downloads a week 487 (more than 86% of 1,538 AI and agents servers with a package). Full comparison.

Alternatives to Keystash

Same job from other publishers: the closest match first, then the best rated.

  • Claude Real Video
    Let any LLM watch a video locally — and search everything it has ever watched.
    A
  • Ausca
    Pay-per-call APIs and MCP services for agents, no accounts or keys, with verifiable receipts.
    A