GitHub PR MCP Server logo

GitHub PR MCP Server

by ibraheem4

An enhanced GitHub Pull Request management server built on the Model Context Protocol (MCP). This server extends the base @modelcontextprotocol/server-github functionality with rich PR creation features, providing a more structured and comprehensive pull request workflow.

View on GitHub

Last updated: N/A

What is GitHub PR MCP Server?

This MCP server enhances GitHub pull request management by providing structured PR templates, rich media attachment support, automated quality checklists, advanced issue linking and tracking, and seamless integration with existing GitHub workflows.

How to use GitHub PR MCP Server?

The server can be used via NPX or by building locally. It requires a GitHub Personal Access Token with repo scope and a pull request template file. Configuration for MCP clients like Claude Desktop and VSCode is provided, allowing the server to run alongside the base GitHub server.

Key features of GitHub PR MCP Server

  • Complete Base Server Compatibility

  • Enhanced PR Creation with structured templates

  • Checklist items for PR quality

  • Media attachments support

  • Labels, reviewers, and assignees management

  • Issue linking and tagging

Use cases of GitHub PR MCP Server

  • Creating structured pull requests with predefined sections

  • Attaching rich media to pull requests

  • Automating pull request quality checks

  • Linking and tracking issues related to pull requests

FAQ from GitHub PR MCP Server

What is the Model Context Protocol (MCP)?

The README doesn't explicitly define MCP, but it's implied to be a protocol for managing and interacting with models, likely in a development context.

What is the recommended way to install the server?

The recommended way is to use NPX to run the server directly.

What environment variables are required?

The server requires a GitHub Personal Access Token and a Linear API Key.

How do I configure the server for Claude Desktop?

The README provides the configuration file path and JSON structure to add the server to Claude Desktop settings.

Can the enhanced GitHub PR server run alongside the base GitHub server?

Yes, both servers can run simultaneously, with the base server providing standard GitHub operations and the enhanced server adding rich PR features.