AI Pull Request Generator

by Shougakusei

Integrations

  • Allows automated creation of pull requests in GitHub repositories, including setting branch names, file content, commit messages, PR titles, descriptions, and target branches

  • Leverages GPT-4 for task planning and code generation, enabling AI-powered analysis and creation of code based on specified tasks

AI 풀 리퀘스트 생성기

FastMCP 프레임워크를 사용하여 풀 리퀘스트 생성 및 코드 생성을 자동화하는 AI 기반 도구입니다.

특징

  • AI를 활용한 업무 계획(GPT-4)
  • 계획에 따른 코드 생성
  • 자동화된 GitHub 풀 리퀘스트 생성
  • FastMCP 프레임워크와의 통합

요구 사항

  • 파이썬 3.8 이상
  • 저장소 접근 권한이 있는 GitHub 토큰
  • OpenAI API 키
  • 필수 Python 패키지(requirements.txt 참조)

설정

  1. 종속성 설치:

지엑스피1

  1. 환경 변수 설정: 다음 변수가 포함된 .env 파일을 만듭니다.
GITHUB_TOKEN=your_github_token API_KEY=your_openai_api_key API_BASE=your_api_base_url

용법

이 도구는 세 가지 주요 기능을 제공합니다.

  1. 작업 계획
await task_planning(task_file="path/to/task.txt", plan_file="path/to/plan.txt")
  1. 코드 생성
await code_for_plan(plan_file="path/to/plan.txt", code_file="path/to/code.py")
  1. 풀 리퀘스트 생성
await create_github_pull_request( repository="owner/repo", branch_name="feature-branch", file_path="path/to/file.py", file_content="your code", commit_message="feat: add new feature", title="Add new feature", body="Description of changes", base_branch="main" )

개발

이 도구는 통신을 위해 FastMCP 프레임워크를 사용하며 서버로 실행됩니다. 로컬에서 실행하려면 다음을 수행하세요.

python pull-request.py

특허

MIT 라이센스

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

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

작업 계획, 코드 생성, GitHub 풀 리퀘스트 생성 프로세스를 자동화하는 AI 기반 FastMCP 서버 도구입니다.

  1. 특징
    1. 요구 사항
      1. 설정
        1. 용법
          1. 개발
            1. 특허
              1. 기여하다

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
                  Last updated -
                  132
                  Python
                  MIT License
                  • Apple
                  • Linux
                • A
                  security
                  F
                  license
                  A
                  quality
                  An MCP server that enables AI assistants to manage GitHub Actions workflows by providing tools for listing, viewing, triggering, canceling, and rerunning workflows through the GitHub API.
                  Last updated -
                  9
                  24
                  TypeScript
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  An MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.
                  Last updated -
                  2
                  Python
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
                  Last updated -
                  11
                  6
                  TypeScript
                  MIT License
                  • Linux
                  • Apple

                View all related MCP servers

                ID: qu86pf9ek4