A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.β¦
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
The Model Context Protocol (MCP) is an open standard that enables seamless integration between Large Language Models (LLMs) and external tools. Whilst it can be implemented in any AI system, including custom LLM setups, the degree of integration and optimisation varies based on the model's architecture and capabilities.
This MCP application serves as a bridge between LLMs and GitHub's repository management features, offering automated analysis of pull requests and comprehensive issue management. It provides a robust set of tools to fetch PR details, create issues, and update issues directly from your desktop LLM. The application is designed with modularity in mind, supporting extensibility via the MCP tool interface and seamless integration with existing workflows.
The toolset enables automated PR analysis, issue tracking, tagging and release management through a standardised MCP interface, making it ideal for teams seeking to streamline their GitHub workflow automation.
| Function | Description |
|---|---|
| Analyse GitHub Pull Requests and fetch diffs | Retrieve the diff/patch for any PR in a repository. |
| Fetch content and metadata for specific PRs | Get PR title, description, author, timestamps, and state. |
| Fetch linked issues for a PR | Get the issues that will auto-close when a PR is merged, via GraphQL closingIssuesReferences. |
| Fetch CI status checks for a PR | Get check run conclusions and legacy commit status for a PR's HEAD commit. |
| Create Pull Requests | Open new PRs with title, body, head/base branch, and draft option. |
| Update PR title and description | Change the title and body of any PR. |
| Merge Pull Requests | Merge a PR using merge, squash, or rebase method. |
| Add comments to PRs | Post general comments to a PR thread. |
| Add inline review comments to PRs | Comment on specific lines in PR files for code review. |
| Submit PR Reviews | Approve, request changes, or comment on a PR review. |
| Update PR Assignees | Assign or update users on a PR or issue. |
| Create and update GitHub Issues | Open new issues or update existing ones with title, body, labels, and state. |
| List all open Issues or Pull Requests | View all open PRs or issues for any user or organisation. |
| Create tags and releases | Tag repository commits and publish releases with changelogs. |
| Search GitHub Users | Retrieve user profile information via GraphQL. |
| Get User Activity | Fetch commit, PR, issue, and review contributions with org/repo/date filtering. |
repo scope) or a GitHub OAuth App (client ID, secret, and a public base URL)Two auth modes are supported. The active mode is selected automatically from environment variables.
| Mode | When active | Token used for API calls |
|---|---|---|
| Static token (default) | GITHUB_TOKEN set; no GITHUB_OAUTH_* vars | Server's GITHUB_TOKEN for all calls |
| GitHub OAuth2 | GITHUB_TOKEN + all three GITHUB_OAUTH_* vars set | Each user's own gho_* token |
| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN | Yes | GitHub PAT with repo scope; used as the Bearer token in static-token HTTP mode |
MCP_ENABLE_REMOTE | No | Any non-empty value enables HTTP mode (required for OAuth2) |
GITHUB_OAUTH_CLIENT_ID | OAuth2 only | GitHub OAuth App client ID |
GITHUB_OAUTH_CLIENT_SECRET | OAuth2 only | GitHub OAuth App client secret |
GITHUB_OAUTH_BASE_URL | OAuth2 only | Public base URL of the MCP server (used for the OAuth2 redirect) |
REDIS_HOST_PORT | No | Redis connection string. Accepts host:port or a full URI: redis://[:password@]host:port[/db] (plaintext) or rediss://[:password@]host:port[/db] (TLS). When set, OAuth token state is stored in Redis instead of in-process memory. |
REDIS_PASSWORD | No | Redis AUTH password fallback β used when the password is not embedded in the URI. |
PORT | No (default 8081) | HTTP server port |
HOST | No (default localhost) | HTTP server host |
GITHUB_API_TIMEOUT | No (default 5) | Timeout in seconds for GitHub API requests |
To create a GitHub OAuth App, go to Settings β Developer settings β OAuth Apps β New OAuth App and set the Authorization callback URL to
<GITHUB_OAUTH_BASE_URL>/auth/callback(e.g.https://mcp.example.com/auth/callback).
Launch MCP in stdio mode.
Alternatively, launch MCP in http mode.
You can access it via
httpi.e.http(s)://localhost:8081/mcpIn HTTP mode, clients must authenticate withAuthorization: Bearer <GITHUB_TOKEN>.
Alternatively, launch MCP in http mode with GitHub OAuth2 authentication.
In OAuth2 mode, users authenticate via GitHub's OAuth flow. Each user's own GitHub token is used for API calls.
Alternatively, run via Docker using the published image.
To add an MCP server to your IDE or LLM, you need to add this section to the configuration file. The basic structure involves defining a server name and providing the command and any necessary arguments to run the server.
Our latest and greatest source of mcp-github-pr-issue-analyser can be found on [GitHub]. Fork us!
We would :heart: you to contribute by making a pull request.
Please read the official Contribution Guide for more information on how you can contribute.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/saidsef-mcp-github-pr-issue-analyser)<a href="https://allmcps.com/mcp/saidsef-mcp-github-pr-issue-analyser"><img src="https://allmcps.com/api/badge/saidsef-mcp-github-pr-issue-analyser?style=directory" alt="Saidsef Mcp Github Pr Issue Analyser on AllMCPs" /></a>