Git仓库信息提取服务

一个MCP服务器,用于快速提取GitHub仓库的摘要、目录结构和文件内容等信息,支持多种MCP客户端如Claude Desktop、Cline和Cursor等。

  • by puravparab
  • Python
  • 本地部署
  • 138 星标
  • 更新于
在 GitHub 查看 puravparab/Gitingest-MCP

使用说明

获取MCP

MCP服务器 吉廷斯特。这允许像Claude Desktop、Cline、Cursor等MCP客户端快速提取有关Github存储库的信息,包括

  • 存储库摘要
  • 项目目录结构
  • 文件内容

https://github.com/user-attachments/assets/c1fa596b-a70b-4d37-91d9-ea5e80284793

目录

安装

通过Smithery安装

  • 通过以下方式安装gitingest mcp 史密瑟里:

    npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client claude --config "{}" # Claude
    
    npx -y @smithery/cli@latest run @puravparab/gitingest-mcp --client cursor --config "{}" # Cursor
    
    npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client windsurf --config "{}" # Windsurf
    
    npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client cline --config "{}" # Cline
    

通过Github安装

  1. 将其添加到MCP客户端配置文件中

    {
    	"mcpServers": {
    		"gitingest-mcp": {
    			"command": "<path to uv>/uvx",
    			"args": [
    				"--from",
    				"git+https://github.com/puravparab/gitingest-mcp",
    				"gitingest-mcp"
    			]
    		}
    	}
    }
    

手动安装Repo

  1. 克隆仓库

    git clone https://https://github.com/puravparab/Gitingest-MCP
    cd Gitingest-MCP
    
  2. 安装依赖项

    uv sync
    
  3. 将其添加到MCP客户端配置文件中

    {
    	"mcpServers": {
    		"gitingest": {
    			"command": "<path to uv>/uv",
    			"args": [
    				"run",
    				"--with",
    				"mcp[cli]",
    				"--with-editable",
    				"<path to gitingest-mcp project>/gitingest_mcp",
    				"mcp",
    				"run",
    				"<path to gitingest-mcp project>/gitingest-mcp/src/gitingest_mcp/server.py"
    			]
    		}
    	}
    }
    
  4. 如果您有问题,请按照以下步骤操作 MCP服务器文档

更新MCP客户端配置

  1. 添加到克劳德桌面

    在IDE中打开配置文件

    cursor ~/Library/Application\ Support/Claude/claude_desktop_config.json
    
    code ~/Library/Application\ Support/Claude/claude_desktop_config.json
    

调试

  1. 使用mcp检查器
    uv run mcp dev src/gitingest_mcp/server.py