Git MCP enables AI tools like Cursor to access up-to-date documentation and code from any GitHub repository through the Model Context Protocol, eliminating AI hallucinations by providing real-time source material. The server offers two deployment modes: repository-specific endpoints for targeted access to select libraries, and a generic server for flexible switching between multiple repositories. By connecting AI assistants directly to live GitHub projects, Git MCP ensures accurate API usage, reliable code examples, and reduced hallucinations when working with niche, new, or rapidly evolving libraries.
claude mcp add --transport stdio idosal-git-mcp uvx git-mcp