
How to add an MCP server to Zed
Add MCP servers to Zed, which calls them context servers, from Settings, AI, MCP Servers or the context_servers key in settings.json.
- Local servers
- Yes
- runs stdio servers
- Hosted servers
- Yes
- connects by URL
- Config
- JSON
- how servers are added
- Picks
- 5
- ranked
Open Settings, AI, MCP Servers, click Add Server, and choose Add Local Server or Add Remote Server. Zed writes the entry under context_servers in your settings file, which you can open with the zed: open settings file action. You can also install many servers as Zed extensions. A remote server with no Authorization header gets an OAuth sign-in prompt.
Good for
- Zed users who want the Agent Panel to reach docs, GitHub or a browser
- People who prefer installing a server as a Zed extension
- Developers using external agents who want Zed servers forwarded to them
- Anyone who wants per-tool approval for MCP calls
Install Zed
Zed
- 1
Open Settings, then AI, then MCP Servers (or run the agent: open settings action).
- 2
Click Add Server in the page header.
- 3
Choose Add Local Server or Add Remote Server.
- 4
Check the indicator dot next to the server name: green with "Server is active" means it works.
Zed calls MCP servers context servers. The docs say Zed currently supports MCP's Tools and Prompts features.
From the vendor's docs. Source.
At a glance
- Name for MCP servers
- Context servers
- Add a server
- Settings, AI, MCP Servers, Add Server
- Config key
- context_servers in the settings file
- Open the settings file
- zed: open settings file
- Local server fields
- command, args, env
- Remote server fields
- url, headers
- Sign in (OAuth)
- Prompted when a remote server has no Authorization header
- Protocol features
- Docs: currently supports Tools and Prompts; reloads the tool list on tools/list_changed
- Per-tool rules
- Key format mcp:<server>:<tool_name>
- External agents
- Zed forwards configured servers over ACP
- Status check
- Green dot, "Server is active"
Add an MCP server to Zed
- 1
Open the MCP settings
Go to Settings, AI, MCP Servers, or run the
agent: open settingsaction and select MCP Servers. - 2
Add the server
Click Add Server, then Add Local Server or Add Remote Server. Or install one as an extension: Add Server, Install from Extensions. Zed writes the entry to your settings file.
Uses Context7
- 3
Or edit settings.json
Run
zed: open settings fileand add:{ "context_servers": { "local-mcp-server": { "command": "some-command", "args": ["arg-1"], "env": {} }, "remote-mcp-server": { "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer <token>" } }, "remote-mcp-server-with-oauth": { "url": "https://mcp.example.com/mcp" } } }Leave out the Authorization header if the server uses OAuth. Zed then prompts you to sign in.
- 4
Check it loaded
In Settings, AI, MCP Servers, look at the dot next to the server name. Green with the tooltip "Server is active" means it is running. Other colors explain what is wrong in their tooltip.
- 5
Use it in the Agent Panel
Name the server in your prompt. How reliably tools get called varies by model. To force a server, make an agent profile with only its tools turned on.
PromptUse the context7 server to look up the current docs for this library, then update my code to match.Uses Context7
- 6
Tune tool approval
For the native Zed agent,
agent.tool_permissions.defaultis"confirm"by default (Zed v0.224.0 and above), which prompts before any tool action, including MCP calls. Set a per-tool rule with the keymcp:<server>:<tool_name>, for examplemcp:github:create_issue.
Best MCP servers for Zed
Official servers with an approved PlugWiki page that run in Zed over stdio or HTTP; ordered by GitHub stars, then name. Derived from data we hold.
- 1
Context7OfficialHosted or LocalAPI keyGives Zed current library docs while it writes code.
64,001 GitHub stars - 2
Playwright MCPOfficialLocalLets Zed drive and test your app in a real browser.
38,887 GitHub stars - 3
GitHub MCP ServerOfficialHosted or LocalOAuthPull requests, issues and code search beyond what git can do.
34,115 GitHub stars - 4
sentry-mcpOfficialHosted or LocalOAuthPulls Sentry errors into Zed so it can find the cause.
952 GitHub stars - 5
Notion MCPOfficialHostedOAuthRead and edit specs and notes in Notion through its hosted server.
MCP servers that work in Zed
40 · official first, then servers with a page, then by stars
Scrapling MCP ServerOfficialLocalNo sign-inWeb scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
90.6K GitHub stars
Context7OfficialHosted or LocalAPI keyUp-to-date docs for AI agents
64K GitHub stars
Chrome DevTools MCPOfficialLocalMCP server for Chrome DevTools
54.5K GitHub stars
Playwright MCPOfficialLocalPlaywright MCP server
38.9K GitHub stars
GitHub MCP ServerOfficialHosted or LocalOAuthGitHub's official MCP server. Lets an AI assistant read code, manage issues and pull requests, check Actions runs and security alerts. Hosted at api.githubcopilot.com/mcp or run locally with Docker or a Go binary.
34.1K GitHub stars
OpenWork MCP GatewayOfficialHostedOAuthYour OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
24.3K GitHub stars
MCP Toolbox for DatabasesOfficialLocaltoken in envMCP Toolbox for Databases enables your agent to connect to your database.
16.8K GitHub stars
apify-mcp-serverOfficialHosted or LocalOAuthExtract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
14K GitHub stars
SeleniumBase MCPOfficialLocalNo sign-inStealthy browser automation, testing, and web-scraping via CDP Mode.
13.2K GitHub stars
AutoClipOfficialLocalNo sign-inClip long videos into short clips with covers and captions. Local CLI and MCP.
9.9K GitHub stars
Firecrawl MCP ServerOfficialHosted or LocalAPI keyFirecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.
7.7K GitHub stars
firecrawl-mcp-serverOfficialLocalAPI keyOfficial Firecrawl MCP server, the context API for AI agents: search, scrape, and interact with the web, plus parse, crawl, map, Agent and Monitor, from any MCP client.
7.7K GitHub stars
MobileBuildMCPOfficialLocalBuild, run and test iOS and macOS apps, drive the simulator and debug with LLDB from your AI assistant. Formerly XcodeBuildMCP.
6.5K GitHub stars
magic-mcpOfficialLocalAPI keyIt's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp
6.3K GitHub stars- Excalidraw MCPOfficialHosted or LocalNo sign-in
Official Excalidraw MCP App server: streams hand-drawn diagrams into the chat with interactive fullscreen editing. Hosted or local.
5.6K GitHub stars
Exa MCP ServerOfficialHosted or LocalOAuthConnect AI agents to Exa for web search, content fetching, and multi-step research.
5.2K GitHub stars
notion-mcp-serverOfficialLocaltoken in envOfficial Notion MCP Server
4.7K GitHub stars
mcp-grafanaOfficialHosted or LocalAn MCP server giving access to Grafana dashboards, data and more.
3.6K GitHub stars- Google Analytics MCP ServerOfficialLocaltoken in env
Google's official Google Analytics MCP server: runs locally and queries GA4 reports and property settings with your Google credentials. Read-only unless you add the --allow-write flag.
3.6K GitHub stars
SupabaseOfficialHosted or LocalOAuthMCP server for interacting with the Supabase platform
3K GitHub stars
Show all 40Show fewer
brightdata-mcpOfficialLocaltoken in envA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
2.7K GitHub stars
Perplexity MCP ServerOfficialHosted or LocalOAuthConnector for Perplexity API, to enable real-time, web-wide research.
2.6K GitHub stars
tavily-mcpOfficialLocalProduction ready MCP server with real-time search, extract, map & crawl.
2.5K GitHub stars
Solana MCP by VybeOfficialHostedOAuthSolana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.
2.2K GitHub stars
Azure DevOps (ADO)OfficialHostedOAuthThe MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
2.1K GitHub stars
Azure DevOps Local MCP ServerOfficialLocalOAuthThe MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
2.1K GitHub stars
anysearch-mcp-serverOfficialHostedAPI keyUnified real-time search MCP server supporting general web search, vertical domain search, parallel batch search, and full-page URL content extraction.
2.1K GitHub stars
Microsoft Learn MCPOfficialHostedNo sign-inOfficial Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
2K GitHub stars- WordPress MCP AdapterOfficialLocal
The official WordPress plugin that turns a self-hosted site into an MCP server, exposing Abilities API actions from core, plugins and themes over STDIO (WP-CLI) or HTTP.
1.9K GitHub stars
MeiGen-AI-Design-MCPOfficialHosted or LocalOAuthDiscover inspiration and create images and videos with the latest AI models. Works with ChatGPT, Claude, Cursor, and other MCP clients.
1.8K GitHub stars
MATLAB MCP ServerOfficialLocalNo sign-inConnect AI coding agents to MATLAB. Run code, tests, and analysis via MCP.
1.7K GitHub stars
datagouv-mcpOfficialHostedNo sign-inOfficial data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
1.6K GitHub stars
MiniMax-MCPOfficialLocalAPI keyOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
1.6K GitHub stars
mcp-server-qdrantOfficialLocalAPI keyAn official Qdrant Model Context Protocol (MCP) server implementation
1.6K GitHub stars
TerraformOfficialHosted or LocalAPI keyGenerate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
1.6K GitHub stars
@brave/brave-search-mcp-serverOfficialLocalBrave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
1.5K GitHub stars
IDA MCPOfficialLocalNo sign-inOfficial Hex-Rays MCP server that lets AI agents open, decompile and annotate binaries in IDA, alongside you in the IDA GUI or headless.
1.5K GitHub stars- X MCP (X API)OfficialHosted or LocalOAuth
X's hosted MCP server for the X API at api.x.com/mcp: AI clients search posts, read users, trends and news, manage bookmarks and publish Articles through your X developer app, directly or via the xurl mcp bridge.
1.4K GitHub stars
Power BI Authoring MCP Server (Local)OfficialLocalOAuthThe Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
1.3K GitHub stars
ref-tools-mcpOfficialLocalAPI keyToken efficient search for coding agents over public and private documentation.
1.2K GitHub stars
Common errors and fixes
The status dot is not green
Cause: The server is not running. The tooltip says what is happening.
Fix: Read the tooltip, then check the command, args and env, or the URL and headers.
zed Source
A server needs more setup after install
Cause: Most servers require configuration, such as a Personal Access Token for the GitHub extension.
Fix: Follow the modal Zed shows after install, or the provider's docs for custom servers.
zed Source
The model does not call the server's tools
Cause: How reliably MCP tools get called varies from model to model.
Fix: Mention the server by name, or create an agent profile that turns off built-in tools and turns on only the server's tools.
zed Source
No OAuth sign-in prompt for a remote server
Cause: The entry has an Authorization header, so Zed does not start the OAuth flow.
Fix: Remove the Authorization header from the entry.
zed Source
An error from the server shows in the agent's answer
Cause: Zed passes the server's error message to the agent: bad parameters, server-side failures or unsupported operations.
Fix: Read the message and check the server's logs or docs for that error code.
zed Source
Verdict
Zed makes MCP setup simple with a settings page, extensions and OAuth, and its native agent asks before each tool call by default. The docs list Tools and Prompts as the supported MCP features, so check that your server needs nothing else.
Zed makes MCP setup simple with a settings page, extensions and OAuth, and its native agent asks before each tool call by default. The docs list Tools and Prompts as the supported MCP features, so check that your server needs nothing else.
Best for
- Zed users who want one-click servers from extensions
- People who want per-tool permission rules for MCP calls
Skip it if
- You need Sampling, Elicitation or Discovery; the docs name them as areas where contributions are welcome
Questions
What does Zed call MCP servers?
Context servers. They live under the context_servers key in your Zed settings file.
Where is the Zed MCP config?
In your settings file. Open it with the zed: open settings file action. The MCP page does not state a path; the configuring-zed page shows ~/.config/zed/settings.json in an example.
Does Zed support remote (HTTP) MCP servers?
Yes. Choose Add Remote Server or add an entry with a url and optional headers.
Does Zed support OAuth for MCP servers?
Yes. If a remote entry has no Authorization header, Zed prompts you to sign in with the standard MCP OAuth flow.
Which MCP features does Zed support?
The docs say Zed currently supports MCP's Tools and Prompts features. Zed also reloads the tool list on its own when a server sends a notifications/tools/list_changed notification.
How do I know an MCP server works in Zed?
Open Settings, AI, MCP Servers and look at the dot next to the server. Green with "Server is active" means it is running.
Does Zed ask before running MCP tools?
Yes, by default. agent.tool_permissions.default is "confirm" for the Zed agent. Set it to "allow" to skip prompts or add per-tool rules.
Do external agents in Zed get my MCP servers?
Yes. Zed can forward configured servers to external agents over ACP, and those agents can also read their own native MCP config.
Can I install an MCP server as a Zed extension?
Yes. Run zed: extensions, or use Add Server, Install from Extensions. Many servers, including Context7 and GitHub, are available this way.
Information
updated Nov 2, 2026
- Transports
- stdio, Streamable HTTP
- Config file (all)
~/.config/zed/settings.json (context_servers)- MCP docs
- zed.dev
Sources
Docs, issue trackers and discussions this page is built from.
Show all 3Hide
- Model Context Protocol · zed.dev
- Installing Zed · zed.dev
- Configuring Zed · zed.dev