Back to MCP directory
publicPublicdnsLocal runtime

GitHub Repository Explorer

一个为gitingest提供MCP服务的服务器,支持快速获取GitHub仓库信息,包括仓库摘要、目录结构和文件内容。

article

README

🚀 Gitingest-MCP

Gitingest-MCP 是一个用于 gitingest 的 MCP 服务器。它能让 Claude Desktop、Cline、Cursor 等 MCP 客户端快速提取 GitHub 仓库的信息,包括仓库摘要、项目目录结构和文件内容。

smithery badge

🚀 快速开始

按照以下步骤,你可以轻松安装和配置 Gitingest-MCP,并开始使用它来提取和分析 GitHub 仓库的信息。

📦 安装指南

通过 Smithery 安装

要通过 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"
            ]
        }
    }
}

手动安装仓库

  1. 克隆仓库:
git clone https://https://github.com/puravparab/Gitingest-MCP
cd Gitingest-MCP
  1. 安装依赖项:
uv sync
  1. 将以下内容添加到 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/gitness.py"
            ]
        }
    }
}
  1. 安装依赖项:
pip install -r requirements.txt
  1. 运行服务:
uvicorn main:app --reload

更新 MCP 客户端配置

  1. 打开你的终端。
  2. 导航到项目的根目录:
cd /path/to/your/project
  1. 运行以下命令更新配置。

🔧 调试

uvicorn main:app --reload
READY-TO-PASTE CONFIG

MCP client config generator

Choose your client, fill the required environment variables, then copy a config generated from this server's published metadata

terminal
checkNo environment variables required
Claude Desktop
{
  "mcpServers": {
    "gitingest-mcp": {
      "command": "<path to uv>/uvx",
      "args": [
        "--from",
        "git+https://github.com/puravparab/gitingest-mcp",
        "gitingest-mcp"
      ]
    }
  }
}
Save toclaude_desktop_config.json
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client