Basic information
About Server Github MCP (PR Comment)
what is GitHub MCP Server?
Server Github MCP (PR Comment) is a MCP server in the Version Control category listed in the AddMCP.net directory, published by 195440. It exposes 28 tools, including create_or_update_file, search_repositories, create_repository, get_file_contents and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: api-integration, github, repository-management.
Setup
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@rz195440/server-github-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@rz195440/server-github-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
{
"servers": {
"github": {
"command": "npx",
"args": [
"-y",
"@rz195440/server-github-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Server Github MCP (PR Comment) 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>"
}
}
}
}
Server Github MCP (PR Comment) tools
-
create_or_update_file
— Create or update a single file in a GitHub repository
owner:string*, repo:string*, path:string*, content:string*, message:string*, branch:string*, sha:string -
search_repositories
— Search for GitHub repositories
query:string*, page:number, perPage:number -
create_repository
— Create a new GitHub repository in your account
name:string*, description:string, private:boolean, autoInit:boolean -
get_file_contents
— Get the contents of a file or directory from a GitHub repository
owner:string*, repo:string*, path:string*, branch:string -
push_files
— Push multiple files to a GitHub repository in a single commit
owner:string*, repo:string*, branch:string*, files:array*, message:string* -
create_issue
— Create a new issue in a GitHub repository
owner:string*, repo:string*, title:string*, body:string, assignees:array, milestone:number, labels:array -
create_pull_request
— Create a new pull request in a GitHub repository
owner:string*, repo:string*, title:string*, body:string, head:string*, base:string*, draft:boolean, maintainer_can_modify:boolean -
fork_repository
— Fork a GitHub repository to your account or specified organization
owner:string*, repo:string*, organization:string -
create_branch
— Create a new branch in a GitHub repository
owner:string*, repo:string*, branch:string*, from_branch:string -
list_commits
— Get list of commits of a branch in a GitHub repository
owner:string*, repo:string*, sha:string, page:number, perPage:number -
list_issues
— List issues in a GitHub repository with filtering options
owner:string*, repo:string*, direction:string, labels:array, page:number, per_page:number, since:string, sort:string, state:string -
update_issue
— Update an existing issue in a GitHub repository
owner:string*, repo:string*, issue_number:number*, title:string, body:string, assignees:array, milestone:number, labels:array, state:string -
add_issue_comment
— Add a comment to an existing issue
owner:string*, repo:string*, issue_number:number*, body:string* -
search_code
— Search for code across GitHub repositories
q:string*, order:string, page:number, per_page:number -
search_issues
— Search for issues and pull requests across GitHub repositories
q:string*, order:string, page:number, per_page:number, sort:string -
search_users
— Search for users on GitHub
q:string*, order:string, page:number, per_page:number, sort:string -
get_issue
— Get details of a specific issue in a GitHub repository.
owner:string*, repo:string*, issue_number:number* -
get_pull_request
— Get details of a specific pull request
owner:string*, repo:string*, pull_number:number* -
list_pull_requests
— List and filter repository pull requests
owner:string*, repo:string*, state:string, head:string, base:string, sort:string, direction:string, per_page:number, page:number -
create_pull_request_review
— Create a review on a pull request
owner:string*, repo:string*, pull_number:number*, commit_id:string, body:string*, event:string*, comments:array -
merge_pull_request
— Merge a pull request
owner:string*, repo:string*, pull_number:number*, commit_title:string, commit_message:string, merge_method:string -
get_pull_request_files
— Get the list of files changed in a pull request
owner:string*, repo:string*, pull_number:number* -
get_pull_request_status
— Get the combined status of all status checks for a pull request
owner:string*, repo:string*, pull_number:number* -
update_pull_request_branch
— Update a pull request branch with the latest changes from the base branch
owner:string*, repo:string*, pull_number:number*, expected_head_sha:string -
get_pull_request_comments
— Get the review comments on a pull request
owner:string*, repo:string*, pull_number:number* -
get_pull_request_reviews
— Get the reviews on a pull request
owner:string*, repo:string*, pull_number:number* -
add_pr_summary_comment
— Add a summary comment to a GitHub pull request
owner:string*, repo:string*, pull_number:number*, body:string* -
add_pr_line_comment
— Add a line-specific comment to a GitHub pull request
owner:string*, repo:string*, pull_number:number*, body:string*, path:string*, line:number*
Overview
What is Server Github MCP (PR Comment)?
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 Server Github MCP (PR Comment)?
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 Server Github MCP (PR Comment)
- 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 Server Github MCP (PR Comment)
- 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
Frequently asked questions
1 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.
2 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).
3 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.
4 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.
5 Can I perform batch operations?
Yes. The push_files tool allows pushing multiple files in a single commit, supporting batch file operations.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In