GitHub MCP Server
JSON →An MCP server for interacting with GitHub, allowing you to manage repositories, issues, and pull requests.
Tools · 28
- create_or_update_file Create or update a file in a GitHub repository
- push_files Push multiple files to a GitHub repository
- search_repositories Search for GitHub repositories
- create_repository Create a new GitHub repository
- get_file_contents Get the contents of a file from a GitHub repository
- fork_repository Fork a GitHub repository
- create_branch Create a new branch in a GitHub repository
- list_commits List commits in a GitHub repository
- list_issues List issues in a GitHub repository
- create_issue Create a new issue in a GitHub repository
- create_pull_request Create a new pull request in a GitHub repository
- merge_pull_request Merge a pull request in a GitHub repository
- get_pull_request Get details of a pull request in a GitHub repository
- list_pull_requests List pull requests in a GitHub repository
- create_pull_request_review Create a review on a pull request
- get_pull_request_comments Get comments on a pull request
- add_issue_comment Add a comment to an issue
- search_code Search for code in GitHub repositories
- search_issues Search for issues in GitHub repositories
- search_users Search for GitHub users
- get_issue Get details of an issue in a GitHub repository
- get_pull_request_files Get the list of files changed in a pull request
- get_pull_request_status Get the status of all combined statuses for a pull request
- update_pull_request_branch Update a pull request branch with the latest changes from the base branch
- get_commit Get details of a specific commit in a GitHub repository
- get_commit_diff Get the diff for a specific commit in a GitHub repository
- create_or_update_file_contents Create or update a file's contents in a GitHub repository
- get_me Get details of the authenticated GitHub user
Environment variables
GITHUB_TOKEN