Github MCP Server Java
JSON →A production-ready MCP server that connects any MCP-compatible AI agent to the GitHub API. Manage repositories, issues, pull requests, and search â all through natural language.
Install
npx @modelcontextprotocol/inspector Tools · 39
- create_repository Create a new repository
- fork_repository Fork a repository
- get_repository Get repository details
- list_commits List commits in a repository
- get_commit Get a specific commit
- get_file_contents Get file contents from a repository
- create_or_update_file Create or update a file in a repository
- delete_file Delete a file from a repository
- create_branch Create a new branch
- list_branches List branches in a repository
- merge_branch Merge a branch
- create_issue Create a new issue
- update_issue Update an existing issue
- add_issue_comment Add a comment to an issue
- list_issues List issues in a repository
- get_issue Get a specific issue
- close_issue Close an issue
- reopen_issue Reopen a closed issue
- assign_issue Assign an issue to a user
- unassign_issue Unassign an issue
- add_issue_labels Add labels to an issue
- remove_issue_label Remove a label from an issue
- create_pull_request Create a new pull request
- update_pull_request Update a pull request
- list_pull_requests List pull requests in a repository
- get_pull_request Get a specific pull request
- merge_pull_request Merge a pull request
- close_pull_request Close a pull request
- reopen_pull_request Reopen a closed pull request
- add_pull_request_comment Add a comment to a pull request
- create_pull_request_review Create a review for a pull request
- submit_pull_request_review Submit a pull request review
- search_code Search for code
- search_issues Search for issues
- search_repositories Search for repositories
- search_users Search for users
- get_authenticated_user Get the authenticated user
- get_user Get a specific user
- list_user_repositories List repositories for a user
Environment variables
GITHUB_PERSONAL_ACCESS_TOKENGITHUB_HOST