Merge pull request #114 from anjor/anjor/fix-zed-config

fix zed config
This commit is contained in:
David Soria Parra 2024-11-29 10:11:15 +00:00 • committed by GitHub
commit 4b9bddc1be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 37 deletions

View file

@ -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)

View file

@ -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"]
}
}
},
```

View file

@ -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"]
}
}
],
```