Skip to main content
Glama

AI Pull Request Generator

by Shougakusei

Generador de solicitudes de extracción de IA

Una herramienta impulsada por IA para automatizar la creación de solicitudes de extracción y la generación de código utilizando el marco FastMCP.

Características

  • Planificación de tareas mediante IA (GPT-4)
  • Generación de código basada en planes
  • Creación automatizada de solicitudes de extracción de GitHub
  • Integración con el marco FastMCP

Requisitos

  • Python 3.8+
  • Token de GitHub con acceso al repositorio
  • Clave API de OpenAI
  • Paquetes de Python necesarios (consulte requirements.txt)

Configuración

  1. Instalar dependencias:
pip install -r requirements.txt
  1. Configurar variables de entorno: Cree un archivo .env con las siguientes variables:
GITHUB_TOKEN=your_github_token API_KEY=your_openai_api_key API_BASE=your_api_base_url

Uso

La herramienta proporciona tres funciones principales:

  1. Planificación de tareas
await task_planning(task_file="path/to/task.txt", plan_file="path/to/plan.txt")
  1. Generación de código
await code_for_plan(plan_file="path/to/plan.txt", code_file="path/to/code.py")
  1. Creación de solicitudes de extracción
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" )

Desarrollo

La herramienta utiliza el framework FastMCP para la comunicación y se ejecuta como servidor. Para ejecutarla localmente:

python pull-request.py

Licencia

Licencia MIT

Contribuyendo

¡Agradecemos sus contribuciones! No dude en enviar una solicitud de incorporación de cambios.

-
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.

Una herramienta de servidor FastMCP impulsada por IA que automatiza el proceso de planificación de tareas, generación de código y creación de solicitudes de extracción de GitHub.

  1. Características
    1. Requisitos
      1. Configuración
        1. Uso
          1. Desarrollo
            1. Licencia
              1. Contribuyendo

                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