mcp-github
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
create_or_update_file
Single file creation/update (automatically process branches
push_files
Multi-file atomic commit (single commit batch operation
search_repositories
Multi-condition repository search (paging support
create_issue
Creation of label/assignment issues
create_pull_request
Configurable PR creation (including draft mode
get_pull_request_files
Get the details of the PR change file (including diff
add_card_to_column
Add question/PR/note card in the Kanban column
search_code
Syntax-aware code search (supports language/path filtering
update_project_v2
Metadata update for new version of Projects