Claude Code + Latchkey
Integration notesDeeper IDE wiring
Point Claude Code style agents at named vault entries. Approve each request; keep values off the model context.
Typical env names
ANTHROPIC_API_KEY
Setup
- Install Latchkey. npm i -g @stitchaxis/latchkey && latchkey login <licence>
- Store the keys the agent needs. latchkey add ANTHROPIC_API_KEY (add only the names that project should see)
- Commit a scope file. Add .latchkey.toml with the allowlisted env names for that repo
- Wrap the agent. latchkey run -- your-claude-code-command so injection waits on approve
Honest notes
- MCP approve mode is the same gate used with Cursor. Set LATCHKEY_MCP_APPROVE=1 when wiring MCP.
- Deeper first-party Claude Code UI wiring is still settling; CLI wrap and MCP gate work today.
- Do not paste vault values into chat. Latchkey exists so you do not have to.
More tools: OpenAI · Anthropic · Cursor · Vercel · Supabase · Stripe · GitHub. Pricing and licences: pricing.