The GitHub PR Issue Analyser is an MCP-based server that provides tools for managing GitHub repositories with the following capabilities:
- Pull Request Management: Fetch PR content and metadata, analyze diffs, update titles and descriptions, and add general or inline comments
- Issue Tracking: Create new issues and update existing ones with titles, descriptions, labels, and states
- Release Management: Create tags and releases with associated messages and release notes
- Network Information: Retrieve IPv4 and IPv6 addresses for the system
- Integration: Seamlessly integrates with desktop LLMs and GitHub workflows via the MCP standard
Provides tools for GitHub repository management including PR content retrieval and analysis, issue creation and updates, tag management, and release management with automatic release notes.
MCP for GitHub PR, Issues, Tags and Releases
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.
Features
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. |
Update PR title and description | Change the title and body of any PR. |
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. |
Create and update GitHub Issues | Open new issues or update existing ones with title, body, labels, and state. |
Create tags and releases | Tag repository commits and publish releases with changelogs. |
Retrieve IPv4 and IPv6 information | Get public IP address details for both IPv4 and IPv6. |
List all open Issues or Pull Requests | View all open PRs or issues for any user or organisation. |
Requirements
- Python 3.11+
- GitHub Personal Access Token (with
repo
scope)
Architecture Diagram
Features:
- PR Management: Fetch, analyze, and update
- Issue Tracking: Create and update
- Release Management: Tags and releases
- Network Info: IPv4/IPv6 details
Main Flows:
- PRIssueAnalyser: Main MCP server handling tool registration and requests
- GitHub Integration: Manages all GitHub API interactions
- IP Integration: Handles IPv4/IPv6 information retrieval
- MCP Client: Interacts via stdio or Server-Sent Events (SSE)
Local Installation
- Clone the repository:
- Install dependencies:
Launch MCP in stdio
mode.
Alternatively, launch MCP in sse
mode.
You can access it via
sse
i.e.http(s)://localhost:8080/sse
Local Integration with Desktop LLMs
To add an MCP server to your desktop LLM such as Claude etc.., 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.
Source
Our latest and greatest source of mcp-github-pr-issue-analyser can be found on [GitHub]. Fork us!
Contributing
We would : you to contribute by making a pull request.
Please read the official Contribution Guide for more information on how you can contribute.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
A MCP server that bridges LLMs with GitHub repository management, enabling automated analysis of pull requests, issue management, tag creation, and release management through natural language.
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.Last updated -4TypeScript
- -securityAlicense-qualityAn MCP server that enables clients to extract LLM-friendly prompts from documentation in GitHub repositories or hosted websites.Last updated -PythonApache 2.0
- -securityAlicense-qualityA MCP server that transforms code repositories from GitHub, GitLab, or local directories into LLM-friendly formats, preserving context and structure for better AI processing.Last updated -9PythonApache 2.0
- AsecurityFlicenseAqualityAn MCP server that allows Claude and other MCP-compatible LLMs to interact with the GitHub API, supporting features like creating issues, getting repository information, listing issues, and searching repositories.Last updated -4TypeScript