GitHub REST API Integration
Automation your GitHub workflows directly from your LLM using the GitHub REST API - create issues, list pull requests, and manage repositories without leaving your AI assistant.What It Does
The GitHub integration allows your LLM to:- Create issues - Open new issues with title and description
- List pull requests - Get open, closed, or all PRs
- Filter by state - Target specific PR states
- Support Markdown - Rich formatting in issue descriptions
Setup
1. Generate a GitHub Token
Go to GitHub Settings
Select Scopes
For basic operations, select:
repo(full control of private repositories)public_repo(access public repositories only, if preferred)
2. Import the Configuration
The GitHub configuration is included inNUEVOS_HITOS.json:
Example Operations
Create an Issue
User request:“Create an issue in the HandsAI repository titled ‘Add OpenAPI import support’”LLM tool call:
List Pull Requests
User request:“Show me all open PRs in the react repository”LLM tool call:
Path Parameters
Notice how HandsAI handles path parameters like{owner} and {repo}:
Use Cases
Bug Tracking
Auto-create issues from error logs or user reports
PR Monitoring
Track review status and merge readiness
Project Management
Automate task creation and assignment
CI/CD Integration
Trigger workflows based on repo activity
Advanced: Adding More Tools
You can extend the GitHub integration with additional tools:Comment on Issue
Comment on Issue
Close Issue
Close Issue
Create Pull Request
Create Pull Request
Security Best Practices
Next Steps
Jules Agent
Automate code tasks with Google’s Jules
API Reference
Explore the MCP API endpoints