s2005/mcp-github-server
If you are the rightful owner of mcp-github-server 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 standalone implementation extracted from the modelcontextprotocol/servers project. It provides a comprehensive interface for interacting with the GitHub API, allowing users to perform a wide range of operations such as file management, repository creation, issue tracking, and advanced search functionalities. The server is designed to facilitate seamless integration with GitHub, offering features like automatic branch creation, comprehensive error handling, and batch operations. It supports both single-file and multi-file operations, ensuring that Git history is preserved without the need for force pushing. Additionally, the server includes advanced search capabilities, enabling users to search for code, issues, pull requests, and users across GitHub repositories. The server is highly configurable and can be used with various platforms, including Docker and NPX, making it a versatile tool for developers and organizations 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
Create or update a single file
push_files
Push multiple files
search_repositories
Search for GitHub repository
create_repository
Create a new repository
get_file_contents
Get file/directory content
create_issue
Create a new question
create_pull_request
Create a new PR
fork_repository
Forked warehouse
create_branch
Create a new branch
list_issues
List and filter questions
update_issue
Update question
add_issue_comment
Add a question comment
search_code
Search for code
search_issues
Search questions and PR
search_users
Search for users
list_commits
Get branch commit
get_issue
Get the question content
get_pull_request
Get PR details
list_pull_requests
List and filter PR
create_pull_request_review
Create PR review
merge_pull_request
Merge PR
get_pull_request_files
Get PR Change File
get_pull_request_status
Get PR status check
update_pull_request_branch
Update PR branch
get_pull_request_comments
Get PR Reviews
get_pull_request_reviews
Get PR Review