context_servers key in your settings. Tools are used from the Agent panel when a compatible model is selected.
Zed’s MCP format evolves between releases. For the authoritative schema, see Model Context Protocol in the Zed documentation.
Setup
Open Zed settings
Run zed: open settings from the command palette, or edit your user
settings.json (for example ~/.config/zed/settings.json on Linux, or the path shown in Zed’s settings UI on macOS and Windows).Add OpenCX under context_servers
Add an Replace
opencx entry (merge with any existing context_servers object):your-api-key-here with your OpenCX API key.Project-level config
You can also define MCP servers in.zed/settings.json inside a project so the team shares the same server list. Do not commit real API keys; document how each developer sets OPENCX_API_KEY locally.
Tool approval
Zed may prompt before running MCP tools. Adjust tool permissions in Zed settings if you want stricter or more permissive defaults for trusted servers.Related Documentation
Get Started
API key setup and all client configs
Cursor
Another editor-native MCP workflow
Prompt Library
Ready-to-use prompts by domain
Troubleshooting
Common issues and fixes