fix zed config

This commit is contained in:
anjor
2024-11-28 22:01:38 +00:00
parent 6d83c78752
commit 39d6a3bc6b
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"]
}
}
],
```