# idosal/git-mcp [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/idosal/git-mcp  
**GitHub Stars:** 8379  
**npm Downloads (last month):** 5544400  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/idosal-git-mcp

## Description
gitmcp.io is a generic remote MCP server to connect to ANY GitHub repository or project for documentation

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "git-mcp": {
    "command": "npx",
    "args": ["-y","mcp-remote"]
  }
}
```

## Documentation

## What idosal/git-mcp MCP server does

The idosal/git-mcp MCP server turns GitHub repositories and GitHub Pages projects into documentation sources for MCP-compatible AI assistants. It provides repository-specific endpoints such as `https://gitmcp.io/{owner}/{repo}` and a generic endpoint at `https://gitmcp.io/docs`.

A repository-specific URL is suited to a known project because the assistant remains focused on that repository. The generic endpoint supports changing repositories between requests; the assistant may ask for, or infer, the repository to use. GitMCP is intended for questions about project documentation, APIs, source code, and implementation examples rather than general Git hosting operations.

## How it works

The assistant connects to a GitMCP URL and invokes MCP tools when a prompt requires project information. GitMCP processes the request, retrieves relevant material from the selected GitHub project, and returns it to the assistant for use in its response.

The documented tool capabilities include documentation fetching, smart search, and code search. Supported documentation sources are prioritized as follows:

1. An `llms.txt` file, when available.
2. An AI-oriented version of the project's documentation.
3. The repository root `README.md`.

Smart search is designed to locate relevant material without sending unnecessary content to the model. This can help an assistant answer API and coding questions using current project sources rather than relying only on information in its training data.

## Setup and configuration

GitMCP is hosted remotely, so the normal setup is to add an MCP URL to the client configuration. No local GitMCP download, account, or signup is described as necessary.

For a fixed repository, replace the owner and repository portions of the URL with the GitHub organization or username and repository name. The generic `https://gitmcp.io/docs` endpoint can be used when repository selection needs to remain dynamic.

Cursor, Windsurf, and Cline can be configured with the remote URL directly. Claude Desktop uses the documented `mcp-remote` wrapper with the GitMCP URL as its argument. The README also provides configurations for VSCode, Highlight AI, Augment Code, and Msty AI, although client support and configuration syntax vary by product.

## Tools and capabilities

The idosal/git-mcp MCP server supports:

- Fetching project documentation.
- Searching documentation with a smart search capability.
- Searching repository code.
- Reading information from GitHub repositories or GitHub Pages projects.
- Providing an embedded browser chat for interacting with a repository's documentation.

The service is described as open source, free to use, and self-hostable. The project also states that it does not collect personal information or store queries.

## Limitations and notes

The generic endpoint depends on correctly identifying the intended repository for each request. If the assistant selects the wrong project, a repository-specific endpoint is the safer choice.

The documented scope is retrieval of documentation and code. The provided material does not describe tools for creating commits, changing issues, managing pull requests, or mutating GitHub repositories. GitMCP also depends on the selected project's available documentation sources; projects without `llms.txt` or dedicated documentation may fall back to the root README.

The hosted service requires network access from the AI client. Self-hosting is available according to the project description, but deployment instructions are not included in the supplied material.

_Full upstream README: https://allmcps.com/mcp/idosal-git-mcp/readme_

