git-mcp-server
An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.
GitHub Stars
122
User Rating
Not Rated
Favorites
0
Views
157
Forks
27
Issues
5
Installation
Installation
Prerequisites
Please specify required software and versions:Installation Steps
1. Clone Repository
bash
git clone https://github.com/cyanheads/git-mcp-server.git
cd git-mcp-server
2. Install Dependencies
bash
npm install
3. Configure Claude Desktop
Editclaude_desktop_config.json to add the MCP server:
json
{
"mcpServers": {
"git-mcp-server": {
"command": "node",
"args": ["path/to/server.js"]
}
}
}
4. Start Server
bash
npm start
Troubleshooting
Common Issues
Issue: Server won't start Solution: Check Node.js version and reinstall dependencies. Issue: Not recognized by Claude Desktop Solution: Verify configuration file path and syntax.Additional Resources
Software Engineer | Building AI Infrastructure with the Model Context Protocol (MCP)
85
Followers
27
Repositories
0
Gists
0
Total Contributions
Octocode is an AI-powered code assistant that provides advanced search capabilities to understand connections between repositories and NPM packages. Users can ask specific questions to quickly retrieve necessary information, eliminating the need for manual browsing and enhancing development efficiency.