Skip to main content
Glama
gourav221b

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

ParametersJSON Schema
NameRequiredDescriptionDefault
ownerYesGitHub repository owner
pullNumberYesPull request number
repoYesGitHub repository name
tokenNoGitHub personal access token (optional)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions what data is retrieved but fails to describe critical behaviors such as authentication requirements (though the token parameter is optional in the schema), rate limits, error handling, or response format. For a tool with no annotations, this leaves the agent with insufficient operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core action and details without waste. Every word earns its place by specifying the resource and the scope of information retrieved, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of retrieving detailed PR data and the lack of annotations and output schema, the description is incomplete. It does not cover behavioral aspects like authentication, rate limits, or response structure, which are crucial for an agent to use the tool effectively. The description alone is insufficient for safe and informed tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, so the schema already documents all parameters (owner, repo, pullNumber, token). The description does not add any meaning beyond what the schema provides, such as explaining parameter interactions or constraints. Baseline 3 is appropriate as the schema handles parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('detailed information about a GitHub Pull Request'), and specifies what information is included ('files, diff, comments, and reviews'). It distinguishes the scope of data retrieved, though without sibling tools, differentiation isn't applicable. The purpose is specific and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or context for invocation. It lacks any mention of when-not-to-use scenarios or comparisons to other tools, which is a significant gap despite the absence of sibling tools. Usage is implied by the name and description but not explicitly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3/5.0
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
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    2,013
    MIT
  • A
    license
    B
    quality
    C
    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
  • F
    license
    Not graded
    quality
    D
    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.
    11

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gourav221b/Github-PR-MCP-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server