From 39d6a3bc6b160e32c34c8e7b103a8d37f9385ddf Mon Sep 17 00:00:00 2001 From: anjor Date: Thu, 28 Nov 2024 22:01:38 +0000 Subject: [PATCH] fix zed config --- src/fetch/README.md | 32 +------------------------------- src/git/README.md | 12 ++++++++---- src/sentry/README.md | 6 ++++-- 3 files changed, 13 insertions(+), 37 deletions(-) diff --git a/src/fetch/README.md b/src/fetch/README.md index ffdd01b0..f93402a6 100644 --- a/src/fetch/README.md +++ b/src/fetch/README.md @@ -67,36 +67,6 @@ Add to your Claude settings: ``` -### Configure for Zed - -Add to your Zed settings.json: - -
-Using uvx - -```json -"context_servers": [ - "mcp-server-fetch": { - "command": "uvx", - "args": ["mcp-server-fetch"] - } -], -``` -
- -
-Using pip installation - -```json -"context_servers": { - "mcp-server-fetch": { - "command": "python", - "args": ["-m", "mcp_server_fetch"] - } -}, -``` -
- ### 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) diff --git a/src/git/README.md b/src/git/README.md index 49f45324..c94ca7ea 100644 --- a/src/git/README.md +++ b/src/git/README.md @@ -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"] + } } }, ``` diff --git a/src/sentry/README.md b/src/sentry/README.md index 78e8f72b..34a1feb5 100644 --- a/src/sentry/README.md +++ b/src/sentry/README.md @@ -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"] + } } ], ```