版本控制 · 开发者工具

GitHub MCP Server Usi logo

GitHub MCP Server Usi

tangochuy/github-mcp-server

GitHub MCP Server是一个基于Model Context Protocol的服务器,提供与GitHub API的无缝集成,支持开发者构建自动化工作流和AI驱动的工具应用。

安装

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server

客户端配置

{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<GITHUB_PERSONAL_ACCESS_TOKEN>"
      }
    }
  }
}

环境变量

GITHUB_PERSONAL_ACCESS_TOKENGITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION
分类
版本控制, 开发者工具
许可证
MIT
更新于
2026年10月6日

工具(30)

  • get_me

    Get details of the authenticated user

  • get_issue

    Gets the contents of an issue within a repository

  • get_issue_comments

    Get comments for a GitHub issue

  • create_issue

    Create a new issue in a GitHub repository

  • add_issue_comment

    Add a comment to an issue

  • update_issue

    Update an existing issue in a GitHub repository

  • search_issues

    Search for issues and pull requests

  • get_pull_request

    Get details of a specific pull request

  • merge_pull_request

    Merge a pull request

  • get_pull_request_files

    Get the list of files changed in a pull request

  • get_pull_request_status

    Get the combined status of all status checks for a pull request

  • update_pull_request_branch

    Update a pull request branch with the latest changes from the base branch

  • get_pull_request_comments

    Get the review comments on a pull request

  • get_pull_request_reviews

    Get the reviews on a pull request

  • create_pull_request_review

    Create a review on a pull request review

  • create_pull_request

    Create a new pull request

  • add_pull_request_review_comment

    Add a review comment to a pull request or reply to an existing comment

  • update_pull_request

    Update an existing pull request in a GitHub repository

  • create_or_update_file

    Create or update a single file in a repository

  • push_files

    Push multiple files in a single commit

  • search_repositories

    Search for GitHub repositories

  • create_repository

    Create a new GitHub repository

  • get_file_contents

    Get contents of a file or directory

  • fork_repository

    Fork a repository

  • create_branch

    Create a new branch

  • list_commits

    Get a list of commits of a branch in a repository

  • get_commit

    Get details for a commit from a repository

  • search_code

    Search for code across GitHub repositories

  • search_users

    Search for GitHub users

  • get_code_scanning_alert

    Get a code scanning alert

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS
VS Code GitHub Copilot logo

VS Code GitHub Copilot

桌面端 · 免费增值 · MIT

VS Code 通过代理模式将 MCP 与 GitHub Copilot 集成,允许在你的代理编码工作流中直接与 MCP 提供的工具交互。在 Claude Desktop、工作区或用户设置中配置服务器,提供引导式 MCP 安装和安全处理输入变量中的密钥,避免泄露硬编码密钥。

WindowsMacOSLinuxWeb

相关 MCP 服务器

更多服务器
core logo

core

opensumi/core

3.3k

OpenSumi 是一个帮助快速构建 AI 原生 IDE 产品的框架,支持云端和桌面端开发环境,提供丰富的示例项目和模板。

版本控制
test1 logo

test1

trpc-group/trpc-go

942

每个wiki文件应在.resource目录中存放与其路径对应的额外资源(如图片),并使用git lfs进行版本管理。

版本控制
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

解决Pylance未解析导入警告的文档

版本控制
e2b logo

e2b

e2b-dev/mcp-server

233

项目用于管理代码变更记录

版本控制
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

一个用于读取GitHub仓库结构和重要文件的MCP服务器

版本控制
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

改进版的GitLab MCP服务器,提供丰富的GitLab操作接口和增强功能

版本控制