1# Context Servers
2
3Context servers are a mechanism for pulling context into the Assistant from an external source.
4They are powered by the [Model Context Protocol](./model-context-protocol.md).
5
6Currently Zed supports context servers providing [slash commands](./commands.md) for use in the Assistant.
7
8## Installation
9
10Context servers can be installed via [extensions](../extensions/context-servers.md).
11
12If you don't already have a context server, check out one of these:
13
14- [Postgres](https://github.com/zed-extensions/postgres-context-server)
15- [GitHub](https://github.com/LoamStudios/zed-mcp-server-github)
16- [Puppeteer](https://github.com/zed-extensions/mcp-server-puppeteer)
17- [BrowserTools](https://github.com/mirageN1349/browser-tools-context-server)
18- [Brave Search](https://github.com/zed-extensions/mcp-server-brave-search)
19- [Prisma](https://github.com/aqrln/prisma-mcp-zed)
20- [Framelink Figma](https://github.com/LoamStudios/zed-mcp-server-figma)
21- [Linear](https://github.com/LoamStudios/zed-mcp-server-linear)
22
23Browse 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.
24
25## Configuration
26
27Context servers may require some configuration in order to run or to change their behavior.
28
29You can configure each context server using the `context_servers` setting in your `settings.json`:
30
31```json
32{
33 "context_servers": {
34 "postgres-context-server": {
35 "settings": {
36 "database_url": "postgresql://postgres@localhost/my_database"
37 }
38 }
39 }
40}
41```
42
43If desired, you may also provide a custom command to execute a context server:
44
45```json
46{
47 "context_servers": {
48 "my-context-server": {
49 "command": {
50 "path": "/path/to/my-context-server",
51 "args": ["run"],
52 "env": {}
53 },
54 "settings": {
55 "enable_something": true
56 }
57 }
58 }
59}
60```