Skip to main content
Glama
GitHub PR MCP Server

GitHub PR MCP Server

by gourav221b

GitHub PR MCP Server

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)

Related MCP server: Drone CI MCP Server

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.

Available Tools

1 tool
get-pull-request-dataC

Get detailed information about a GitHub Pull Request including files, diff, comments, and reviews

Inputs: owner (required), pullNumber (required), repo (required), token.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as retrieving detailed pull request data, making it distinct by default.

    Naming Consistency5/5

    The single tool name follows a clear verb_noun pattern ('get-pull-request-data'), which is consistent within this minimal set. There are no other tools to compare against, so no inconsistency can arise.

    Tool Count2/5

    A server named 'GitHub PR MCP Server' implies a focus on pull requests, but having only one tool is too few for this domain. It lacks essential operations like creating, updating, merging, or listing pull requests, making it severely limited in scope.

    Completeness1/5

    The tool surface is severely incomplete for a GitHub PR server. It only provides read access to pull request data, missing core functionalities such as creating, updating, commenting on, or merging pull requests, which are critical for typical workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Node.js/TypeScript server implementing the Model Context Protocol that provides integrations with GitHub and Notion, allowing automated workflow between these platforms via API endpoints.
      ISC
    • A
      license
      B
      quality
      D
      maintenance
      A TypeScript-based MCP server scaffold designed for monitoring and interacting with Drone CI environments. It provides tools for webhook parsing, HMAC signature verification, and state management for CI/CD pipelines.
      6
      Apache 2.0
    • A
      license
      B
      quality
      C
      maintenance
      A Model Context Protocol server that exposes tools and resources for fetching GitHub user profiles and weather data, with a React interface and clean architecture.
      9
      MIT