返回 MCP 目录
public公开dns本地运行

码服

用于 gitingest 的 MCP 服务器。它允许 Claude Desktop、Cursor、Cline 等 MCP 客户端快速提取关于 Github 仓库的信息,包括仓库摘要、项目目录结构、文件内容等。

article

README

Gitingest-MCP smithery badge

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
Gitingest-MCP MCP server

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": "<path to uv>/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": "<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. 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
    
help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端