mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-17 23:53:24 +02:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
56d2d1b1b4
commit
32d936b85d
@@ -35,36 +35,6 @@ python -m mcp_git
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
### Configure for Zed
|
|
||||||
|
|
||||||
Add to your Zed settings.json:
|
|
||||||
|
|
||||||
```json
|
|
||||||
"experimental.context_servers": {
|
|
||||||
"servers": [
|
|
||||||
{
|
|
||||||
"id": "mcp-git",
|
|
||||||
"executable": "uvx",
|
|
||||||
"args": ["mcp-git"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
```
|
|
||||||
|
|
||||||
Alternatively, if using pip installation:
|
|
||||||
|
|
||||||
```json
|
|
||||||
"experimental.context_servers": {
|
|
||||||
"servers": [
|
|
||||||
{
|
|
||||||
"id": "mcp-git",
|
|
||||||
"executable": "python",
|
|
||||||
"args": ["-m", "mcp_git"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
```
|
|
||||||
|
|
||||||
### Configure for Claude.app
|
### Configure for Claude.app
|
||||||
|
|
||||||
Add to your Claude settings:
|
Add to your Claude settings:
|
||||||
@@ -73,7 +43,7 @@ Add to your Claude settings:
|
|||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"mcp-git": {
|
"mcp-git": {
|
||||||
"command": "uvx",
|
"command": "uvx",
|
||||||
"args": ["mcp-git"]
|
"args": ["mcp-git", "--repository", "path/to/git/repo"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -84,14 +54,39 @@ Alternatively, if using pip installation:
|
|||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"mcp-git": {
|
"mcp-git": {
|
||||||
"command": "python",
|
"command": "python",
|
||||||
"args": ["-m", "mcp_git"]
|
"args": ["-m", "mcp_git", "--repository", "path/to/git/repo"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Configure for Zed
|
||||||
|
|
||||||
|
Add to your Zed settings.json:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"context_servers": [
|
||||||
|
"mcp-git": {
|
||||||
|
"command": "uvx",
|
||||||
|
"args": ["mcp-git"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, if using pip installation:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"context_servers": {
|
||||||
|
"mcp-git": {
|
||||||
|
"command": "python",
|
||||||
|
"args": ["-m", "mcp-git"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
For examples of other MCP servers and implementation patterns, see:
|
For examples of other MCP servers and implementation patterns, see:
|
||||||
https://github.com/modelcontextprotocol/example-servers/
|
https://github.com/modelcontextprotocol/servers
|
||||||
|
|
||||||
Pull requests welcome!
|
Pull requests welcome!
|
||||||
|
|||||||
Reference in New Issue
Block a user