MCP.so
Sign In
S

Server Github MCP (PR Comment)

@195440

About Server Github MCP (PR Comment)

what is GitHub MCP Server?

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

28

Create or update a single file in a GitHub repository

Search for GitHub repositories

Create a new GitHub repository in your account

Get the contents of a file or directory from a GitHub repository

Push multiple files to a GitHub repository in a single commit

Create a new issue in a GitHub repository

Create a new pull request in a GitHub repository

Fork a GitHub repository to your account or specified organization

Create a new branch in a GitHub repository

Get list of commits of a branch in a GitHub repository

List issues in a GitHub repository with filtering options

Update an existing issue in a GitHub repository

Add a comment to an existing issue

Search for code across GitHub repositories

Search for issues and pull requests across GitHub repositories

Search for users on GitHub

Get details of a specific issue in a GitHub repository.

Get details of a specific pull request

List and filter repository pull requests

Create a review on a pull request

Merge a pull request

Get the list of files changed in a pull request

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

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

Get the review comments on a pull request

Get the reviews on a pull request

Add a summary comment to a GitHub pull request

Add a line-specific comment to a GitHub pull request

Overview

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.

Frequently asked questions

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.

Comments

More Version Control MCP servers