mcp-github-server

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

  1. Create or update a single file in a repository
  2. Push multiple files in a single commit
  3. Search for GitHub repositories
  4. Create a new GitHub repository
  5. Get contents of a file or directory
  6. Create a new issue
  7. Create a new pull request
  8. Fork a repository
  9. Create a new branch
  10. List and filter repository issues
  11. Update an existing issue
  12. Add a comment to an issue
  13. Search for code across GitHub repositories
  14. Search for issues and pull requests
  15. Search for GitHub users
  16. Gets commits of a branch in a repository
  17. Gets the contents of an issue within a repository
  18. Get details of a specific pull request
  19. List and filter repository pull requests
  20. Create a review on a pull request
  21. Merge a pull request
  22. Get the list of files changed in a pull request
  23. Get the combined status of all status checks for a pull request
  24. Update a pull request branch with latest changes
  25. Get the review comments on a pull request
  26. 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.