GitHub PR MCP Server
The GitHub PR MCP Server is designed to analyze and extract detailed information about GitHub Pull Requests.
With this server, you can:
Fetch comprehensive PR details including files changed, diff content, comments, and reviews
Specify target repositories by owner, name, and pull request number
Optionally authenticate using a GitHub personal access token for access to private repositories
Benefit from schema validation ensuring accurate data processing
Leverage TypeScript-based implementation for robust, type-safe operations
Enables analysis of GitHub Pull Requests, allowing users to extract information and insights from PRs through an MCP server architecture.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub PR MCP Server analyze the latest pull request in my repo for potential conflicts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub PR MCP Server
An MCP (Model Context Protocol) server built with TypeScript for analyzing GitHub Pull Requests.
Prerequisites
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 claudeManual Installation
Clone the repository:
git clone https://github.com/gourav221b/Github-PR-MCP-server.gitNavigate to the project directory:
cd Github-PR-MCP-serverInstall dependencies:
npm installBuild the project:
npm run buildAdd 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 toolget-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
Scored across 1 tool
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.
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.
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.
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
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Ship production-ready TypeScript code in half the time, at half the cost.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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
- AlicenseBqualityDmaintenanceA 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.6Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA TypeScript MCP server that validates codebases against configurable rules. It analyzes files for violations and generates JSON reports, supporting custom rule definitions and file extensions.-
- AlicenseBqualityCmaintenanceA Model Context Protocol server that exposes tools and resources for fetching GitHub user profiles and weather data, with a React interface and clean architecture.9MIT