mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2024-12-01 18:58:34 +03:00
fix zed config
This commit is contained in:
@@ -67,36 +67,6 @@ Add to your Claude settings:
|
||||
```
|
||||
</details>
|
||||
|
||||
### Configure for Zed
|
||||
|
||||
Add to your Zed settings.json:
|
||||
|
||||
<details>
|
||||
<summary>Using uvx</summary>
|
||||
|
||||
```json
|
||||
"context_servers": [
|
||||
"mcp-server-fetch": {
|
||||
"command": "uvx",
|
||||
"args": ["mcp-server-fetch"]
|
||||
}
|
||||
],
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Using pip installation</summary>
|
||||
|
||||
```json
|
||||
"context_servers": {
|
||||
"mcp-server-fetch": {
|
||||
"command": "python",
|
||||
"args": ["-m", "mcp_server_fetch"]
|
||||
}
|
||||
},
|
||||
```
|
||||
</details>
|
||||
|
||||
### Customization - robots.txt
|
||||
|
||||
By default, the server will obey a websites robots.txt file if the request came from the model (via a tool), but not if
|
||||
@@ -105,7 +75,7 @@ the request was user initiated (via a prompt). This can be disabled by adding th
|
||||
|
||||
### Customization - User-agent
|
||||
|
||||
By default, depending on if the request came from the model (via a tool), or was user initiated (via a prompt), the
|
||||
By default, depending on if the request came from the model (via a tool), or was user initiated (via a prompt), the
|
||||
server will use either the user-agent
|
||||
```
|
||||
ModelContextProtocol/1.0 (Autonomous; +https://github.com/modelcontextprotocol/servers)
|
||||
|
||||
@@ -117,8 +117,10 @@ Add to your Zed settings.json:
|
||||
```json
|
||||
"context_servers": [
|
||||
"mcp-server-git": {
|
||||
"command": "uvx",
|
||||
"args": ["mcp-server-git"]
|
||||
"command": {
|
||||
"path": "uvx",
|
||||
"args": ["mcp-server-git"]
|
||||
}
|
||||
}
|
||||
],
|
||||
```
|
||||
@@ -130,8 +132,10 @@ Add to your Zed settings.json:
|
||||
```json
|
||||
"context_servers": {
|
||||
"mcp-server-git": {
|
||||
"command": "python",
|
||||
"args": ["-m", "mcp_server_git"]
|
||||
"command": {
|
||||
"path": "python",
|
||||
"args": ["-m", "mcp_server_git"]
|
||||
}
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
@@ -91,8 +91,10 @@ Add to your Zed settings.json:
|
||||
```json
|
||||
"context_servers": [
|
||||
"mcp-server-sentry": {
|
||||
"command": "uvx",
|
||||
"args": ["mcp-server-sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
|
||||
"command": {
|
||||
"path": "uvx",
|
||||
"args": ["mcp-server-sentry", "--auth-token", "YOUR_SENTRY_TOKEN"]
|
||||
}
|
||||
}
|
||||
],
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user