Content
# 📦 pr-creator-mcp
MCP Server that automates GitHub Pull Request creation and can be integrated with Cursor, Claude, etc.
It automatically generates PR titles, descriptions, checklists, and impact scopes, and pushes them to GitHub.
## 🚀 Installation
### 1. Clone the repository and move to the directory
```bash
git clone https://github.com/urijan44/pr_creator_mcp.git
cd pr_creator_mcp
```
### 2. Install dependencies
```bash
npm install
```
### 3. MCP Registration
```bash
npm run setup
```
> This script creates a `.cursor/mcp.json` file to register the MCP server and automatically configures the execution settings, including GitHub environment variables.
## ⚙️ Environment Variable Configuration (`.env`)
### 1. Create `.env` file
```bash
cp .env.example .env
```
### 2. Write contents
```dotenv
GITHUB_TOKEN=ghp_your_token_here
GITHUB_API_BASE=https://api.github.com
GITHUB_WEB_BASE=https://github.com
```
> If you are using GitHub Enterprise, change `API_BASE` and `WEB_BASE`.
## 🛠 MCP Tools Provided
- `pr-creator`: Automatically generate PR titles and descriptions based on Git diff and commit logs
- `pr-submitter`: Create a PR on GitHub, or update it if it already exists
- `get-reviewers`: Get a list of users who can be reviewers in the current repo
## 🧪 Test
To verify that the MCP is registered correctly, the `.cursor/mcp.json` file should contain the following:
```json
"mcpServers": {
"pr-write": {
"command": "node",
"args": ["/your/path/to/build/index.js"],
"env": {
"GITHUB_TOKEN": "...",
...
}
}
}
```
## 📂 Log Location
All logs are stored in the following path:
```bash
~/.mcp/logs/
```
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
servers
Model Context Protocol Servers
remindb
An agentic memory database that cuts session tokens by 75–99%. One portable...
api2mcp4j
This is a revolutionary AI MCP plugin with excellent pluggable and...
dnSpy.Extension.MCP
dnSpy MCP Extension provides tools for .NET assembly analysis for AI assistants.