JUHE API Marketplace
Shougakusei avatar
MCP Server

AI Pull Request Generator

An AI-powered FastMCP server tool that automates the process of planning tasks, generating code, and creating GitHub pull requests.

0
GitHub Stars
11/23/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. plan_pr_mcp

README Documentation

AI Pull Request Generator

An AI-powered tool for automating pull request creation and code generation using FastMCP framework.

Features

  • Task planning using AI (GPT-4)
  • Code generation based on plans
  • Automated GitHub pull request creation
  • Integration with FastMCP framework

Requirements

  • Python 3.8+
  • GitHub token with repository access
  • OpenAI API key
  • Required Python packages (see requirements.txt)

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables: Create a .env file with the following variables:
GITHUB_TOKEN=your_github_token
API_KEY=your_openai_api_key
API_BASE=your_api_base_url

Usage

The tool provides three main functions:

  1. Task Planning
await task_planning(task_file="path/to/task.txt", plan_file="path/to/plan.txt")
  1. Code Generation
await code_for_plan(plan_file="path/to/plan.txt", code_file="path/to/code.py")
  1. Pull Request Creation
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"
)

Development

The tool uses FastMCP framework for communication and runs as a server. To run locally:

python pull-request.py

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a pull request.

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved