MCP ExplorerExplorer

Pr Creator Mcp

@urijan44on 9 months ago
2 MIT
FreeCommunity
AI Systems
Automates GitHub Pull Request creation with MCP Server integration.

Overview

What is Pr Creator Mcp

pr_creator_mcp is an MCP server that automates the creation of GitHub Pull Requests (PRs) by integrating with tools like Cursor and Claude. It automatically generates PR titles, descriptions, checklists, and impact scopes, and pushes them to GitHub.

Use cases

Use cases for pr_creator_mcp include automating the PR creation process in continuous integration/continuous deployment (CI/CD) pipelines, streamlining team collaboration by reducing manual PR entry, and enhancing code review processes by providing structured PR information.

How to use

To use pr_creator_mcp, clone the repository, install dependencies, and register the MCP using the provided setup script. Configure the necessary environment variables in a .env file, including your GitHub token and API base URLs.

Key features

Key features of pr_creator_mcp include automatic generation of PR titles and descriptions based on git diffs and commit logs, the ability to create or update PRs on GitHub, and fetching a list of potential reviewers from the current repository.

Where to use

pr_creator_mcp can be used in software development environments where GitHub is the version control system, particularly in teams that require efficient PR management and automation.

Content

📦 pr-creator-mcp

GitHub Pull Request 생성을 자동화하는 Cursor, Claude 등과 연동 가능한 MCP 서버입니다.
PR 제목, 설명, 체크리스트, 영향 범위를 자동으로 생성하고 GitHub에 푸시합니다.

🚀 설치 방법

1. 저장소 클론 및 디렉토리 이동

git clone https://github.com/urijan44/pr_creator_mcp.git
cd pr_creator_mcp

2. 의존성 설치

npm install

3. MCP 등록

npm run setup

이 스크립트는 .cursor/mcp.json 파일을 생성하여 MCP 서버를 등록하고, GitHub 환경변수를 포함한 실행 설정을 자동으로 구성합니다.

⚙️ 환경 변수 설정 (.env)

1. .env 파일 생성

cp .env.example .env

2. 내용 작성

GITHUB_TOKEN=ghp_your_token_here
GITHUB_API_BASE=https://api.github.com
GITHUB_WEB_BASE=https://github.com

GitHub Enterprise를 사용하는 경우 API_BASEWEB_BASE를 변경해 주세요.

🛠 제공하는 MCP Tools

  • pr-creator: Git diff, 커밋 로그를 기반으로 PR 제목과 설명 자동 생성
  • pr-submitter: PR을 GitHub에 생성하거나, 이미 존재하면 업데이트
  • get-reviewers: 현재 레포에서 리뷰어 가능한 사용자 목록 가져오기

🧪 테스트

MCP가 정상적으로 등록되었는지 확인하려면 .cursor/mcp.json 파일에 다음과 같은 내용이 포함되어 있어야 합니다:

📂 로그 위치

모든 로그는 다음 경로에 저장됩니다:

~/.mcp/logs/

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers