GitHub Pull Request

by gourav221b

4 256 downloads Not rated yet MIT
GitHub

About

Retrieves detailed GitHub pull request information including files, diffs, comments, and reviews for code review assistance, PR summarization, or change analysis workflows.

Details

Repository
gourav221b/Github-PR-MCP-server
License
MIT

Explore

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name GitHub Pull Request
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 path/to/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Node.js (version 14 or higher)
- npm (comes with Node.js)

To install GitHub PR MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gourav221b/Github-PR-MCP-server --client claude

1. Clone the repository:

   git clone https://github.com/gourav221b/Github-PR-MCP-server.git
   

2. Navigate to the project directory:

   cd Github-PR-MCP-server
   

3. Install dependencies:

   npm install
   

4. Build the project:

   npm run build
   

5. Add the path to MCP Client Config:

   command: node
   args: path/to/build/index.js
   

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "github pull request": {
            "env": {},
            "args": [
                "path/to/build/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "path/to/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "env": [],
    "args": [
        "path/to/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "node",
        "path/to/build/index.js"
    ],
    "shell": false,
    "command": "cmd"
}

MseeP.ai Security Assessment Badge

GitHub PR MCP Server

smithery badge

<a href="https://glama.ai/mcp/servers/@gourav221b/Github-PR-MCP-server">
GitHub PR Server MCP server
</a>

An MCP (Model Context Protocol) server built with TypeScript for analyzing GitHub Pull Requests.

Prerequisites

- Node.js (version 14 or higher)
- npm (comes with Node.js)

Installation

Installing via Smithery

To install GitHub PR MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gourav221b/Github-PR-MCP-server --client claude

Manual Installation

1. Clone the repository:
   git clone https://github.com/gourav221b/Github-PR-MCP-server.git
   

2. Navigate to the project directory:

   cd Github-PR-MCP-server
   

3. Install dependencies:

   npm install
   

4. Build the project:

   npm run build
   

5. Add the path to MCP Client Config:

   command: node
   args: path/to/build/index.js
   

Project Structure

- src/: Contains the TypeScript source code.
- build/: Holds the compiled JavaScript files.
- package.json: Lists project dependencies and scripts.
- tsconfig.json: TypeScript configuration file.

Scripts

- npm run build: Compiles TypeScript files into JavaScript.
- npm start: Runs the compiled JavaScript server.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.