Назад к каталогу
git-mcp

git-mcp

Сообщество

от idosal

0.0
0 отзывов

Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

Установка

{

Описание

# GitMCP <p align="center"> <img width="884" alt="image" src="https://github.com/user-attachments/assets/2bf3e3df-556c-49c6-ab7b-36c279d53bba" /> </p> <p align="center"> <a href="#-what-is-gitmcp">What is GitMCP</a> • <a href="#-features">Features</a> • <a href="#-getting-started">Getting Started</a> • <a href="#-how-it-works">How It Works</a> • <a href="#-badge">Badge</a> • <a href="#-examples">Examples</a> • <a href="#-faq">FAQ</a> • <a href="#-privacy">Privacy</a> • <a href="#-contributing">Contributing</a> • <a href="#-license">License</a> </p> <div align="center"> [![GitMCP](https://img.shields.io/endpoint?url=https://gitmcp.io/badge/idosal/git-mcp)](https://gitmcp.io/idosal/git-mcp) [![Twitter Follow](https://img.shields.io/twitter/follow/idosal1?style=social)](https://twitter.com/idosal1) [![Twitter Follow](https://img.shields.io/twitter/follow/liadyosef?style=social)](https://twitter.com/liadyosef) </div> <div align="center"> <a href="https://www.pulsemcp.com/servers/idosal-git-mcp"><img src="https://www.pulsemcp.com/badge/top-pick/idosal-git-mcp" width="400" alt="Pulse MCP Badge"></a> </div> ## 🤔 What is GitMCP? **Stop vibe-hallucinating and start vibe-coding!** [GitMCP](https://gitmcp.io) is a free, open-source, remote [Model Context Protocol (MCP)](https://docs.anthropic.com/en/docs/agents-and-tools/mcp) server that transforms **any** GitHub project (repositories or GitHub pages) into a documentation hub. It enables AI tools like Cursor to access up-to-date documentation and code, even if the LLM has never encountered them, thereby eliminating code hallucinations seamlessly. GitMCP supports **two flavors** - * **Specific Repository (`gitmcp.io/{owner}/{repo}` or `{owner}.gitmcp.io/{repo}`):** Use these when you primarily work with a select number of libraries. This ensures your AI assistant always targets the correct project, enhancing security and relevance by preventing access to unintended repositories. * **Generic Server (`gitmcp.io/docs`):** Use this for maximum flexibility when you need to switch between different repositories frequently. The AI assistant will prompt you (or decide based on context) which repository to access for each request. Be mindful that this relies on correctly identifying the target repository each time. **With GitMCP:** * AI assistants access the *latest* documentation and code directly from the source. * Get accurate API usage and reliable code examples. * Work effectively even with niche, new, or rapidly changing libraries. * Significantly reduced hallucinations and improved code correctness. For example, this side-by-side comparison shows the result for the same one-shot prompt in Cursor when creating a [three.js](https://github.com/mrdoob/three.js) scene - https://github.com/user-attachments/assets/fbf1b4a7-f9f0-4c0e-831c-4d64faae2c45 ## ✨ Features - 😎 **Latest Documentation on ANY GitHub Project**: Grant your AI assistant seamless access to the GitHub project's documentation and code. The built-in smart search capabilities help find exactly what the AI needs without using too many tokens! - 🧠 **No More Hallucinations**: With GitMCP, your AI assistant can provide accurate and relevant answers to your questions. - ☁️ **Zero Setup**: GitMCP runs in the cloud. Simply add the chosen GitMCP URL as an MCP server in your IDE — no downloads, installations, signups, or changes are required. - 💬 **Embedded Chat**: Start quickly by chatting directly with the repository's documentation through our in-browser chat! - ✅ **Open, Free, and Private**: GitMCP is open-source and completely free to use. It doesn't collect personal information or store queries. You can even self-host it! <video src="https://github.com/user-attachments/assets/2c3afaf9-6c08-436e-9efd-db8710554430"></video> ## 🚀 Getting Started Using GitMCP is easy! Simply follow these steps: ### Step 1: Choose the type of server you want Choose one of these URL formats depending on what you want to connect to: - For GitHub repositories: `gitmcp.io/{owner}/{repo}` - For GitHub Pages sites: `{owner}.gitmcp.io/{repo}` - For a generic tool that supports any repository (dynamic): `gitmcp.io/docs` Replace `{owner}` with the GitHub username or organization name, and `{repo}` with the repository name. For your convenience, you can also use the conversion tool on the landing page to format the GitHub URL into an MCP URL! ### Step 2: Connect your AI assistant Select your AI assistant from the options below and follow the configuration instructions: #### Connecting Cursor Update your Cursor configuration file at `~/.cursor/mcp.json`: ```json { "mcpServers": { "gitmcp": { "url": "https://gitmcp.io/{owner}/{repo}" } } } ``` #### Connecting Claude Desktop 1. In Claude Desktop, go to Settings > Developer > Edit Config 2. Replace the configuration with: ```json { "mcpServers": { "gitmcp": { "com

Отзывы (0)

Пока нет отзывов. Будьте первым!