From 32d936b85da0abc76d471a3843ebcf00ddb2ee96 Mon Sep 17 00:00:00 2001 From: David Soria Parra <167242713+dsp-ant@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:24:02 +0000 Subject: [PATCH] Update README.md --- src/git/README.md | 51 +++++++++++++++++++++-------------------------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/src/git/README.md b/src/git/README.md index 6409077c..cc8da29f 100644 --- a/src/git/README.md +++ b/src/git/README.md @@ -35,63 +35,58 @@ python -m mcp_git ``` ## Configuration -### Configure for Zed +### Configure for Claude.app -Add to your Zed settings.json: +Add to your Claude settings: ```json -"experimental.context_servers": { - "servers": [ - { - "id": "mcp-git", - "executable": "uvx", - "args": ["mcp-git"] - } - ] -}, +"mcpServers": { + "mcp-git": { + "command": "uvx", + "args": ["mcp-git", "--repository", "path/to/git/repo"] + } +} ``` Alternatively, if using pip installation: ```json -"experimental.context_servers": { - "servers": [ - { - "id": "mcp-git", - "executable": "python", - "args": ["-m", "mcp_git"] - } - ] -}, +"mcpServers": { + "mcp-git": { + "command": "python", + "args": ["-m", "mcp_git", "--repository", "path/to/git/repo"] + } +} ``` -### Configure for Claude.app +### Configure for Zed -Add to your Claude settings: +Add to your Zed settings.json: ```json -"mcpServers": { +"context_servers": [ "mcp-git": { "command": "uvx", "args": ["mcp-git"] } -} +], ``` Alternatively, if using pip installation: ```json -"mcpServers": { +"context_servers": { "mcp-git": { "command": "python", - "args": ["-m", "mcp_git"] + "args": ["-m", "mcp-git"] } -} +}, ``` + ## Contributing For examples of other MCP servers and implementation patterns, see: -https://github.com/modelcontextprotocol/example-servers/ +https://github.com/modelcontextprotocol/servers Pull requests welcome!