GitHub MCP Server Plus

GitHub MCP Server Plus

mcp-github-server-plus•byphialsbasement

An MCP server for the GitHub API offering file operations, repository management, and search functionality through a set of GitHub tools.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Creates or updates files in a repository and can push multiple files in a single commit, either from content or filesystem paths.
  • •Searches repositories, code, issues and pull requests, and users.
  • •Automatically creates branches if they don't exist and preserves Git history without force pushing when creating or updating files.
  • •Manages issues and pull requests, including creating and updating issues, reviewing, merging, and checking pull request status.

BEST FOR

  • •Automating GitHub file edits and multi-file commits on branches from an MCP-enabled assistant.
  • •Searching code, issues, pull requests, and users across GitHub.
  • •Managing the issue and pull request workflow, including reviews and merges.

ABOUT MCP-GITHUB-SERVER-PLUS

GitHub MCP Server Plus is cataloged as an MCP server attributed to phialsbasement. An MCP server for the GitHub API offering file operations, repository management, and search functionality through a set of GitHub tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for GitHub MCP Server Plus are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 766ce4dec200 · 采集于 2026-11-13 10:22:47 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MseeP.ai Security Assessment Badge

GitHub MCP Server Plus

npm downloads

MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.

GitHub Server Plus MCP server

Features

  • Automatic Branch Creation: When creating/updating files or pushing changes, branches are automatically created if they don't exist
  • Comprehensive Error Handling: Clear error messages for common issues
  • Git History Preservation: Operations maintain proper Git history without force pushing
  • Batch Operations: Support for both single-file and multi-file operations with content or file paths
  • Advanced Search: Support for searching code, issues/PRs, and users

Tools

  1. create_or_update_file

    • Create or update a single file in a repository
    • Inputs:
      • owner (string): Repository owner (username or organization)
      • repo (string): Repository name
      • path (string): Path where to create/update the file
      • content (string): Content of the file
      • message (string): Commit message
      • branch (string): Branch to create/update the file in
      • sha (optional string): SHA of file being replaced (for updates)
    • Returns: File content and commit details
  2. push_files_content

    • Push multiple files with direct content in a single commit
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • branch (string): Branch to push to
      • files (array): Files to push, each with path and content
      • message (string): Commit message
    • Returns: Updated branch reference
  3. push_files_from_path

    • Push multiple files from filesystem paths in a single commit
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • branch (string): Branch to push to
      • files (array): Files to push, each with:
        • path (string): Target path in the repository
        • filepath (string): Source filesystem path to read from
      • message (string): Commit message
    • Returns: Updated branch reference
  4. search_repositories

    • Search for GitHub repositories
    • Inputs:
      • query (string): Search query
      • page (optional number): Page number for pagination
      • perPage (optional number): Results per page (max 100)
    • Returns: Repository search results
  5. create_repository

    • Create a new GitHub repository
    • Inputs:
      • name (string): Repository name
      • description (optional string): Repository description
      • private (optional boolean): Whether repo should be private
      • autoInit (optional boolean): Initialize with README
    • Returns: Created repository details
  6. get_file_contents

    • Get contents of a file or directory
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • path (string): Path to file/directory
      • branch (optional string): Branch to get contents from
    • Returns: File/directory contents
  7. create_issue

    • Create a new issue
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • title (string): Issue title
      • body (optional string): Issue description
      • assignees (optional string[]): Usernames to assign
      • labels (optional string[]): Labels to add
      • milestone (optional number): Milestone number
    • Returns: Created issue details
  8. create_pull_request

    • Create a new pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • title (string): PR title
      • body (optional string): PR description
      • head (string): Branch containing changes
      • base (string): Branch to merge into
      • draft (optional boolean): Create as draft PR
      • maintainer_can_modify (optional boolean): Allow maintainer edits
    • Returns: Created pull request details
  9. fork_repository

    • Fork a repository
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • organization (optional string): Organization to fork to
    • Returns: Forked repository details
  10. create_branch

    • Create a new branch
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • branch (string): Name for new branch
      • from_branch (optional string): Source branch (defaults to repo default)
    • Returns: Created branch reference
  11. list_issues

    • List and filter repository issues
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • state (optional string): Filter by state ('open', 'closed', 'all')
      • labels (optional string[]): Filter by labels
      • sort (optional string): Sort by ('created', 'updated', 'comments')
      • direction (optional string): Sort direction ('asc', 'desc')
      • since (optional string): Filter by date (ISO 8601 timestamp)
      • page (optional number): Page number
      • per_page (optional number): Results per page
    • Returns: Array of issue details
  12. update_issue

    • Update an existing issue
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • issue_number (number): Issue number to update
      • title (optional string): New title
      • body (optional string): New description
      • state (optional string): New state ('open' or 'closed')
      • labels (optional string[]): New labels
      • assignees (optional string[]): New assignees
      • milestone (optional number): New milestone number
    • Returns: Updated issue details
  13. add_issue_comment

    • Add a comment to an issue
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • issue_number (number): Issue number to comment on
      • body (string): Comment text
    • Returns: Created comment details
  14. search_code

    • Search for code across GitHub repositories
    • Inputs:
      • q (string): Search query using GitHub code search syntax
      • sort (optional string): Sort field ('indexed' only)
      • order (optional string): Sort order ('asc' or 'desc')
      • per_page (optional number): Results per page (max 100)
      • page (optional number): Page number
    • Returns: Code search results with repository context
  15. search_issues

    • Search for issues and pull requests
    • Inputs:
      • q (string): Search query using GitHub issues search syntax
      • sort (optional string): Sort field (comments, reactions, created, etc.)
      • order (optional string): Sort order ('asc' or 'desc')
      • per_page (optional number): Results per page (max 100)
      • page (optional number): Page number
    • Returns: Issue and pull request search results
  16. search_users

    • Search for GitHub users
    • Inputs:
      • q (string): Search query using GitHub users search syntax
      • sort (optional string): Sort field (followers, repositories, joined)
      • order (optional string): Sort order ('asc' or 'desc')
      • per_page (optional number): Results per page (max 100)
      • page (optional number): Page number
    • Returns: User search results
  17. list_commits

    • Gets commits of a branch in a repository
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • page (optional string): page number
      • per_page (optional string): number of record per page
      • sha (optional string): branch name
    • Returns: List of commits
  18. get_issue

    • Gets the contents of an issue within a repository
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • issue_number (number): Issue number to retrieve
    • Returns: GitHub Issue object & details
  19. get_pull_request

    • Get details of a specific pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
    • Returns: Pull request details including diff and review status
  20. list_pull_requests

    • List and filter repository pull requests
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • state (optional string): Filter by state ('open', 'closed', 'all')
      • head (optional string): Filter by head user/org and branch
      • base (optional string): Filter by base branch
      • sort (optional string): Sort by ('created', 'updated', 'popularity', 'long-running')
      • direction (optional string): Sort direction ('asc', 'desc')
      • per_page (optional number): Results per page (max 100)
      • page (optional number): Page number
    • Returns: Array of pull request details
  21. create_pull_request_review

    • Create a review on a pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
      • body (string): Review comment text
      • event (string): Review action ('APPROVE', 'REQUEST_CHANGES', 'COMMENT')
      • commit_id (optional string): SHA of commit to review
      • comments (optional array): Line-specific comments, each with:
        • path (string): File path
        • position (number): Line position in diff
        • body (string): Comment text
    • Returns: Created review details
  22. merge_pull_request

    • Merge a pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
      • commit_title (optional string): Title for merge commit
      • commit_message (optional string): Extra detail for merge commit
      • merge_method (optional string): Merge method ('merge', 'squash', 'rebase')
    • Returns: Merge result details
  23. get_pull_request_files

    • Get the list of files changed in a pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
    • Returns: Array of changed files with patch and status details
  24. get_pull_request_status

    • Get the combined status of all status checks for a pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
    • Returns: Combined status check results and individual check details
  25. update_pull_request_branch

    • Update a pull request branch with the latest changes from the base branch
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
      • expected_head_sha (optional string): The expected SHA of the pull request's HEAD ref
    • Returns: Success message when branch is updated
  26. get_pull_request_comments

    • Get the review comments on a pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
    • Returns: Array of pull request review comments
  27. get_pull_request_reviews

    • Get the reviews on a pull request
    • Inputs:
      • owner (string): Repository owner
      • repo (string): Repository name
      • pull_number (number): Pull request number
    • Returns: Array of pull request reviews

Search Query Syntax

  • language:javascript: Search by programming language
  • repo:owner/name: Search in specific repository
  • path:app/src: Search in specific path
  • extension:js: Search by file extension
  • Example: q: "import express" language:typescript path:src/
  • is:issue or is:pr: Filter by type
  • is:open or is:closed: Filter by state
  • label:bug: Search by label
  • author:username: Search by author
  • Example: q: "memory leak" is:issue is:open label:bug
  • type:user or type:org: Filter by account type
  • followers:>1000: Filter by followers
  • location:London: Search by location
  • Example: q: "fullstack developer" location:London followers:>100

For detailed search syntax, see GitHub's searching documentation.

Setup

Personal Access Token

Create a GitHub Personal Access Token with appropriate permissions:

  • Go to Personal access tokens (in GitHub Settings > Developer settings)
  • Select which repositories you'd like this token to have access to (Public, All, or Select)
  • Create a token with the repo scope ("Full control of private repositories")
    • Alternatively, if working only with public repositories, select only the public_repo scope
  • Copy the generated token

Usage with Claude Desktop

To use this with Claude Desktop, add the following to your claude_desktop_config.json:

Docker

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

NPX

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

Build

Docker build:

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

License

This MCP server is licensed under the 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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for GitHub MCP Server Plus from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-github-server-plus)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools