Skip to main content
Glama

AI Pull Request Generator

by Shougakusei

AI プルリクエストジェネレーター

FastMCP フレームワークを使用してプル リクエストの作成とコード生成を自動化する AI 搭載ツール。

特徴

  • AI(GPT-4)を使ったタスクプランニング
  • 計画に基づいたコード生成
  • GitHub プルリクエストの自動作成
  • FastMCPフレームワークとの統合

要件

  • Python 3.8以上
  • リポジトリアクセスを持つGitHubトークン
  • OpenAI APIキー
  • 必要な Python パッケージ (requirements.txt を参照)

設定

  1. 依存関係をインストールします:
pip install -r requirements.txt
  1. 環境変数を設定します。次の変数を含む.envファイルを作成します。
GITHUB_TOKEN=your_github_token API_KEY=your_openai_api_key API_BASE=your_api_base_url

使用法

このツールは主に 3 つの機能を提供します。

  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

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 プル リクエストの作成のプロセスを自動化する 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 -
                  179
                  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
                  16
                  37
                  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 -
                  10
                  Python
                  MIT License
                • A
                  security
                  F
                  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
                  40
                  TypeScript
                  • Linux
                  • Apple

                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/Shougakusei/plan_pr_mcp'

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