GitHub PR MCP Server
About
Claude MCP Server for Github with Linear integration
Explore
- 🔄 Complete Base Server Compatibility
- Create PRs with required fields (owner, repo, title, head, base)
- Optional fields support (body, draft, maintainer_can_modify)
- List and update PRs with matching schemas
- 🚀 Enhanced PR Creation
- Structured PR templates with sections:
- Overview
- Key Changes
- Code Highlights
- Testing Details
- Checklist items for PR quality
- Media attachments support
- Labels, reviewers, and assignees management
- Issue linking and tagging
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
GitHub PR MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Node.js 18+
- GitHub Personal Access Token with repo scope
- Pull request template file at .github/pull_request_template.md (example below)
export GITHUB_TOKEN=your_github_personal_access_token
npx @ibraheem4/github-mcp
The server requires both a GitHub Personal Access Token and a Linear API Key. You can provide these in two ways:
Copy .env.example to .env in the project root:
bashcp .env.example .env
Then edit .env to add your tokens:
env
When using the server through MCP clients (Claude Desktop, VSCode, etc.), configure the tokens in your MCP settings file as shown in the configuration examples below. This is the recommended approach as it keeps your tokens separate from the project files.
To obtain the required tokens:
1. GitHub Token: Create a personal access token at https://github.com/settings/tokens with repo scope
2. Linear API Key: Generate an API key at https://linear.app/settings/api
Start the MCP server:
npm start
For development:
npm run dev
This enhanced GitHub PR server can run alongside the base GitHub server in various environments. Here's how to configure each:
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"github pr mcp server": {
"github-mcp": {
"command": "npx",
"args": [
"@ibraheem4/github-mcp"
]
}
}
}
}
McpServers
{
"github-mcp": {
"command": "npx",
"args": [
"@ibraheem4/github-mcp"
]
}
}
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.
Overview
This MCP server enhances GitHub pull request management by providing:
- Structured PR templates with predefined sections
- Rich media attachment support
- Automated quality checklists
- Advanced issue linking and tracking
- Seamless integration with existing GitHub workflows
Features
- 🔄 Complete Base Server Compatibility
- Create PRs with required fields (owner, repo, title, head, base)
- Optional fields support (body, draft, maintainer_can_modify)
- List and update PRs with matching schemas
- 🚀 Enhanced PR Creation
- Structured PR templates with sections:
- Overview
- Key Changes
- Code Highlights
- Testing Details
- Checklist items for PR quality
- Media attachments support
- Labels, reviewers, and assignees management
- Issue linking and tagging
Prerequisites
- Node.js 18+
- GitHub Personal Access Token with repo scope
- Pull request template file at .github/pull_request_template.md (example below)
Example PR Template
Create .github/pull_request_template.md with sections that match the enhanced PR features:
## Overview
Summarize the purpose and scope of this PR.
---
Key Changes
List the key changes made in this PR.
---
Code Highlights
Identify important code sections that reviewers should focus on.
---
Testing
Outline testing approach and results.
---
Links
Include relevant links and references.
---
Additional Notes
Provide any extra context or notes for reviewers.
---
Issue Tagging
Link related issues here.
---
Installation
You can use this server in two ways:
Option 1: NPX (Recommended)
Run directly using npx:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



