Skip to content

Commit 620af9a

Browse files
jasikparksarah11918JusticeMatthewanaxiteyanthomasdev
authored
Add basic guide for MCP with Zed editor (#12035)
Co-authored-by: Sarah Rainsberger <[email protected]> Co-authored-by: JusticeMatthew <[email protected]> Co-authored-by: anaxite <[email protected]> Co-authored-by: yanthomasdev <[email protected]>
1 parent 3741fd2 commit 620af9a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/content/docs/en/guides/build-with-ai.mdx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,34 @@ Windsurf doesn't support streaming HTTP, so it requires a local proxy configurat
147147

148148
[More info on using MCP servers with Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp#mcp-config-json)
149149

150+
151+
#### Zed
152+
153+
[Zed](https://zed.dev) supports MCP servers when using its AI capabilities. It can use the Astro Docs MCP server to access documentation while performing coding tasks.
154+
155+
Zed doesn't support streaming HTTP, so it requires a local proxy configuration:
156+
157+
<Steps>
158+
159+
1. Open `~/.config/zed/settings.json` in your editor.
160+
2. Add the following configuration to your Zed MCP settings:
161+
162+
```json title="MCP Configuration" {3-6}
163+
{
164+
"context_servers": {
165+
"Astro docs": {
166+
"command": "npx",
167+
"args": ["-y", "mcp-remote", "https://mcp.docs.astro.build/mcp"]
168+
}
169+
}
170+
}
171+
```
172+
3. Save the configuration.
173+
174+
</Steps>
175+
176+
[More info on using MCP servers with Zed](https://zed.dev/docs/ai/mcp)
177+
150178
#### ChatGPT
151179

152180
:::caution[Limited availability]

0 commit comments

Comments
 (0)