Connect an AI tool
Your AI tools will start keypaste’s bridge, keypaste mcp, and ask your vault for one value at a time, which you approve.
Prerequisites
Section titled “Prerequisites”- The
keypastecommand, from the desktop app or the CLI install. - A vault chosen with
keypaste use, or named with--vaultbelow. - One of the tools
setupknows: Claude Code, Codex, Gemini CLI, Devin, VS Code, Cursor or Claude Desktop. For any other tool, see keypaste setup.
1. Preview the changes
Section titled “1. Preview the changes”keypaste setup --dry-runkeypaste mcp /home/you/.local/bin/keypastevault /home/you/vault.kdbxcan see ** (each agent sees what its settings allow: every environment's variables until you change them)run offered; each agent runs nothing until you turn run on in its settings
claude-code claude mcp add --scope user --transport stdio keypaste -- /home/you/.local/bin/keypaste mcp … codex not installed on this machine cursor edit /home/you/.cursor/mcp.json: set mcpServers.keypaste {…}; keeps the original as /home/you/.cursor/mcp.json.keypaste-backupNothing changes. No master password or key file goes into a tool’s configuration.
2. Connect
Section titled “2. Connect”keypaste setupConnect keypaste to these 2 tools? [y/N] y claude-code configured cursor configured; the original is kept as /home/you/.cursor/mcp.json.keypaste-backup; restart Cursor to load itRestart any tool the output names. Running setup again is safe.
3. Hold the vault unlocked
Section titled “3. Hold the vault unlocked”Unlock the vault in the desktop app, or run the approver in a terminal of its own:
keypaste approveWith nothing holding the vault, every request is refused with the command that fixes it.
4. Check it
Section titled “4. Check it”keypaste doctor ✓ vault the chosen vault is a KeePass database ✓ claude-code starts keypaste 1.0.0 from a place upgrades keep ✓ owner keypaste approve holds the vault and answersEach line that needs you ends with the command or step that fixes it.
From the desktop app
Section titled “From the desktop app”In Agents, + (Connect an AI tool…) lists the tools found on this computer. Connect… beside one shows what it changes and, with more than one vault, asks which it can reach: All vaults, including vaults you add later, or Only these. Add it for me writes it. A connected tool has Repair… and Disconnect….
To disconnect
Section titled “To disconnect”keypaste setup --removeOr Disconnect… in Agents. Neither erases what an agent already received; rotate a credential at its provider when that matters.
Next steps
Section titled “Next steps”- Give an AI agent its first key
- Set what each agent gets
- keypaste setup: every option, each tool, configuration by hand and troubleshooting