Skip to content

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.

  • The keypaste command, from the desktop app or the CLI install.
  • A vault chosen with keypaste use, or named with --vault below.
  • One of the tools setup knows: Claude Code, Codex, Gemini CLI, Devin, VS Code, Cursor or Claude Desktop. For any other tool, see keypaste setup.
Terminal window
keypaste setup --dry-run
keypaste mcp /home/you/.local/bin/keypaste
vault /home/you/vault.kdbx
can 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-backup

Nothing changes. No master password or key file goes into a tool’s configuration.

Terminal window
keypaste setup
Connect 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 it

Restart any tool the output names. Running setup again is safe.

Unlock the vault in the desktop app, or run the approver in a terminal of its own:

Terminal window
keypaste approve

With nothing holding the vault, every request is refused with the command that fixes it.

Terminal window
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 answers

Each line that needs you ends with the command or step that fixes it.

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….

Terminal window
keypaste setup --remove

Or Disconnect… in Agents. Neither erases what an agent already received; rotate a credential at its provider when that matters.