mcp-github-helper

mcp-github-helper

3.4

GitHub PR Helper is a tool for creating GitHub Pull Requests and conducting code reviews using the GitHub CLI, eliminating manual permission handling.

GitHub PR Helper is a Model Context Protocol (MCP) service designed to streamline the process of creating GitHub Pull Requests (PRs) and conducting code reviews. By leveraging the GitHub CLI (gh), this service automates the creation of PRs based on user-provided details such as title, description, ticket number, and target branch. It also facilitates code reviews by allowing users to add comments directly to PRs. The service is designed to simplify the workflow by handling authentication automatically through the GitHub CLI, thus removing the need for manual token management. It supports various platforms and can be integrated into different development environments, making it a versatile tool for developers.

Features

  • Automated GitHub Pull Request creation with customizable titles and descriptions.
  • Code review facilitation by adding comments to PRs.
  • Integration with GitHub CLI for seamless authentication and permission management.
  • Support for multiple development environments and platforms.
  • Simplified setup and configuration process.

MCP Tools

  • create_pull_request: Creates a GitHub Pull Request with specified parameters.
  • add_pr_comment: Adds a comment to a specified line in a Pull Request.

Usage with Different Platforms

Roo Code (VSCode)


"github-pr-helper": {
  "command": "node",
  "args": ["/Users/aaron/CascadeProjects/app-github-pr-helper/src/mcp-server.js"],
  "disabled": false,
  "alwaysAllow": []
}

Claude (Anthropic)


"github-pr-helper": {
  "command": "node",
  "args": ["/Users/aaron/CascadeProjects/app-github-pr-helper/src/mcp-server.js"],
  "disabled": false,
  "alwaysAllow": []
}

Windsurf


"github-pr-helper": {
  "command": "node",
  "args": ["/Users/aaron/CascadeProjects/app-github-pr-helper/src/mcp-server.js"],
  "disabled": false,
  "alwaysAllow": []
}

Cursor


"cursor.experimental.mcp.servers": {
  "github-pr-helper": {
    "command": "node",
    "args": ["/Users/aaron/CascadeProjects/app-github-pr-helper/src/mcp-server.js"],
    "disabled": false,
    "alwaysAllow": []
  }
}