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.
GitHub PR MCP Server
An MCP (Model Context Protocol) server built with TypeScript for analyzing GitHub Pull Requests.
Prerequisites
Installation
Installing via Smithery
To install GitHub PR MCP Server for Claude Desktop automatically via Smithery:
Manual Installation
- Clone the repository:
- Navigate to the project directory:
- Install dependencies:
- Build the project:
- Add the path to MCP Client Config:
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.
A TypeScript server that analyzes GitHub Pull Requests using the Model-Controller-Presenter pattern.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.Last updated -129Python
- -securityAlicense-qualityAn MCP server that fetches GitHub Pull Request comments with file paths, line ranges, and replies using a GitHub personal access token.Last updated -TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.Last updated -1TypeScript
- -securityFlicense-qualityA tool that integrates with GitHub and Notion to analyze and review pull requests, enabling automated code reviews and documentation in Notion.Last updated -Python