Skip to main content

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.

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>

Metadata

Release files for mcp-pr-recommender 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-pr-recommender 0.1.1
File Size Uploaded Provenance
mcp_pr_recommender-0.1.1.tar.gz 29.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-pr-recommender 0.1.1
File Interpreter ABI Platform
mcp_pr_recommender-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 65.9 kB

Release files / mcp_pr_recommender-0.1.1.tar.gz

Download URL mcp_pr_recommender-0.1.1.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
126d9a58b2711e2256a8dc7bb69380fa46077a14a4f3bc1f93c8eb3f558866be
BLAKE2b-256 checksum
How to use checksums
01900c2952dc424600b5ca417ec015ce2f7cbc67cfe21e64714eb53d3fd6ee59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.10 Darwin/23.4.0

Release files / mcp_pr_recommender-0.1.1-py3-none-any.whl

Download URL mcp_pr_recommender-0.1.1-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
595e76e40763a46adf64df91cd2449131fe530b7417a7a90bf01a24ce337615d
BLAKE2b-256 checksum
How to use checksums
d91bb3fd910872cfec9ce4ead64c9a4e505bd0f407814320a69b173e24c52a6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.10 Darwin/23.4.0

Security for mcp-pr-recommender 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page