28 git operations organized into seven categories:
git-mcp-server is an MCP project maintained in the cyanheads/git-mcp-server repository. The maintainer describes its purpose as “28 git operations organized into seven categories”. Read the project documentation for the complete scope.
The documented npm package is @cyanheads/git-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, GIT_BASE_DIR, LOGS_DIR, GIT_USERNAME, GIT_EMAIL, GIT_SIGN_COMMITS. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| Category | Tools |
| Analysis | git_changelog_analyze |
{
"mcpServers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"@cyanheads/git-mcp-server@latest"
],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"GIT_BASE_DIR": "~/Developer/",
"LOGS_DIR": "~/Developer/logs/git-mcp-server/",
"GIT_USERNAME": "cyanheads",
"GIT_EMAIL": "casey@caseyjhand.com",
"GIT_SIGN_COMMITS": "true"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| MCP_TRANSPORT_TYPE | Declared in the maintainer’s client configuration. | Check documentation |
| MCP_LOG_LEVEL | Declared in the maintainer’s client configuration. | Check documentation |
| GIT_BASE_DIR | Declared in the maintainer’s client configuration. | Check documentation |
| LOGS_DIR | Declared in the maintainer’s client configuration. | Check documentation |
| GIT_USERNAME | Declared in the maintainer’s client configuration. | Check documentation |
| GIT_EMAIL | Declared in the maintainer’s client configuration. | Check documentation |
| GIT_SIGN_COMMITS | Declared in the maintainer’s client configuration. | Check documentation |
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Enables AI assistants to securely interact with a local file system for reading, writing, and managing files within a designated project directory.
Enables interaction with GitLab accounts to manage repositories, merge requests, CI/CD, and project settings.
Integrates Google's OR-Tools constraint programming solver with Large Language Models using the Model Context Protocol for AI models.
Enables LLMs to utilize GitHub issues as tasks by fetching issue details.