Keyfold vs keygrant
Keyfold is a paid MCP server for security. keygrant is an open-source MCP server for security.
- keygrant is open source, while Keyfold is paid.
- Keyfold is best for let cursor or claude code run a deploy command with production keys without pasting them into chat.
- keygrant is best for let an agent call an api without its key entering context.
- What it is
- Keyfold is a paid MCP server for security.keygrant is an open-source MCP server for security.
- Best for
- Let Cursor or Claude Code run a deploy command with production keys without pasting them into chatLet an agent call an API without its key entering context
- Kind
- MCP serverMCP server
- Pricing
- PaidOpen source
- Platforms
- macOS, CLICLI, macOS, Windows, Linux
- Runs
- LocallyLocally
- Open source
- Good for
- Let Cursor or Claude Code run a deploy command with production keys without pasting them into chat; Generate a .env file for a project from a local vault after approving it; Import an existing .env file into a vault from inside an agent sessionLet an agent call an API without its key entering context; Approve each deploy command individually; Reduce the damage of a prompt-injected agent
What Keyfold does
No secret values returned
The README says none of the seven tools hands a secret value back to the model.
Per-request approval
Each request waits for a click in the Keyfold app, which shows the command or file involved.
Command injection of keys
Runs an approved command with the needed keys injected into its environment.
Writes .env files
Creates a .env file you approve rather than exposing the keys in chat.
Encrypted single-file vault
Keys live in one file sealed with XChaCha20-Poly1305 under an Argon2id-derived key.
Project and environment layout
Keys are organised by project and environment, with notes, tags and expiry dates.
What keygrant does
Names for the model, values for the process
Secrets are injected into the child process only.
Per-command approval
A native dialog shows the full command; timeout denies.
Forced output redaction
Output is scrubbed of secrets and common encodings.
OS-native storage
Keychain, DPAPI or Secret Service rather than a dotfile.
No store tool
The agent cannot write secrets through chat.
Project wiring
keygrant init adds the MCP entry and CLAUDE.md guidance.
Keyfold vs keygrant: questions
Is Keyfold or keygrant cheaper?
keygrant is the cheaper option: it is open source.
What is the difference between Keyfold and keygrant?
Keyfold is a paid MCP server for security. keygrant is an open-source MCP server for security. keygrant is open source, while Keyfold is paid.