mcp-github-server
0
The GitHub MCP Server is designed to interact with the GitHub API, providing a suite of tools for file operations, repository management, and search capabilities. It offers advanced features like automatic branch creation, comprehensive error handling, and Git history preservation, making it a convenient choice for developers working with GitHub repositories.
GitHub MCP Server
MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.
Features
- Automatic Branch Creation
- Comprehensive Error Handling
- Git History Preservation
- Batch Operations
- Advanced Search
Tools
- Create or update a single file in a repository
- Push multiple files in a single commit
- Search for GitHub repositories
- Create a new GitHub repository
- Get contents of a file or directory
- Create a new issue
- Create a new pull request
- Fork a repository
- Create a new branch
- List and filter repository issues
- Update an existing issue
- Add a comment to an issue
- Search for code across GitHub repositories
- Search for issues and pull requests
- Search for GitHub users
- Gets commits of a branch in a repository
- Gets the contents of an issue within a repository
- Get details of a specific pull request
- List and filter repository pull requests
- Create a review on a pull request
- Merge a pull request
- Get the list of files changed in a pull request
- Get the combined status of all status checks for a pull request
- Update a pull request branch with latest changes
- Get the review comments on a pull request
- Get the reviews on a pull request
Setup
- Create a GitHub Personal Access Token with appropriate permissions.
- Usage with Claude Desktop or NPX configurations available.
Build
- Docker build:
docker build -t mcp/github -f Dockerfile .
License
- This MCP server is licensed under the MIT License.