keypaste README

The project's README from github.com/notinferred/keypaste. As one markdown file: README.md.

keypaste

AI agents get your secrets only when you say yes.

keypaste keeps your passwords, API keys and project values in a KeePass file on your computer, with no account. When an AI agent such as Claude Code needs a secret, it asks for that one value, and you allow or deny it. Every request is logged, and KeePassXC opens the same file.

An agent's request: claude-code asks for STRIPE_SECRET_KEY, with its reason quoted and the choices Deny, Always allow and Allow once.
The desktop app

Why keypaste

Install

keypaste 1.0 is out for macOS, Windows and Linux: download the desktop app, which includes the keypaste command. The command-line tool on its own: install it. Browser extension: Chrome, Edge, Firefox.

Start

keypaste init ~/vault.kdbx
keypaste setup --vault ~/vault.kdbx
keypaste agent --vault ~/vault.kdbx

Create a vault, connect your AI tools, then answer their requests in this terminal.

Docs

Guides · Features · Security · Contributing · keypaste.com

Report security problems privately to [email protected].

AGPL-3.0

keypaste (notinferred/keypaste)

local-first
Searching Database…

What is this?keypaste is a KeePass-compatible password and secrets manager built for people who work with AI agents: it keeps logins and project secrets in one local vault and only hands a secret to an agent when you explicitly approve it.
Is this a CLI, an MCP server, or a desktop app?Right now it is published as a CLI plus an MCP bridge (keypaste-mcp) that forwards agent requests without holding the vault itself; a full desktop app exists in source but has no public release yet.
How do I install and set it up?Download the release archive and checksum for your OS, verify the hash, extract it, and put the binaries on your PATH; then run the setup command to wire it into your MCP client (or build from source with the pinned .NET SDK).
Do I need KeePassXC or a .NET runtime to use it?No runtime is needed for the prebuilt binaries since they are native executables; KeePassXC is only needed if you want to open or edit the same vault with another app, and the .NET SDK is only required if you build from source.
What should I know before relying on it?It is pre-1.0 (CLI/MCP v0.3.0) and several features described in the README, like the desktop app, passphrase generator, share links, and recycle-bin-safe delete, only exist in source for the next release. Older published versions (v0.1.0, v0.2.0) had real bugs around concurrent saves and wrong-entry deletion that are fixed only going forward.
Which platforms are actually supported right now?Prebuilt binaries cover Apple Silicon macOS 14+, Linux x64/arm64 (glibc), and Windows 10 1809+ x64; Intel Macs, Alpine/musl Linux, and Windows on ARM have no published binary and require building from source.
Where does my vault data actually live?Everything stays in a single KDBX 4 file on your own disk, with no account and no network involved; secrets only leave the vault when you approve a specific agent request.
How does an AI agent actually get a secret?An agent asks over MCP for one specific field of one entry and states its reason; you answer Deny, Allow once, or Allow for 1 hour, and every request is written to a hash-chained audit log.
Can agents run shell commands with my secrets?Only in inject-only mode: keypaste run puts values into a command's environment (nothing touches disk), and with --allow-run an agent can run a command you've approved and get back its output with secret values redacted.
How are a project's environment variables organized?Each project gets one set of keys with separate values for dev, staging and prod (prod always needs a live approval), and a committable .env.keypaste file holds kp:// references instead of real values.
What does the built-in password generator offer?It can produce shell-safe passwords from 8 to 256 characters out of an 85-character alphabet, with options to drop symbols or lookalike characters; a passphrase mode (--words, EFF word list) is written in source but not yet in the published release.
What are similar projects?infisical, PaperPilot, pdfcraft, ente, keepassxc, leviathan, server, xerj
Size
23.8 MB
Stars
448
Updated
CommitNov 18
Age
2mo
Commits · 90 Days