Skip to main content
Glama

GitHub PR Issue Analyser

by saidsef

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

FeatureFunction NameDescription
PR Content Retrievalget_github_pr_contentFetch PR metadata including title, description, author, and state.
PR Diff Analysisget_github_pr_diffRetrieve the diff/patch content showing file changes in the PR.
PR Description Updatesupdate_github_pr_descriptionUpdate PR titles and descriptions with What/Why/How sections and file changes.
PR General Commentsadd_github_pr_commentAdd general discussion comments to pull requests.
PR Inline Code Commentsadd_github_pr_inline_commentAdd inline review comments to specific lines in PR files for code review.
Issue Creationcreate_github_issueCreate new issues with conventional commit prefixes (feat/fix/chore) and MCP label.
Issue Updatesupdate_github_issueModify existing issues with new title, body, and state (open/closed).
Tag Managementcreate_github_tagCreate new git tags with associated messages for versioning.
Release Managementcreate_github_releaseGenerate GitHub releases with automatic release notes and tag references.
Network Informationget_ipv4_ipv6_infoFetch IPv4 and IPv6 network information for the system.
MCP Tool Registration_register_toolsTools are registered and exposed via the MCP server for easy integration.

Requirements

  • Python 3.11+
  • GitHub Personal Access Token (with repo scope)

Architecture Diagram

+------------------------+ | | | MCP Client/User | | | +------------------------+ | | (stdio/SSE) v +--------------------+ +------------------------+ | | | PRIssueAnalyser | | IP Integration | <------------| (FastMCP Server) | | (ipinfo.io) | | | +--------------------+ +------------------------+ | | (API calls) v +------------------------+ | GitHub Integration | +------------------------+ | | (REST API) +-------------------------+-------------------------+ | | | +-------------+ +--------------+ +-------------+ | GitHub PRs | |GitHub Issues | |GitHub Tags/ | | & Releases | | | | Releases | +-------------+ +--------------+ +-------------+

Features:

  1. PR Management: Fetch, analyze, and update
  2. Issue Tracking: Create and update
  3. Release Management: Tags and releases
  4. 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

  1. Clone the repository:
git clone https://github.com/saidsef/mcp-github-pr-issue-analyser.git cd mcp-github-pr-issue-analyser
  1. Install dependencies:

Launch MCP in stdio mode.

export GITHUB_TOKEN="<github-token>" uvx ./

Alternatively, launch MCP in sse mode.

export GITHUB_TOKEN="<github-token>" export MCP_ENABLE_REMOTE=true uvx ./

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.

{ "mcpServers": { "github_pr_issues": { "command": "uvx", "env": { "GITHUB_TOKEN": "<your-github-token>" }, "args": [ "https://github.com/saidsef/mcp-github-pr-issue-analyser.git" ] } } }

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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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.

  1. Features
    1. Requirements
      1. Architecture Diagram
        1. Features:
        2. Main Flows:
      2. Local Installation
        1. Local Integration with Desktop LLMs
          1. Source
            1. Contributing

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                An 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 -
                TypeScript
              • -
                security
                A
                license
                -
                quality
                An MCP server that enables clients to extract LLM-friendly prompts from documentation in GitHub repositories or hosted websites.
                Last updated -
                Python
                Apache 2.0
              • -
                security
                A
                license
                -
                quality
                A 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 -
                1
                Python
                Apache 2.0
              • -
                security
                -
                license
                -
                quality
                An 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 -
                TypeScript

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/saidsef/mcp-github-pr-issue-analyser'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server