git-mcp-server MCP server
Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and manage worktrees in local git repos via MCP. STDIO or Streamable HTTP.
What git-mcp-server does
Summarised from the project README; check the repository for the latest details.
Tools exposed (1)
Category– Tools
Requirements
- Node.js (runs with npx)
Repository: cyanheads/git-mcp-server
Website: https://www.npmjs.com/package/@cyanheads/git-mcp-server
Stars: ★241
Language: TypeScript
Last updated: 2026-09-26
ai-agentsai-toolscyanheadsdeveloper-toolsgitgit-toolsllm-toolsmcpmcp-servermodel-context-protocoltypescriptversion-control
Website: https://www.npmjs.com/package/@cyanheads/git-mcp-server
Stars: ★241
Language: TypeScript
Last updated: 2026-09-26
ai-agentsai-toolscyanheadsdeveloper-toolsgitgit-toolsllm-toolsmcpmcp-servermodel-context-protocoltypescriptversion-control
How to install git-mcp-server MCP in Claude Desktop, Cursor and VS Code
Install
Taken from the project README (README mcpServers JSON). Check the README for required API keys before use.
Claude Code
Terminal (claude CLI)
claude mcp add --env MCP_TRANSPORT_TYPE=stdio --env MCP_LOG_LEVEL=info --env 'GIT_BASE_DIR=~/Developer/' --env 'LOGS_DIR=~/Developer/logs/git-mcp-server/' --env GIT_USERNAME=cyanheads --env GIT_EMAIL=casey@caseyjhand.com --env GIT_SIGN_COMMITS=true --transport stdio git-mcp-server -- npx @cyanheads/git-mcp-server@latestClaude Desktop
claude_desktop_config.json
{
"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"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"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"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"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"
}
}
}
}Add to config generator – combine it with other servers, or get the Windsurf format.
Maintain this project? Get it featured for free during launch →
Compare with github-mcp-server →
Related Git & GitHub MCP servers
pipeshub-ai by pipeshub-ai · ★3833
The open-source context layer for AI agents. PipesHub turns your company's knowledge (Slack, Drive, Jira, GitHub, Microsoft 365 and 40+ conn
Git & GitHub
The open-source context layer for AI agents. PipesHub turns your company's knowledge (Slack, Drive, Jira, GitHub, Microsoft 365 and 40+ conn
Git & GitHub
jcodemunch-mcp by jgravelle · ★2770
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Wor
Git & GitHub
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Wor
Git & GitHub
Lightswind-UI-Library by codewithMUHILAN · ★1138
The AI-native CLI-first React component library. 160+ animated, accessible, production-ready components with MCP Server support for Cursor,
Git & GitHub
The AI-native CLI-first React component library. 160+ animated, accessible, production-ready components with MCP Server support for Cursor,
Git & GitHub
atlassian-mcp-server by atlassian · ★1096
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, Chat
Git & GitHub
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, Chat
Git & GitHub
new-term-radar by zhuyansen · ★971
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools l
Git & GitHub
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools l
Git & GitHub
Weekly MCP digest – new and trending MCP servers in your inbox.