AI プルリクエストジェネレーター
FastMCP フレームワークを使用してプル リクエストの作成とコード生成を自動化する AI 搭載ツール。
特徴
AI(GPT-4)を使ったタスクプランニング
計画に基づいたコード生成
GitHub プルリクエストの自動作成
FastMCPフレームワークとの統合
Related MCP server: Vibe Coder MCP
要件
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.