keyreeve
Stores GitHub tokens, verifies them against api.github.com, and lets agents run GitHub CLI/API commands through a proxy with the real token injected only on GitHub requests.
Stores Meta Ads API keys and lets agents use them through stand-ins for reporting commands, with the real key injected only on requests to Meta.
Stores OpenAI API keys and exposes them to agents as stand-in environment variables; requests to OpenAI are proxied with the real key so the agent never sees it.
Stores Sentry API keys and lets agents use them through the proxy for scripts and reporting without exposing the key.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
keyreeve
A key vault for your Mac. Your API keys stay sealed on your machine, agents use them without seeing them, and each provider's quirks live in a small recipe file the community writes.
Website · Español · Reference · Threat model · Security · Contributing

Status: alpha (0.1.0-alpha.2). The vault, the agent tools and the checks are used every day on one Mac. Rotation is experimental: it passes the simulator but has not run against a real provider yet.
What it does
Seals keys. Each key is sealed for a key in your Mac's Secure Enclave and for a recovery key you keep elsewhere. The sealed files are standard age files, so you can open them without keyreeve.
Checks them. One read-only request per key tells you whether it still works, and whose it is.
Lets agents use them. A command runs with a stand-in of the same shape. A local proxy puts the real key only on requests to that key's provider. The agent sees the output and never the key.
Rotates them (experimental). A recipe says how to create and revoke a key at a provider.
Related MCP server: enigmagent-mcp
Install
On a Mac with macOS 14 or later (Apple silicon or Intel):
brew install --cask carlostapiacl/tap/keyreeveIt installs Keyreeve.app and the keyreeve command. Keyreeve is not signed with an Apple Developer ID yet, so the first
time macOS says it cannot check it. Open it once from System Settings > Privacy & Security > Open Anyway (on macOS 14
you can also right-click Keyreeve in Applications and choose Open). The download is also on the
releases page.
On Linux, the keyreeve command alone (checks, recipes and the proxy, no vault): brew install carlostapiacl/tap/keyreeve.
To build it yourself you need the Command Line Tools and Rust:
git clone https://github.com/carlostapiacl/keyreeve
cd keyreeve
app/build-app.sh
ditto app/dist/Keyreeve.app /Applications/Keyreeve.app # onceThe first five minutes
The window has three places: Home (what waits on you and the keys in use), My keys (the list) and Tools (Agents, Security and backup, Rotation, Log and Providers).
Bring in your keys. On the first screen, or later in Tools > Security and backup or File > Bring in keys…. It looks where tools keep keys on this Mac, or in a folder you choose, checks each key and shows what it found with the values hidden. You decide the doubtful ones and seal with one fingerprint. Your files stay where they are.
Create the vault. In Tools > Security and backup, press Create my vault. Write down the recovery key it shows once, away from this Mac.
Add a key. Copy it from your provider and press +. keyreeve tells the provider from how the key starts.
Offer it to agents. On the key's page, under Usage, check Offered to agents and pick a level.
Connect your agent. Tools > Agents copies the command for Claude Code:
claude mcp add --scope user keyreeve -- "<path>/keyreeve-vault" mcp. Other MCP clients runkeyreeve-vault mcp.
Then ask the agent to use the key. It calls use_key with a command such as curl, you approve with your fingerprint, and
the command runs with a stand-in. The same from a terminal:
keyreeve-vault use github --reason "list repos" -- gh repo list
keyreeve-vault use meta-ads,calcom,sentry -- python3 report.py # several keys, one window, one fingerprint
Coding agents and MCP servers
A coding agent can run under use as a whole, so it holds only stand-ins: its config, its database and its logs never
have a real key.
keyreeve-vault use openai,github --as openai=OPENAI_API_KEY,github=GITHUB_TOKEN --for 8h -- opencodePoint its config at the variables ({env:OPENAI_API_KEY} in opencode), including the headers of a remote MCP server. A
remote MCP server that signs in with OAuth is signed in once by keyreeve, which then keeps the refresh token and renews
the access token itself: see the reference.
Levels
level | what happens |
Only me | The default. Agents see the name and can ask for it with |
Ask | A window shows the key, the command and the agent's reason. You allow it once or for 1 to 24 hours, with your fingerprint. |
Free | One fingerprint, then any command until you quit Keyreeve, for a day at most. |
Always, no fingerprint | Agents use it through the proxy with no question, across restarts. Keep it for keys that only read. |
The real value (keyreeve-vault get, --real, run_with_key) asks for your fingerprint every time. Quitting Keyreeve,
Lock everything in the menu bar or keyreeve-vault revoke ends every permission. Every yes, no and use goes in
~/.keyreeve/audit.jsonl, with no values and each line chained to the one before.

Recipes
Everything about a provider lives in one YAML file. The app knows no provider by name. This is
recipes/github.yaml, trimmed:
provider: github
prefixes: [ghp_, github_pat_]
hosts: [api.github.com]
auth: { header: Authorization, prefix: "Bearer " }
verify: { method: GET, path: /user }A recipe is data and cannot run code. It talks HTTPS only to the hosts it lists. keyreeve ships 33 recipes; your own go in
~/.keyreeve/providers/, and you approve each new host.
Security
keyreeve guards keys. It is not a sandbox: a program running as you can do what you can, and a command an agent runs with a stand-in can use the key, without reading it. The vault's code has had no outside review. THREAT_MODEL.md lists what it protects against and what it does not, and SECURITY.md says how to report a vulnerability.
More
The reference has the rest: offered or not, how keys get in, every MCP tool, where a key lives, rotation, the terminal commands and the recipe fields. CONTRIBUTING.md: the most useful contribution is a recipe for a provider you use. An agent skill teaches an agent to use keyreeve well.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Issue, rotate and revoke scoped API-key passes for 25+ providers — the agent never sees a real key
A secret store for AI agents: the agent never sees the plaintext.
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
Secrets for developers and agents—secure context and workflows without exposing secret values.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceLocal encrypted vault for API keys. LLMs never see your real keys — the server injects them transparently into HTTP requests.-
- AlicenseAqualityBmaintenanceLocal AES-256-GCM encrypted vault for AI agents. Resolve {{PLACEHOLDER}} secrets in prompts at runtime — LLMs never see real API keys. Argon2id key derivation, zero cloud.270 npm7MIT
- AlicenseNot gradedqualityBmaintenanceLets AI agents make authenticated API and OAuth calls using stored credentials they never see, with per-credential Touch ID approval, proxy execution, and a local audit log of every use.1Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to stage API keys into non-exposing handles and make API calls where the real key is injected locally, so secrets stay out of prompts, transcripts, tool arguments, and logs. Also allows listing handles, revoking secrets, and inspecting vault info without ever returning raw secret values.51MIT No Attribution