Productivity & Projects · Developer Tools · IT & Security

GitHub MCP

GitHub MCP lets agents work with repositories, issues, pull requests, users, actions, projects, notifications, code security, and other authorized GitHub surfaces.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add issue comment

    Add a comment and/or reaction to a specific issue or issue comment in a GitHub repository. Use this tool with pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add or react to review comments. At least one of body or reaction is required.

  • Add reply to pull request comment

    Add a reply and/or reaction to an existing pull request comment. This can create a new comment linked as a reply to the specified comment, add an emoji reaction to the specified comment, or do both. At least one of body or reaction is required.

  • Create or update file

    Create or update a single file in a GitHub repository. If updating, you should provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations. To obtain the current blob SHA before updating, call the get_file_contents tool with the same owner, repo, and path, and set its ref parameter to this tool's branch value. The first text result reports the blob SHA for the requested path. SHA MUST be provided for existing file updates.

  • Issue write

    Create a new or update an existing issue in a GitHub repository.

  • Push files

    Push multiple files to a GitHub repository in a single commit

  • Sub issue write

    Add a sub-issue to a parent issue in a GitHub repository.

  • Update pull request

    Update an existing pull request in a GitHub repository.

  • Update pull request branch

    Update the branch of a pull request with the latest changes from the base branch.