Skip to content

Commit

Permalink
Merge pull request #114 from anjor/anjor/fix-zed-config
Browse files Browse the repository at this point in the history
fix zed config
  • Loading branch information
dsp-ant authored Nov 29, 2024
2 parents bf4d8f6 + 453e292 commit 4b9bddc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 37 deletions.
32 changes: 1 addition & 31 deletions src/fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
12 changes: 8 additions & 4 deletions src/git/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
],
```
Expand All @@ -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"]
}
}
},
```
Expand Down
6 changes: 4 additions & 2 deletions src/sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
],
```
Expand Down

0 comments on commit 4b9bddc

Please sign in to comment.