1# Model Context Protocol
2
3Zed uses the [Model Context Protocol](https://modelcontextprotocol.io/) to interact with context servers.
4
5> The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
6
7Check out the [Anthropic news post](https://www.anthropic.com/news/model-context-protocol) and the [Zed blog post](https://zed.dev/blog/mcp) for an introduction to MCP.
8
9## MCP Servers as Extensions
10
11Zed supports exposing MCP servers as extensions.
12You can check which servers are currently available in a few ways: through [the Zed website](https://zed.dev/extensions?filter=context-servers) or directly through the app by running the `zed: extensions` action or by going to the Agent Panel's top-right menu and looking for "View Server Extensions".
13
14In any case, here are some of the ones available:
15
16- [Postgres](https://github.com/zed-extensions/postgres-context-server)
17- [GitHub](https://github.com/LoamStudios/zed-mcp-server-github)
18- [Puppeteer](https://github.com/zed-extensions/mcp-server-puppeteer)
19- [BrowserTools](https://github.com/mirageN1349/browser-tools-context-server)
20- [Brave Search](https://github.com/zed-extensions/mcp-server-brave-search)
21- [Prisma](https://github.com/aqrln/prisma-mcp-zed)
22- [Framelink Figma](https://github.com/LoamStudios/zed-mcp-server-figma)
23- [Linear](https://github.com/LoamStudios/zed-mcp-server-linear)
24
25If 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.
26
27## Bring your own MCP server
28
29You can bring your own MCP server by adding something like this to your settings:
30
31```json
32{
33 "context_servers": {
34 "some-context-server": {
35 "command": {
36 "path": "some-command",
37 "args": ["arg-1", "arg-2"],
38 "env": {}
39 }
40 "settings": {}
41 }
42 }
43}
44```
45
46If 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.