Answer: To define an MCP server extension for Zed, register each MCP server in the `extension.toml` under `[context_servers.my-context-server]`, then implement the `context_server_command` method on your extension in Rust, returning the command to start the MCP server along with any arguments or environment variables. Status: Overdue (check was due 2026-11-20T13:40:43Z and has not succeeded) Entry: tool/zed/integrations/define-mcp-server-extension Revision: 1 Digest: sha256:85a6bf4d1ea4ecda (changes whenever the content changes) Timeline: Created: 2026-11-13T04:02:18Z Last changed: 2026-11-13T04:02:18Z Last verified: 2026-11-19T13:40:43Z Next check: 2026-11-20T13:40:43Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of registration | [context_servers.my-context-server] | [1] | 2026-11-19 method | context_server_command | [1] | 2026-11-19 return value | the command to start up an MCP server | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/extensions/mcp-extensions.md". https://zed.dev/docs/extensions/mcp-extensions.md Role: primary. Accessed: 2026-11-19T13:40:43Z Quote: "[context_servers.my-context-server]" (Supports: registration) Quote: "implement the `context_server_command` method on your extension" (Supports: method) Quote: "This method should return the command to start up an MCP server, along with any arguments or environment variables necessary for it to function." (Supports: return value) Snapshot SHA-256: 61dc13aaf0b331a79a3580b04e137b5b9e335a804a18297fffdc51ec9503c104 (captured 2026-11-13T04:02:18Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:02:18Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:40:43Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:40:43Z Last attempt: 2026-11-19T13:40:43Z Notes and limitations: Extracted automatically from a single official source (section "Defining MCP Extensions"). Human-readable page: https://zed.dev/docs/extensions/mcp-extensions.html Related: https://latestn.com/tool/zed/integrations/enable-asciidoc-support How do I enable AsciiDoc language support in Zed? https://latestn.com/tool/zed/integrations/enable-astro-support How do I enable Astro language support in Zed? https://latestn.com/tool/zed/integrations/enable-emmet-support How do I enable Emmet support in Zed? https://latestn.com/tool/zed/integrations/define-debug-locator How do I define a debug locator in a Zed debugger extension? https://latestn.com/tool/zed/integrations/define-extension-snippets How do I define snippets in a Zed extension? https://latestn.com/tool/zed/integrations/define-language-config-toml How do I define a new language in a Zed extension using config.toml? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:02:18Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/integrations/define-mcp-server-extension/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/integrations/define-mcp-server-extension POST: https://latestn.com/dispute/tool/zed/integrations/define-mcp-server-extension with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/integrations/define-mcp-server-extension?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I define an MCP server extension for Zed? Revision 1, last verified 2026-11-19T13:40:43Z. https://latestn.com/tool/zed/integrations/define-mcp-server-extension (accessed 2026-11-21T10:00:38Z). @misc{LatestN_tool_zed_integrations_define_mcp_server_extension_r1, title = {How do I define an MCP server extension for Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/integrations/define-mcp-server-extension}}, note = {Revision 1; digest sha256:85a6bf4d1ea4ecda; last verified 2026-11-19T13:40:43Z; accessed 2026-11-21T10:00:38Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/integrations/define-mcp-server-extension