Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Document `context_servers` setting (#30570)
Bennet Bo Fenner8e39281699e8
diff --git a/docs/src/ai/mcp.md b/docs/src/ai/mcp.mdindex 6d6f0e2079a..a685d36ea60 100644--- a/docs/src/ai/mcp.md+++ b/docs/src/ai/mcp.md@@ -21,8 +21,25 @@ Want to try it for yourself? Here are some MCP servers available as Zed extensioBrowse all available MCP extensions either on [Zed's website](https://zed.dev/extensions?filter=context-servers) or directly in Zed via the `zed: extensions` action in the Command Palette.+If there's an existing MCP server you'd like to bring to Zed, check out the [context server extension docs](../extensions/context-servers.md) for how to make it available as an extension.+## Bring your own context server-If there's an existing MCP server you'd like to bring to Zed, check out the [context server extension docs](../extensions/context-servers.md) for how to make it available as an extension.+You can bring your own context server by adding something like this to your settings:++```json+{+ "context_servers": {+ "some-context-server": {+ "command": {+ "path": "some-command",+ "args": ["arg-1", "arg-2"],+ "env": {}+ }+ "settings": {}+ }+ }+}+```If you are interested in building your own MCP server, check out the [Model Context Protocol docs](https://modelcontextprotocol.io/introduction#get-started-with-mcp) to get started.