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

Gitingest-MCP

一个为GitHub仓库提供快速信息提取的MCP服务器

article

README

🚀 Gitingest - MCP

Gitingest - MCP 是一个为 gitingest 提供支持的 MCP 服务端。借助该服务端,像 Claude Desktop、Cline、Cursor 等 MCP 客户端能够快速提取 Github 仓库的相关信息,具体包括:

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

smithery badge 点击此处

相关图片

🚀 快速开始

本项目提供了便捷的方式让 MCP 客户端快速提取 Github 仓库的信息,下面将详细介绍安装和调试的步骤。

✨ 主要特性

  • 支持多种 MCP 客户端,如 Claude Desktop、Cline、Cursor 等。
  • 能够快速提取 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": "<uv路径>/uvx",
            "args": [
                "--from",
                "git+https://github.com/puravparab/gitingest-mcp",
                "gitingest-mcp"
            ]
        }
    }
}

手动安装仓库

  1. 克隆仓库:
git clone https://github.com/puravparab/Gitingest-MCP
cd Gitingest-MCP
  1. 安装依赖项:
uv sync
  1. 将以下内容添加到 MCP 客户端配置文件中:
{
    "mcpServers": {
        "gitingest-mcp": {
            "command": "<uv路径>/uvx",
            "args": [
                "--from",
                "git+https://github.com/puravparab/gitingest-mcp",
                "gitingest-mcp"
            ]
        }
    }
}

更新 MCP 客户端配置

  1. 打开 MCP 客户端的配置文件。
  2. 添加以下内容到 mcpServers 部分:
{
    "gitingest-mcp": {
        "command": "<uv路径>/uvx",
        "args": [
            "--from",
            "git+https://github.com/puravparab/gitingest-mcp",
            "gitingest-mcp"
        ]
    }
}

🔧 调试

  1. 打开终端并运行以下命令:
uv run server.py
  1. 确保服务器已正确配置并在运行中。
help

运行方式说明

cloud

托管运行

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

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

本地运行 / 其它方式

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

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