Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"git-mcp": {
"command": "npx",
"args": [
"-y",
"idosal/git-mcp"
]
}
}
}
Run in terminal:
claude mcp add git-mcp npx -y idosal/git-mcp
Add to .cursor/mcp.json:
{
"mcpServers": {
"git-mcp": {
"command": "npx",
"args": [
"-y",
"idosal/git-mcp"
]
}
}
}