MCP Server PR Agent

by dux-simform

188 downloads
Not rated
GitHub

Description

# 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…

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…

Details

Author
dux-simform
Downloads
188
Categories
AI

- 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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server PR Agent
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with pip install -r requirements.txt, create a .env file from .env.sample with the required credentials, then run the server with python server.py.

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"
        ]
    }
}

MCP Server PR Agent

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.