Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Document MCP HTTP OAuth support (#52240)

Tom Houlé951cf0c40903
diff --git a/docs/src/ai/mcp.md b/docs/src/ai/mcp.md
index 08608a9871b..cba02eab4da 100644
--- a/docs/src/ai/mcp.md
+++ b/docs/src/ai/mcp.md
@@ -56,6 +56,9 @@ You can connect them by adding their commands directly to your settings file ([h
"remote-mcp-server": {
"url": "custom",
"headers": { "Authorization": "Bearer <token>" }
+ },
+ "remote-mcp-server-with-oauth": {
+ "url": "https://mcp.example.com/mcp"
}
}
}
@@ -64,6 +67,8 @@ You can connect them by adding their commands directly to your settings file ([h
Alternatively, you can also add a custom server by accessing the Agent Panel's Settings view (also accessible via the `agent: open settings` action).
From there, you can add it through the modal that appears when you click the "Add Custom Server" button.
+> Note: When a remote MCP server has no configured `"Authorization"` header, Zed will prompt you to authenticate yourself against the MCP server using the standard MCP OAuth flow.
+
## Using MCP Servers
### Configuration Check