Git MCP
A local Git MCP server built on isomorphic-git that allows agents to inspect and optionally modify Git repositories. It supports reading status, logs, diffs, file history, branches, and tags. When configured with write permissions, it can stage, commit, create branches, and perform remote operations like clone, fetch, pull, and push via HTTPS.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Inspect repository status and current branch
- View commit history and file diffs
- Stage and commit local changes
- Clone and push to remote repositories
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@abhishekmcp/git 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "@abhishekmcp/git",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "GIT_ROOTS",
"format": "string",
"isRequired": true,
"description": "Allowed repo root directories (comma-separated). Required — the server refuses to start without it."
},
{
"name": "GIT_WRITABLE",
"format": "string",
"description": "Set to 1 or true to enable local write tools (stage/commit/branch/checkout)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"git-mcp-abhishekmcp-git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git@0.2.0"
],
"env": {
"GIT_ROOTS": "<YOUR_GIT_ROOTS>",
"GIT_WRITABLE": "<YOUR_GIT_WRITABLE>"
}
}
}
}Cline
{
"mcpServers": {
"git-mcp-abhishekmcp-git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git@0.2.0"
],
"env": {
"GIT_ROOTS": "<YOUR_GIT_ROOTS>",
"GIT_WRITABLE": "<YOUR_GIT_WRITABLE>"
}
}
}
}VS Code
{
"servers": {
"git-mcp-abhishekmcp-git": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git@0.2.0"
],
"env": {
"GIT_ROOTS": "<YOUR_GIT_ROOTS>",
"GIT_WRITABLE": "<YOUR_GIT_WRITABLE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"git-mcp-abhishekmcp-git": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git@0.2.0"
],
"env": {
"GIT_ROOTS": "<YOUR_GIT_ROOTS>",
"GIT_WRITABLE": "<YOUR_GIT_WRITABLE>"
}
}
}
}Let your agent find its tools
Find servers like Git MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.