Zed

View as MarkdownOpen in Claude

Give Zed’s AI assistant real-time web search, content extraction, and citation-backed research through the You.com MCP Server.

Quick setup

1

Open Zed settings

Press ⌘ , (macOS) or Ctrl , (Linux) to open settings.json. Add the You.com server under context_servers:

1{
2 "context_servers": {
3 "you-com": {
4 "source": "custom",
5 "url": "https://api.you.com/mcp?profile=free"
6 }
7 }
8}

Zed gotcha: Zed calls MCP servers context servers in its settings schema. The key is context_servers, not mcpServers or mcp.servers. Also: no "type": "http" field — Zed infers transport from the presence of url vs command.

This uses our free tier: 100 web searches per day, no signup.

2

Reload Zed

Zed picks up MCP config changes on save, but a restart (⌘ Q then reopen) is more reliable.

3

Verify the tools are available

Open the assistant panel (⌘ ?) and check the tools menu. you-com should appear with you-search available.

Higher rate limits + full toolset

For unlimited queries plus you-contents and you-research:

1{
2 "context_servers": {
3 "you-com": {
4 "source": "custom",
5 "url": "https://api.you.com/mcp",
6 "headers": {
7 "Authorization": "Bearer <YDC_API_KEY>"
8 }
9 }
10 }
11}

Get a key at you.com/platform.

Local install (stdio)

For offline development:

1{
2 "context_servers": {
3 "you-com": {
4 "source": "custom",
5 "command": {
6 "path": "npx",
7 "args": ["-y", "@youdotcom-oss/mcp"],
8 "env": {
9 "YDC_API_KEY": "<YDC_API_KEY>"
10 }
11 }
12 }
13 }
14}

Zed gotcha: for stdio servers, command is an object with path, args, and env fields — not a string. This is different from Claude Desktop’s format.

Omit YDC_API_KEY for free-tier behavior.

Quick demo

Search for the latest Zed editor release notes and tell me what's new.
Research which Rust-based code editors support MCP in 2026, with citations.

Troubleshooting

Confirm the key is context_servers and you didn’t add a "type" field. Zed’s schema is stricter than most clients.

For local installs, Zed’s command is an object with path, args, and env, not a string. This is a common copy-paste mistake from other clients’ configs.

Zed’s AI assistant requires you to enable tools explicitly in the panel UI. Click the tools dropdown and tick You.com’s tools.

Verify Authorization header is exactly Bearer YDC-... with one space.

Resources