Skip to content

Commit

Permalink
Merge branch 'main' into davidsp/git
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp-ant authored Nov 20, 2024
2 parents 7920585 + 32d936b commit 40e5bb9
Showing 1 changed file with 23 additions and 28 deletions.
51 changes: 23 additions & 28 deletions src/git/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,65 +44,60 @@ 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

We encourage contributions to help expand and improve mcp-git. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.

For examples of other MCP servers and implementation patterns, see:
https://github.com/modelcontextprotocol/servers/
https://github.com/modelcontextprotocol/servers

Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp-git even more powerful and useful.

0 comments on commit 40e5bb9

Please sign in to comment.