Prerequisites
- Zed editor — zed.dev
- Node.js 18+
- Agent MCP Studio at agentmcp.studio
Step-by-Step Setup
Get your relay URL
Open the studio → Settings → MCP Relay Bridge → copy URL → click Connect.
Download bridge.js
curl -O https://agentmcp.studio/bridge.js && npm install ws
-
Edit Zed's settings.json
In Zed: Cmd+, → Open settings.json. Add the
context_serverskey:{ "context_servers": { "agent-mcp-studio": { "command": { "path": "node", "args": [ "/path/to/bridge.js", "wss://agentmcp.studio/api/relay/YOUR-UUID" ] }, "settings": {} } } } Use tools in Zed's AI assistant
Open the AI panel (Cmd+?), type
/to see available context servers and tools, or let the assistant call them automatically when relevant to your coding task.
Frequently Asked Questions
Yes — Zed supports MCP via its "context servers" system. Add your MCP server to context_servers in Zed's settings.json and Zed's AI assistant gains access to your custom tools.
Open Zed → Preferences → Open Settings (or Cmd+Comma). Add a context_servers section to your settings.json. Each entry specifies the command and arguments to launch the MCP server.
Zed is a high-performance collaborative code editor built in Rust, known for its speed and native AI integration. Its context server system (based on MCP) lets you extend the AI assistant with custom data sources and tools.
Yes — Zed supports multiple AI backends including Anthropic Claude, OpenAI, and local models via Ollama. MCP context servers work regardless of which AI model you configure in Zed.
Check: (1) settings.json syntax is valid JSON, (2) full absolute path to bridge.js is correct, (3) Node.js is accessible from Zed's environment (check with which node), (4) relay UUID matches Agent MCP Studio Settings.