AgentDomains MCP for Zed Editor
Add AgentDomains as a Zed context_server in settings.json. Let Zed claim domains and proxy backends.
MCP tool flow: Zed Editor sends JSON-RPC calls to mcp.agentdomains.co and receives a live HTTPS domain.
Add Config
Open ~/.config/zed/settings.json (context_servers) and paste the snippet below.
Reload Tools
Refresh MCP tools in Zed Editor. Confirm 20 AgentDomains tools appear.
Run Prompt
Paste the test prompt below to check, claim, and route a live domain.
~/.config/zed/settings.json (context_servers)
1. Install & Configure Zed Editor
Choose hosted Streamable HTTP for zero local setup, or pick local stdio to reuse your Go CLI config.
{
"context_servers": {
"agentdomains": {
"command": {
"path": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.agentdomains.co",
"--header",
"Authorization: Bearer adom_YOUR_KEY"
],
"env": {}
}
}
}
}
{
"context_servers": {
"agentdomains": {
"command": {
"path": "npx",
"args": [
"-y",
"agentdomains-mcp"
],
"env": {
"AGENTDOMAINS_API_KEY": "adom_YOUR_KEY"
}
}
}
}
}
2. Tested First Prompt
Reload MCP tools in Zed Editor. Run this prompt to check a name, claim it, and set routing.
Check if zed-preview is free on agentdomains.co, claim it, and point an A record to my Hetzner VPS.
3. Zed Editor Setup Notes
- Zed calls MCP servers "context_servers" inside ~/.config/zed/settings.json.
- In Zed Agent Panel, make sure the active profile (e.g. Write) has the agentdomains context server enabled.
- If Zed cannot find npx on macOS, supply the full binary path under command.path.
4. Available MCP Tools (20 total)
Zed Editor gets all 20 tools across account auth, domain claims, DNS records, and edge routing.
Account & Auth 5 tools
Domains & Stats 6 tools
DNS & ACME 4 tools
Edge Proxy & Forward 5 tools
Frequently asked questions
Does Zed Editor work with Streamable HTTP or stdio?
Zed Editor supports stdio (native) & HTTP bridge. Pick hosted Streamable HTTP when available for zero local Node setup, or run npx -y agentdomains-mcp for stdio.
Where does Zed Editor store its MCP config?
Store it in ~/.config/zed/settings.json (context_servers). Keep your adom_ API key in an env var and never commit it to Git.
How much does it cost to claim domains from Zed Editor?
Start with a 30-day free trial for 10 names with no card. Pro costs $10/yr or $1/mo for up to 100 names.
Related MCP Clients
Cursor MCP Setup
Add AgentDomains to Cursor via deeplink, Streamable HTTP, or stdio. Claim domains and set HTTPS proxies in Agent Mode.
CLI Coding AgentClaude Code MCP Setup
Connect Claude Code via Streamable HTTP or stdio. Claim hostnames, write DNS records, and wire HTTPS proxies from your terminal.
Open-Source Terminal AgentOpenCode MCP Setup
Connect OpenCode to AgentDomains using opencode.json remote Streamable HTTP or local stdio configuration with env interpolation.
AI Code EditorWindsurf (Cascade) MCP Setup
Connect Windsurf Cascade using serverUrl Streamable HTTP or stdio. Claim subdomains and publish live HTTPS previews.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.