PG

puravparab/gitingest-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

138 stars 24 forks 质量 69 趋势 16MIT

puravparab/gitingest-mcp 是从 https://github.com/puravparab/gitingest-mcp. 导入的 MCP 服务器候选。

概览

puravparab/gitingest-mcp 是从 https://github.com/puravparab/gitingest-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

一个用于gitingest的MCP服务器。这使得像Claude Desktop、Cline、Cursor等MCP客户端能够快速提取关于Github仓库的信息,包括

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

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

目录

  • 安装
  • 通过Smithery安装
  • 通过 GitHub 安装
  • 手动安装仓库
  • 更新MCP客户端配置
  • 调试

安装

通过Smithery安装

  • 通过Smithery安装gitingest-mcp:

通过 GitHub 安装

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

手动安装仓库

  1. 克隆仓库

  2. 安装依赖关系

  3. 将此添加到MCP客户端配置文件中

  4. 如果遇到问题,请遵循MCP服务器文档

更新MCP客户端配置

  1. 添加到Claude桌面

    在你的IDE中打开配置文件

调试

  1. 使用 mcp 检查器

本页由 AI 翻译,技术细节请以原文为准。

README

Gitingest-MCP

An MCP server for gitingest. This allows MCP clients like Claude Desktop, Cline, Cursor, etc to quickly extract information about Github repositories including

  • Repository summaries
  • Project directory structure
  • File content

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

Table of Contents

Installation

Installing via Smithery

  • To install gitingest-mcp via Smithery:

    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
    

Install via Github

  1. Add this to the MCP client config file

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

Installing Repo Manually

  1. Clone the repo

    git clone https://https://github.com/puravparab/Gitingest-MCP
    cd Gitingest-MCP
    
  2. Install dependencies

    uv sync
    
  3. Add this to the MCP client config file

    {
    	"mcpServers": {
    		"gitingest": {
    			"command": "/uv",
    			"args": [
    				"run",
    				"--with",
    				"mcp[cli]",
    				"--with-editable",
    				"/gitingest_mcp",
    				"mcp",
    				"run",
    				"/gitingest-mcp/src/gitingest_mcp/server.py"
    			]
    		}
    	}
    }
    
  4. If you have issues, follow this MCP server documentation

Updating the MCP client configuration

  1. Add to Claude Desktop

    Open config file in your IDE

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

Debug

  1. Using mcp inspector
    uv run mcp dev src/gitingest_mcp/server.py
    
在 GitHub 查看完整 README

安装

npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client claude --config "{}" # Claude
新手?先看 mcpskill.org 教程 →

配置

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