dux-simform/mcp-server-pr-agent
If you are the rightful owner of mcp-server-pr-agent and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Server PR Agent is a server designed to manage and analyze pull requests using the Model Context Protocol (MCP) framework.
MCP Server PR Agent
This project provides a server for managing and analyzing pull requests using the MCP framework.
Setup
-
Clone the repository:
git clone <repository-url> cd mcp-server-pr-agent
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file: Copy the.env.sample
file and fill in the required values:cp .env.sample .env
-
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.