MCP Server PR Agent
About
# MCP Server PR Agent This project provides a server for managing and analyzing pull requests using the MCP framework. ## Setup 1. Clone the repository: ```bash git clone <repository-url> cd mcp-server-pr-agent ``` 2. Install dependencies: ```bash pip install -r requirements.txt ``` 3. Create a `.env` file: Copy the…
Explore
- Manages pull requests via the MCP framework
- Analyzes pull requests with AI (OpenAI)
- Supports multiple Git providers (e.g., GitHub)
- Configurable via environment variables
- Lightweight Python server
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server PR AgentCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Clone the repository:
git clone <repository-url>
cd mcp-server-pr-agent
2. Install dependencies:
pip install -r requirements.txt
3. Create a .env file:
Copy the .env.sample file and fill in the required values:
cp .env.sample .env
4. Run the server:
python server.py
The .env file should contain the following variables:
- GIT_PROVIDER: The Git provider (e.g., github).
- OPENAI_API_KEY: Your OpenAI API key.
- OPENAI_API_TYPE: The type of OpenAI API (e.g., azure).
- OPENAI_API_VERSION: The version of the OpenAI API.
- OPENAI_API_BASE: The base URL for the OpenAI API.
- OPENAI_API_DEPLOYMENT: The deployment ID for the OpenAI API.
- GITHUB_USER_TOKEN: Your GitHub user token.
Refer to .env.sample for an example configuration.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server pr agent": {
"mcp-server-pr-agent": {
"command": "python",
"args": [
"server.py"
]
}
}
}
}
McpServers
{
"mcp-server-pr-agent": {
"command": "python",
"args": [
"server.py"
]
}
}
This project provides a server for managing and analyzing pull requests using the MCP framework.
Setup
1. Clone the repository:
git clone <repository-url>
cd mcp-server-pr-agent
2. Install dependencies:
pip install -r requirements.txt
3. Create a .env file:
Copy the .env.sample file and fill in the required values:
cp .env.sample .env
4. Run the server:
python server.py
Environment Variables
The .env file should contain the following variables:
- GIT_PROVIDER: The Git provider (e.g., github).
- OPENAI_API_KEY: Your OpenAI API key.
- OPENAI_API_TYPE: The type of OpenAI API (e.g., azure).
- OPENAI_API_VERSION: The version of the OpenAI API.
- OPENAI_API_BASE: The base URL for the OpenAI API.
- OPENAI_API_DEPLOYMENT: The deployment ID for the OpenAI API.
- GITHUB_USER_TOKEN: Your GitHub user token.
Refer to .env.sample for an example configuration.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



