Keysrs
Provides an optional relay through a Cloudflare Worker deployed in the user's own account, letting cloud VMs or sandboxes reach the local gateway without SSH while keys stay off the relay.
Supports OpenAI keys through the local gateway; cloud VMs or scripts use a revocable token against the OpenAI endpoint, and the gateway substitutes the stored OpenAI 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.
Keysrs
Short-lived tokens for AI agents, on your Mac and on cloud VMs. Your real API keys stay in the macOS Keychain; agents get a scoped token instead.
MCP-first. Agents talk to Keysrs over MCP: they find keys in a project, import them, and ask you for access. You approve each grant with Touch ID.
Short-lived tokens. A grant covers one key, one host and minutes to hours; a project token lasts 30 days. Revoke everything in one call.
Cloud VMs too. A VM or sandbox gets a token, never the key. Its calls come back to the gateway on your Mac, over SSH or a relay you deploy yourself, and the real key is swapped in there.
Keysrs also charts the calls made through its gateway: tokens, requests and estimated spend per key and provider.
Free and MIT-licensed. macOS 14+ on Apple Silicon.
Install
Download Keysrs-arm64.dmg from keysrs.com or the
latest release,
drag Keysrs to Applications and open it. It runs in the background (no Dock
icon or window until you open it again) and updates itself.
For the keys command line, choose Install Command Line Tool… in the
Keysrs menu, which links ~/.local/bin/keys.
Related MCP server: MCP Secrets
Use it with your agents
keys setup mcpThis registers the Keysrs MCP server with Claude Code, Codex, Cursor, Droid and Claude Desktop. Restart the agent, then ask it in plain words:
"Scan this project for API keys with Keysrs." It finds credential-shaped variables in your env files and reports names and last-4 hints, never values.
"Import and wrap this project's keys." One Touch ID moves the keys into the macOS Keychain and rewrites the env files to a 30-day project token.
"Ask me for a Keysrs grant for the key anthropic, 30 minutes." You approve with Touch ID; the agent gets a token scoped to one key, one host and a time limit.
"Revoke everything." Ends every grant, project token and relay pairing at once, and turns the relay off.
keys unwrap puts the original values back.
Cloud VMs
keys gateway on openai # once per key
keys client issue openai --label "my vm" --days 7 # a revocable token for the VM
keys tunnel user@my-vm # VM reaches the gateway over SSHOn the VM, point the agent at http://127.0.0.1:12767/openai and use the
ksfc_… token as its API key. For a sandbox you can't SSH into, keys relay
carries the same gateway through a Cloudflare Worker you deploy into your own
account, and keys share "my box" --key openai hands a machine several keys
at once through it (one token, one pairing, printed as env lines to paste).
See cloud agents and the relay.
From the command line
keys add # guided: provider, name, hidden secret
keys list
keys grant openai --minutes 30 # a scoped token for a script
keys env openai OPENAI_API_KEY -- python run.py
keys spend --week
keys help # every commandDetails: the full guide, agents and MCP, cloud agents and the relay.
Privacy
Everything listens on
127.0.0.1only. The one optional way in from outside is a relay Worker you deploy into your own Cloudflare account, and keys never travel over it.No tool, log, screen or report ever shows a key value. Copy, reveal, env and rotate ask for Touch ID every time.
Keysrs counts only the calls made through its own gateway; it reads no other tool's logs. It never reads
~/.codex/auth.json,~/.grok/auth.json, browser cookies or provider websites.The app sends no analytics or telemetry.
Update checks are one cookieless request to GitHub's release API.
Build from source
make build # signed debug CLI at .build/debug/keys
python3 scripts/build-app.py # Keysrs.app from the release build
swift test # offline; CI's env is in test.ymlSigning setup is in SIGNING.md; .github/workflows/test.yml is
the full list of checks CI runs.
Keysrs was called Keysreallysafe; the repository, the Keychain service and the data folder keep that name so existing installs keep working.
License
MIT. See LICENSE and third-party notices.
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
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Password vault for AI agents with scoped, user-approved access
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA personal MCP server for securely storing and accessing API keys across projects using the macOS Keychain, letting AI assistants and applications retrieve credentials through natural language.25ISC
- AlicenseNot gradedqualityDmaintenanceA secure secrets management server that enables LLMs to execute CLI commands using injected credentials while protecting sensitive data through output redaction and user-approved session permissions. It features an encrypted vault, secret capture from command outputs, and a macOS menu bar app for native notifications and dialogs.MIT
- FlicenseNot gradedqualityDmaintenanceLocal encrypted vault for API keys. LLMs never see your real keys — the server injects them transparently into HTTP requests.-
- AlicenseNot gradedqualityDmaintenanceMCP server that lets AI agents call APIs without ever seeing the credentials, using a local encrypted vault and per-secret allowlist policies for HTTP requests and subprocess environment variables.1AGPL 3.0