Cara menambahkan MCP server ke Zed
Zed is a fast code editor with a built-in AI agent. MCP servers are called context servers in Zed and are added from Settings → AI → MCP Servers or in settings.json.
Tambahkan MCP server ke Zed
- 1Run
zed: open settings file, or use Settings → AI → MCP Servers → Add Server. - 2Paste the server under
context_servers. - 3Remote servers take
url; without an Authorization header Zed runs the MCP OAuth flow.
Contoh: Codebase Memory
{
"context_servers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Context servers and tool permissions
- Zed calls MCP servers context servers and keeps them under
context_serversin settings. - Permissions can be set per tool with keys like
mcp:<server>:<tool>: confirm, allow or deny. - A server that changes its tool list is picked up without restarting Zed.
- A remote server without an Authorization header triggers the standard MCP OAuth sign-in.
Lokasi MCP server di Zed
settings.jsonzed: open settings file
Cek apakah sudah dimuat: Agent panel → server status
Batasan dan pengaturan
- The config key is
context_servers, notmcpServers. - Zed supports MCP tools and prompts.
- Tool permissions default to confirm; set
agent.tool_permissionsper tool with keys likemcp:<server>:<tool>. - Servers can update their tool list without a restart.
Saat server tidak berjalan di Zed
- A green dot next to the server name means it is active.
- Check the server's own logs or docs for the error details.
- Naming the server in your prompt helps the model pick its tools.
Pertanyaan seputar MCP di Zed
How do I add an MCP server to Zed?
Open Settings → AI → MCP Servers → Add Server, or add an entry under context_servers in your settings file.
Does Zed support remote MCP servers?
Yes. A remote server takes a url, and Zed starts the OAuth flow if no Authorization header is set.
Why is the key context_servers?
That is Zed's name for MCP servers in its settings; the entries work the same way.
Can I allow a tool without confirming each time?
Yes, with agent.tool_permissions set to allow for that tool.
MCP server populer untuk Zed
- 1
Provides a local knowledge graph that connects source code, documentation, and infrastructure to give AI agents structural context.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "codebase-memory-mcp": { "command": "npx", "args": [ "-y", "codebase-memory-mcp" ] } } } - 2
Securely execute LLM-generated code in isolated containers or local Linux and Windows sandboxes across multiple programming languages.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "llm-sandbox": { "command": "uvx", "args": [ "llm-sandbox" ] } } } - 3
Lets an AI client create, inspect, validate, and save editable 3D building scenes, including walls, rooms, doors, and furnishings.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "editor": { "command": "npx", "args": [ "-y", "@pascal-app/mcp" ] } } } - 4
Lets AI agents search, run, and read results from thousands of web scraping and automation Actors on Apify Store.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "apify-mcp-server": { "url": "https://mcp.apify.com/" } } } - 5
Provides AST-based semantic code search for local repositories using incremental re-indexing and natural language queries.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "cocoindex-code": { "command": "uvx", "args": [ "cocoindex-code" ] } } } - 6
Lets an AI client read and change Google Ads, Reddit Ads and GA4 campaigns, with a preview shown before every change.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "adloop": { "command": "uvx", "args": [ "adloop" ] } } } - 7
An agent meta-harness that provides Claude Code and Codex with specialized agent swarms, self-learning memory, and enterprise security guardrails.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "claude-flow": { "command": "npx", "args": [ "-y", "claude-flow" ] } } } - 8
Enables LLMs to interact with web pages through structured accessibility snapshots using Playwright browser automation.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "playwright-mcp": { "command": "npx", "args": [ "-y", "@playwright/mcp" ] } } } - 9
Allows an AI client to interact with Bitbucket Data Center repositories and code through the Model Context Protocol.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "atlassian-dc-mcp": { "command": "npx", "args": [ "-y", "@atlassian-dc-mcp/bitbucket" ] } } } - 10
Lets an AI agent draw and edit draw.io diagrams on a live browser canvas that you can also edit by hand.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "next-ai-drawio": { "command": "npx", "args": [ "-y", "@next-ai-drawio/mcp-server" ] } } } - 11
Packs a local or remote codebase into a single AI-friendly file with token counts so LLMs and coding agents can read or search it.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "repomix": { "command": "npx", "args": [ "-y", "repomix" ] } } } - 12
Connects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
Konfigurasi untuk Zed
settings.json{ "context_servers": { "mcp-toolbox": { "command": "docker", "args": [ "run", "-i", "--rm", "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.17.0" ] } } }