AI Pull Request Generator
AI プルリクエストジェネレーター
FastMCP フレームワークを使用してプル リクエストの作成とコード生成を自動化する AI 搭載ツール。
特徴
AI(GPT-4)を使ったタスクプランニング
計画に基づいたコード生成
GitHub プルリクエストの自動作成
FastMCPフレームワークとの統合
Related MCP server: My First MCP Server
要件
Python 3.8以上
リポジトリアクセスを持つGitHubトークン
OpenAI APIキー
必要な Python パッケージ (requirements.txt を参照)
設定
依存関係をインストールします:
pip install -r requirements.txt環境変数を設定します。次の変数を含む
.envファイルを作成します。
GITHUB_TOKEN=your_github_token
API_KEY=your_openai_api_key
API_BASE=your_api_base_url使用法
このツールは主に 3 つの機能を提供します。
タスク計画
await task_planning(task_file="path/to/task.txt", plan_file="path/to/plan.txt")コード生成
await code_for_plan(plan_file="path/to/plan.txt", code_file="path/to/code.py")プルリクエストの作成
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ライセンス
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
MCP server for generating rough-draft project plans from natural-language prompts.
- JamOAuthdev.jam.mcp
The Jam MCP server provides AI tools with instant bug context without manual prompting, enabling a streamlined workflow from bug identification to ticket creation and pull request generation without switching between tools.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.1119 npm103MIT
- AlicenseNot gradedqualityDmaintenanceAn AI-powered MCP server that provides development tools for code analysis, documentation, and project management including code pattern extraction, humorous code reviews, TODO scanning, and PRD generation.5 npmISC
- FlicenseAqualityDmaintenanceAn MCP server that automates the full software development lifecycle through an AI-driven TDD state machine. It handles everything from task decomposition and test-driven development to integration testing and automated pull request creation.4-
- AlicenseAqualityDmaintenanceMCP server to automate Pull Request creation with AI. Analyzes Git branches, generates descriptions, titles, suggests reviewers, and performs code reviews.84MIT