drio
Open app

GitHub PR MCP Server

Source

An MCP server with typescript for github PR analysis

Catalog onlyCatalog onlySTDIO

Overview

GitHub PR MCP Server is an MCP (Model-Controller-Presenter) server built with TypeScript for analyzing GitHub Pull Requests.

To use the server, clone the repository, navigate to the project directory, install dependencies, build the project, and run the server using Node.js.

  • Analyzes GitHub Pull Requests using the MCP architecture. - Built with TypeScript for type safety and modern JavaScript features. - Easy to set up and run with Node.js.
  1. Analyzing code changes in pull requests.
  2. Integrating with CI/CD pipelines for automated code reviews.
  3. Enhancing collaboration among developers by providing insights on pull requests.

Add to your AI client

Use these steps to connect GitHub PR MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "github-pr-mcp-server-gourav221b": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-pr-mcp-server-gourav221b"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "github-pr-mcp-server-gourav221b": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-pr-mcp-server-gourav221b"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "github-pr-mcp-server-gourav221b": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-pr-mcp-server-gourav221b"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "github-pr-mcp-server-gourav221b": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-pr-mcp-server-gourav221b"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "github-pr-mcp-server-gourav221b": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-pr-mcp-server-gourav221b"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "github-pr-mcp-server-gourav221b": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github-pr-mcp-server-gourav221b"
      ]
    }
  }
}

FAQ

What are the prerequisites to run the server?

You need Node.js (version 14 or higher) and npm.

How do I install the server?

Clone the repository, navigate to the project directory, install dependencies, and build the project.

Can I contribute to this project?

Yes! Contributions are welcome. Please fork the repository and create a pull request.