Connect an AI tool
Let an AI tool such as Claude Code, Codex or Cursor ask keypaste for a key, and decide each time whether it gets it.
Before you start:
- keypaste open, with your vault unlocked.
- The AI tool installed on this computer.
Connect it
Section titled “Connect it”- Click Agents at the left of keypaste’s window, then click + (Connect an AI tool…).
- Under Found on this computer, click Connect… beside your tool.
- keypaste says what it will change in the tool. If you have more than one vault, choose which ones it can reach: All vaults, which includes vaults you add later, or Only these, and tick them.
- Click Add it for me.
- If keypaste says to restart the tool, quit it and open it again.

To change which vaults a connected tool reaches, choose it in Agents, click Change… beside Vaults, choose again and click Save.
Answer its first request
Section titled “Answer its first request”- Leave keypaste running with your vault unlocked, and ask your AI tool to do something that needs a key.
- keypaste shows which tool is asking, for which item, and the reason the tool gave.
- Click Deny to send nothing, Allow once to send this one value, or Always allow to keep sending that field to that tool without asking.
An Always allow lasts until you remove it from the tool’s page in Agents. Agents › Activity lists every request and its answer, never the value.

If it doesn’t work
Section titled “If it doesn’t work”- Your tool isn’t listed. Click Copy setup prompt and paste it into your AI tool, which shows you how it would connect. Or open Set it up by hand and add what it shows to your tool’s settings.
- The tool says keypaste is locked or not running. Every request is refused while your vault is locked. Unlock it in keypaste and ask again.
- The tool doesn’t see keypaste. Restart the tool, then start a new conversation in it.