mcp-github

mcp-github

3.2

If you are the rightful owner of mcp-github and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

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

The GitHub MCP Server is a comprehensive tool designed to facilitate seamless interactions with the GitHub API. It provides a robust set of features for managing repositories, handling file operations, conducting advanced searches, and managing projects. The server supports automatic branch creation, ensuring that branches are created as needed during file updates or changes. It also includes comprehensive error handling to provide clear messages for common issues, preserving Git history without force pushing, and supporting batch operations for both single and multi-file tasks. Additionally, the server offers advanced search capabilities across code, issues, pull requests, and users, along with a complete toolset for managing GitHub Projects (classic). This makes it an essential tool for developers and project managers looking to streamline their GitHub workflows.

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.
  • Advanced Search: Support for searching code, issues/PRs, and users.

Tools

  1. create_or_update_file

    Single file creation/update (automatically process branches

  2. push_files

    Multi-file atomic commit (single commit batch operation

  3. search_repositories

    Multi-condition repository search (paging support

  4. create_issue

    Creation of label/assignment issues

  5. create_pull_request

    Configurable PR creation (including draft mode

  6. get_pull_request_files

    Get the details of the PR change file (including diff

  7. add_card_to_column

    Add question/PR/note card in the Kanban column

  8. search_code

    Syntax-aware code search (supports language/path filtering

  9. update_project_v2

    Metadata update for new version of Projects