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.
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. Configure the server within MCP clients like Claude Desktop or VSCode by adding it to the MCP settings file, ensuring the necessary environment variables (GITHUB_TOKEN, LINEAR_API_KEY) are set.
Key features of GitHub PR MCP Server
Complete Base Server Compatibility
Enhanced PR Creation with structured templates
Rich media attachment support
Automated quality checklists
Advanced 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 within pull requests
FAQ from GitHub PR MCP Server
How do I authenticate with GitHub?
How do I authenticate with GitHub?
You need to create a GitHub Personal Access Token with repo
scope and provide it as the GITHUB_TOKEN
environment variable.
What is the purpose of the Linear API Key?
What is the purpose of the Linear API Key?
The Linear API Key is required for Linear API access. Generate an API key at https://linear.app/settings/api and set it as the LINEAR_API_KEY
environment variable.
How do I configure the server in Claude Desktop?
How do I configure the server in Claude Desktop?
Open Claude Desktop settings (location varies by OS) and add the server configuration to the mcpServers
section, specifying the command, arguments, and environment variables.
Can I run both the base GitHub server and the enhanced PR server simultaneously?
Can I run both the base GitHub server and the enhanced PR server simultaneously?
Yes, both servers can run simultaneously. The base server provides standard GitHub operations, while the enhanced PR server adds rich PR creation features.
What if I encounter authentication errors?
What if I encounter authentication errors?
Verify your GitHub token has the required permissions, ensure the token is correctly set in your environment, and check the token expiration date.