GitHub PR MCP Server
Claude MCP Server for Github with Linear integration
Overview
GitHub PR MCP Server is an enhanced server for managing GitHub Pull Requests using the Model Context Protocol (MCP), providing a structured and comprehensive workflow for PR creation.
To use the server, you can run it directly using npx or build it locally. Ensure you have the required GitHub Personal Access Token and Linear API Key set up in your environment.
- Structured PR templates with predefined sections - Rich media attachment support - Automated quality checklists - Advanced issue linking and tracking - Compatibility with existing GitHub workflows
- Creating detailed pull requests with structured information.
- Managing PRs with automated quality checks.
- Integrating with Linear for issue tracking.
Add to your AI client
Use these steps to connect GitHub PR MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"github-mcp-ibraheem4": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-ibraheem4"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"github-mcp-ibraheem4": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-ibraheem4"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"github-mcp-ibraheem4": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-ibraheem4"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"github-mcp-ibraheem4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-ibraheem4"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"github-mcp-ibraheem4": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-ibraheem4"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"github-mcp-ibraheem4": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github-mcp-ibraheem4"
]
}
}
}FAQ
**What are the prerequisites for using the server?**
You need Node.js 18+, a GitHub Personal Access Token, and a Linear API Key.
**Can I run this server alongside the base GitHub server?**
Yes, both servers can run simultaneously, allowing you to choose based on your needs.
**How do I troubleshoot common issues?**
Check your GitHub token permissions, ensure environment variables are set correctly, and verify Node.js version compatibility.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1086,"uuid":"024b2806-05b4-441f-b92c-deab3bd0e906","name":"github-mcp","title":"GitHub PR MCP Server","description":"Claude MCP Server for Github with Linear integration","avatar_url":"https://avatars.githubusercontent.com/u/998180?v=4","created_at":"2025-01-28T02:30:26.647Z","updated_at":"2025-02-23T07:20:08.056Z","status":"created","author_name":"ibraheem4","author_avatar_url":"https://avatars.githubusercontent.com/u/998180?v=4","tags":"github,pull-request,mcp,server,integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ibraheem4/github-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]