Zed connects to Zephex through `context_servers` in `settings.json`. Use the custom source entry below instead of the older remote URL-only config.
OVERVIEW
Zed is a high-performance editor built in Rust. For Zephex, the reliable setup is a `context_servers` entry that launches `npx -y zephex` and passes your `ZEPHEX_API_KEY` in the env block.
CONFIG FILE LOCATION
~/.config/zed/settings.json. This is Zed's global settings file. MCP servers go under the `context_servers` key.
Add the `context_servers` block shown below inside your existing `settings.json`. Merge it with your current settings instead of replacing the whole file.
Replace `mcp_sk_your_key_here` with your real Zephex API key before saving.
{ "context_servers": { "zephex": { "source": "custom", "command": "npx", "args": ["-y", "zephex"], "env": { "ZEPHEX_API_KEY": "mcp_sk_your_key_here" } } }}Confirm the server from Zed's Assistant settings before you rely on it in prompts.
Check that the entry uses `source: custom`, `command: npx`, and `args: ["-y", "zephex"]` exactly as shown.
If your `settings.json` already has a `context_servers` key, add the `zephex` entry inside it instead of creating a second `context_servers` block.
Install Node.js so Zed can launch `npx`, or use absolute paths if your shell environment is not inherited correctly.
If the editor still does not connect, return to Quickstart or check Connection Issues.