WG

wjessup/github-mcp-server-review-tools

开发工具

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

22 stars 4 forks 质量 37 趋势 10

扩展的GitHub MCP服务器,新增拉取请求审查评论功能工具

概览

MIT许可证。这意味着你可以自由使用、修改和分发软件,但必须遵守MIT许可证的条款和条件。更多详情请参见项目仓库中的许可证文件。

概述(AI 翻译)

工具:

手动安装:

安装到光标:

建造

Docker 构建:(未测试)

许可证

MIT许可证。这意味着你可以自由使用、修改和分发软件,但必须遵守MIT许可证的条款和条件。更多详情请参见项目仓库中的许可证文件。

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

README

Tools:

tools: [
      {
        name: "get_pull_request_review",
        description: "Get a specific pull request review",
        inputSchema: zodToJsonSchema(pullRequestReviews.GetPullRequestReviewSchema)
      },
      {
        name: "get_pull_request_comment",
        description: "Get a specific pull request review comment",
        inputSchema: zodToJsonSchema(pullRequestComments.GetPullRequestCommentSchema)
      },
      {
        name: "reply_to_pull_request_comment",
        description: "Add a reply to a specific pull request review comment",
        inputSchema: zodToJsonSchema(pullRequestComments.ReplyToPullRequestCommentSchema)
      },
      {
        name: "resolve_pull_request_review_thread",
        description: "Mark a pull request review thread as resolved",
        inputSchema: zodToJsonSchema(pullRequestReviews.ResolvePullRequestReviewThreadSchema)
      },
      {
        name: "check_pull_request_review_resolution",
        description: "Check if all threads in a pull request review are resolved",
        inputSchema: zodToJsonSchema(pullRequestReviews.CheckPullRequestReviewResolutionSchema)
      },
      {
        name: "get_pull_request_review_threads",
        description: "Get the threads in a specific pull request review",
        inputSchema: zodToJsonSchema(pullRequestReviews.GetPullRequestReviewThreadsSchema)
      },
      {
        name: "get_pull_request_threads",
        description: "Get all review threads for a pull request in a single call",
        inputSchema: zodToJsonSchema(pullRequestReviews.GetPullRequestThreadsSchema)
      },
      {
        name: "get_pull_request_thread",
        description: "Get a single pull request review thread with complete comment details",
        inputSchema: zodToJsonSchema(pullRequestReviews.GetPullRequestThreadSchema)
      }
    ],

install manually:

Yarn && Yarn start

Install into cursor:

{
  "mcpServers": {
    "github-pr-review-tools": {
      "command": "node",
      "args": ["~/Code/github-server-only/dist/index.js"], #put your repo location
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": 
      }
    }
  }
}

Build

Docker build: (haven’t tested)

docker build -t mcp/github -f src/github/Dockerfile .

License

MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →