Connect Zed to Agent Master Key
Agent Master Key (AMK) gives Zed its own scoped, revocable key while your real provider keys stay in an encrypted vault on your Mac. AMK connects Zed as a paste-in connect harness.
How it works
- Download Agent Master Key and connect a provider (your key never leaves the Mac).
- Open Connect an agent and pick Zed. AMK creates a scoped agent key and renders a paste-in snippet — paste-only configs are never rewritten.
- Add the snippet under context_servers in Zed settings, then check Settings → AI → MCP Servers for a green indicator.
Config file
~/.config/zed/settings.json
The entry points at AMK's local launcher only — it never contains your provider keys or an agent key. Revoke Zed's access anytime from the AMK dashboard; revocation takes effect immediately and does not touch your other agents.
More: Getting started · Trust & custody · Compare
Agent Master Key