drio
Open app

GitHub PR MCP Server

Source

Claude MCP Server for Github with Linear integration

Catalog onlyCatalog onlySTDIO

Overview

The GitHub PR MCP Server is an enhanced management tool for GitHub Pull Requests built on the Model Context Protocol (MCP), designed to streamline and enrich the pull request workflow.

To use the server, clone the repository, install dependencies, and run the server. Configure it with your GitHub Personal Access Token and set up a pull request template to utilize its features.

  • Structured PR templates with predefined sections - Rich media attachment support - Automated quality checklists - Advanced issue linking and tracking - Compatibility with existing GitHub workflows
  1. Creating structured pull requests with detailed information.
  2. Automating quality checks for pull requests.
  3. Enhancing collaboration through rich media and issue linking.

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": {
    "cline-github-mcp-ibraheem4": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cline-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": {
    "cline-github-mcp-ibraheem4": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cline-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": {
    "cline-github-mcp-ibraheem4": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cline-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": {
    "cline-github-mcp-ibraheem4": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cline-github-mcp-ibraheem4"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cline-github-mcp-ibraheem4": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cline-github-mcp-ibraheem4"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "cline-github-mcp-ibraheem4": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cline-github-mcp-ibraheem4"
      ]
    }
  }
}

FAQ

What are the prerequisites for using the server?

You need Node.js 18+, a GitHub Personal Access Token, and a pull request template file.

Can I run this server alongside the standard GitHub server?

Yes! The MCP server can run alongside the base GitHub server, providing enhanced features when needed.

How do I troubleshoot common issues?

Common issues include authentication errors, build issues, and runtime errors. Check your GitHub token permissions and ensure all required environment variables are set.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":965,"uuid":"264dd9bb-cc8a-4215-b43a-dd649102101b","name":"cline-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:21:17.496Z","updated_at":"2025-02-23T07:13:16.663Z","status":"created","author_name":"ibraheem4","author_avatar_url":"https://avatars.githubusercontent.com/u/998180?v=4","tags":"github,pull-request,mcp,server,automation","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ibraheem4/cline-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"}]]}]