AI-powered MCP server for intelligent PR grouping recommendations
Project description
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_analyzerproject. - 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>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_pr_recommender-0.1.1.tar.gz.
File metadata
- Download URL: mcp_pr_recommender-0.1.1.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.10 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
126d9a58b2711e2256a8dc7bb69380fa46077a14a4f3bc1f93c8eb3f558866be
|
|
| MD5 |
63d4b8c0838e8c30408392f3483de63a
|
|
| BLAKE2b-256 |
01900c2952dc424600b5ca417ec015ce2f7cbc67cfe21e64714eb53d3fd6ee59
|
File details
Details for the file mcp_pr_recommender-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_pr_recommender-0.1.1-py3-none-any.whl
- Upload date:
- Size: 36.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.10 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
595e76e40763a46adf64df91cd2449131fe530b7417a7a90bf01a24ce337615d
|
|
| MD5 |
43ef0b93d943970ccf3e18a01fd77003
|
|
| BLAKE2b-256 |
d91bb3fd910872cfec9ce4ead64c9a4e505bd0f407814320a69b173e24c52a6f
|