Skip to main content
Glama
MCP PR Recommender
by manavgup

MCP PR Recommender

Overview

The MCP PR Recommender is an intelligent PR boundary detection and recommendation system designed to analyze git changes and generate atomic, logically-grouped pull request (PR) recommendations. It aims to optimize code review efficiency and deployment safety by providing structured PR suggestions with titles, descriptions, and rationale.

Related MCP server: pr-narrator-mcp

Features

  • Generate PR recommendations from git analysis data.

  • Analyze feasibility and risks of specific PR recommendations.

  • Retrieve available PR grouping strategies and settings.

  • Validate generated PR recommendations for quality, completeness, and atomicity.

  • Supports both STDIO and HTTP transport protocols for flexible integration.

Usage

The server can be run in different modes:

  • STDIO mode: For direct MCP client connections.

  • HTTP mode: For integration with MCP Gateway or other HTTP clients.

Running the server

# Run in STDIO mode (default)
python -m mcp_pr_recommender.main --transport stdio

# Run in HTTP mode
python -m mcp_pr_recommender.main --transport streamable-http --host 127.0.0.1 --port 9071

Input and Output

  • Input: Expects git analysis data from the mcp_local_repo_analyzer project.

  • Output: Structured PR recommendations including grouping, titles, descriptions, and rationale.

Tools Provided

  • generate_pr_recommendations: Generate PR recommendations from git analysis.

  • analyze_pr_feasibility: Analyze feasibility and risks of PR recommendations.

  • get_strategy_options: Get available grouping strategies.

  • validate_pr_recommendations: Validate PR recommendations for quality.

License

Apache-2.0 License

Author

Manav Gupta <manavg@gmail.com>

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Automatically generates comprehensive merge request summaries from git logs, analyzing commit history and categorizing changes into structured descriptions. Provides tools to analyze git repositories, compare branches, and create detailed summaries with change categorization, impact analysis, and review time estimates.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Generates commit messages, PR titles and descriptions, and release notes from git changes, with automatic domain detection for appropriate PR templates.
      10
      13 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Automates creating Pull Requests (GitHub) and Merge Requests (GitLab) using git CLI, repository templates, and LLM-assisted content generation from your diff and commit logs.
      4
      37 npm
      MIT