Git MCP logo

Git MCP

by idosal

Connects AI assistants to GitHub repository documentation and code through hosted MCP endpoints.

Install Git MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://docs.augmentcode.com/setup-augment/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The idosal/git-mcp MCP server gives AI assistants access to documentation and code from GitHub repositories through hosted MCP URLs. Use a repository-specific endpoint to keep requests focused, or use the generic endpoint when you need to switch repositories dynamically. It supports documentation retrieval, smart search, and code search, using sources such as llms.txt, generated documentation, or a repository README. Reach for it when an assistant needs current information about a niche, new, or frequently changing GitHub project without local installation.

Use cases

  • Query a library's current API documentation
  • Search unfamiliar GitHub project code
  • Ground coding answers in a specific repository
  • Compare documentation across changing repositories

Key features

  • Repository-specific MCP endpoints
  • Dynamic repository endpoint
  • Documentation fetching
  • Smart documentation search
  • Repository code search
  • Embedded documentation chat

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

32/32 checks healthy over the last 78d

Supply-chain signal

1 high-severity advisory on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · https://docs.augmentcode.com/setup-augment/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8.5kStargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Git MCP works

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. 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.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Git MCP

No local installation is required for the hosted service. Add a repository-specific GitMCP URL or `https://gitmcp.io/docs` to an MCP-compatible client.

Yes.

Yes. The documented capabilities include code search and documentation search for the selected project.

It states that the hosted service needs no signup.

A repository URL targets one specified project, while `https://gitmcp.io/docs` supports dynamic selection among repositories.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGit MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/idosal-git-mcp?style=directory)](https://allmcps.com/mcp/idosal-git-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/idosal-git-mcp"><img src="https://allmcps.com/api/badge/idosal-git-mcp?style=directory" alt="Git MCP on AllMCPs" /></a>