Github公开仓库阅读器 Mcp Server

by IAmYuanyu

301 downloads
Not rated
GitHub

About

基于 Spring AI 的github仓库文件读取Mcp服务,可以根据Github仓库链接,读取仓库下所有文件(前提是public仓库)

Details

Author
IAmYuanyu
Downloads
301
Categories
Developer Tools

- Enables MCP-based access to public GitHub repositories
- Built with Java and built via Maven
- Integrates with any MCP‑compatible AI assistant

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Github公开仓库阅读器 Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "github\u516c\u5f00\u4ed3\u5e93\u9605\u8bfb\u5668 mcp server": {
            "GitHubRepoReader": {
                "command": "java",
                "args": [
                    "-Dspring.ai.mcp.server.stdio=true",
                    "-Dspring.main.web-application-type=none",
                    "-Dlogging.pattern.console=",
                    "-jar",
                    "/\u6587\u4ef6\u6240\u5728\u76ee\u5f55/GitHubRepoReader-0.0.1-SNAPSHOT.jar"
                ],
                "env": {
                    "githubToken": "\u4f60\u7684Github\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c"
                }
            }
        }
    }
}

McpServers

{
    "GitHubRepoReader": {
        "command": "java",
        "args": [
            "-Dspring.ai.mcp.server.stdio=true",
            "-Dspring.main.web-application-type=none",
            "-Dlogging.pattern.console=",
            "-jar",
            "/\u6587\u4ef6\u6240\u5728\u76ee\u5f55/GitHubRepoReader-0.0.1-SNAPSHOT.jar"
        ],
        "env": {
            "githubToken": "\u4f60\u7684Github\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c"
        }
    }
}

如何使用?

要使用这个 MCP Server,请克隆代码仓库,使用 Maven 构建 项目,并在您的 Java 环境中配置它。然后,您可以将其与支持 MCP 协议的任何智能助手集成。
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.