MCP.so
ログイン
S

Server Github MCP (PR Comment)

@195440

Server Github MCP (PR Comment) について

what is GitHub MCP Server?

基本情報

カテゴリ

バージョン管理

トランスポート

stdio

公開者

195440

投稿者

洛城风起

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@rz195440/server-github-mcp"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

ツール

43

`owner` (string): Repository owner (username or organization)

File content and commit details

`owner` (string): Repository owner

Updated branch reference

`query` (string): Search query

Repository search results

`name` (string): Repository name

Created repository details

`owner` (string): Repository owner

File/directory contents

`owner` (string): Repository owner

Created issue details

`owner` (string): Repository owner

Created pull request details

`owner` (string): Repository owner

Forked repository details

`owner` (string): Repository owner

Created branch reference

`owner` (string): Repository owner

List of commits

`owner` (string): Repository owner

Github Issue object & details

`owner` (string): Repository owner

Pull request details including diff and review status

`owner` (string): Repository owner

Array of pull request details

`owner` (string): Repository owner

Created review details

`owner` (string): Repository owner

Merge result details

`owner` (string): Repository owner

Array of changed files with patch and status details

`owner` (string): Repository owner

Combined status check results and individual check details

`owner` (string): Repository owner

Success message when branch is updated

`owner` (string): Repository owner

Array of pull request review comments with details like the comment text, author, and location in the diff

`owner` (string): Repository owner

Array of pull request reviews with details like the review state (APPROVED, CHANGES_REQUESTED, etc.), reviewer, and review body

`owner` (string): Repository owner

Created comment details

`owner` (string): Repository owner

概要

What is GitHub MCP Server?

An MCP (Model Context Protocol) server that wraps the GitHub API, enabling file operations, repository management, search functionality, issue and pull request handling, and more. It is designed for developers and AI agents who need programmatic access to GitHub via the MCP protocol.

How to use GitHub MCP Server?

The server exposes 28 tools, each with defined inputs and outputs. Invoke it through an MCP client by calling the desired tool with the required parameters (owner, repo, branch, etc.). The README lists all tools and their complete parameter schemas.

Key features of GitHub MCP Server

  • Automatic branch creation when missing
  • Comprehensive error handling with clear messages
  • Git history preservation (no force pushes)
  • Batch file operations via push_files
  • Advanced search for code, issues/PRs, and users
  • Support for pull request reviews and comments

Use cases of GitHub MCP Server

  • Automating repository file creation and updates across multiple files
  • Managing issues and pull requests (create, update, comment, merge)
  • Searching code repositories, issues, and users programmatically
  • Adding line-specific or summary comments on pull requests
  • Retrieving commit history and file changes in pull requests

FAQ from GitHub MCP Server

Is the development of this server still active here?

No. Development has moved to the repository at https://github.com/195440/server-github-mcp. The current repository is deprecated.

What tools does the server provide?

The server provides 28 tools covering file operations (create/update, push multiple files), repository management (create, fork, search), issues, pull requests (create, review, merge, get comments, update branch), and search (code, issues, users).

How are errors handled?

The server includes comprehensive error handling that returns clear, descriptive error messages for common issues such as missing parameters or authentication failures.

Does the server preserve Git history during file operations?

Yes. File creation and update operations maintain proper Git history and do not force push. Branches are automatically created if they do not already exist.

Can I perform batch operations?

Yes. The push_files tool allows pushing multiple files in a single commit, supporting batch file operations.

コメント

「バージョン管理」の他のコンテンツ