Skip to main content
Glama

PR Reviewer

PR 리뷰어 설정 가이드

이 가이드에서는 GitHub 및 Notion과의 통합을 포함하여 PR 검토자 프로젝트를 설정하는 단계별 지침을 제공합니다.

필수 조건

  • curl (MacOS/Linux용)
  • 시스템에 Python 3.x가 설치되어 있습니다

설치 지침

1단계: uv 설치

MacOS/리눅스:

지엑스피1

🔁 uv 명령을 사용할 수 있는지 확인하려면 터미널을 다시 시작하세요.


2단계: 프로젝트 생성 및 설정

MacOS/리눅스:

# Create a new directory for the project uv init pr_reviewer cd pr_reviewer # Create and activate a virtual environment uv venv source .venv/bin/activate # Install core dependencies uv add "mcp[cli]" requests python-dotenv notion-client

3단계: requirements.txt 만들고 이를 통해 설치

다음 내용으로 requirements.txt 라는 파일을 만듭니다.

# Core dependencies for PR Analyzer requests>=2.31.0 # For GitHub API calls python-dotenv>=1.0.0 # For environment variables mcp[cli]>=1.4.0 # For MCP server functionality notion-client>=2.3.0 # For Notion integration

패키지를 설치하세요:

uv pip install -r requirements.txt pip install -r requirements.txt

4단계: 환경 변수 설정

루트 디렉토리에 .env 파일을 만들고 다음을 추가합니다.

GITHUB_TOKEN=your_github_token NOTION_API_KEY=your_notion_api_key NOTION_PAGE_ID=your_notion_page_id
GitHub 토큰:
  1. GitHub → 설정 → 개발자 설정 → 개인 액세스 토큰으로 이동합니다.
  2. "새로운 토큰 생성(클래식)"을 클릭합니다.
  3. 다음 범위를 활성화하세요.
    • read:org
    • read:repo_hook
    • repo
  4. 토큰을 복사하여 .env 파일에 GITHUB_TOKEN 으로 붙여넣습니다.
Notion 통합:
  1. Notion 통합 으로 이동하세요.
  2. "새로운 통합"을 클릭하고 유형을 내부 로 설정합니다.
  3. 작업 공간에 추가하세요.
  4. 내부 통합 비밀번호를 NOTION_API_KEY 로 복사합니다.
  5. 통합 URL 끝에 있는 UUID를 NOTION_PAGE_ID 로 복사합니다.

5단계: 메인 스크립트 만들기

서버 로직을 위한 빈 스크립트 파일을 만듭니다.

touch pr_reviewer

이 파일에 애플리케이션 로직을 추가하세요.


6단계: 애플리케이션 실행

프로젝트를 실행하려면 환경이 활성화되어 있고 .env 구성되어 있는지 확인하세요.

python pr_reviewer.py

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

GitHub 및 Notion과 통합되어 풀 리퀘스트를 분석하고 검토하고 Notion에서 자동화된 코드 검토 및 문서화를 가능하게 하는 도구입니다.

  1. 필수 조건
    1. 설치 지침
      1. 1단계: uv 설치
      2. 2단계: 프로젝트 생성 및 설정
      3. 3단계: requirements.txt 만들고 이를 통해 설치
      4. 4단계: 환경 변수 설정
      5. 5단계: 메인 스크립트 만들기
      6. 6단계: 애플리케이션 실행

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      Enables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.
      Last updated -
      9
      1
      TypeScript
    • A
      security
      A
      license
      A
      quality
      A TypeScript server that analyzes GitHub Pull Requests using the Model-Controller-Presenter pattern.
      Last updated -
      1
      5
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      An MCP service that enables creating GitHub Pull Requests and adding code review comments using GitHub CLI, eliminating the need to manually handle authentication and permissions.
      Last updated -
      JavaScript
      • Apple
      • Linux
    • -
      security
      F
      license
      -
      quality
      Enables comprehensive GitHub operations through natural language including file management, repository administration, issue tracking, and advanced code searching.
      Last updated -
      22,573
      1
      TypeScript

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/KalyankumarKonduru/MCP_test'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server