PromptRails
All Integrations
GitHub

GitHub

Development

Manage repositories, issues, pull requests, and branches through the GitHub REST API. Automate development workflows with your AI agents.

How to Connect

  1. 1Go to GitHub Settings > Developer Settings > Personal Access Tokens
  2. 2Generate a new token with the required scopes (repo, issues)
  3. 3Go to MCP Templates in PromptRails and find GitHub
  4. 4Paste your token and install

Available Tools

gh_list_repos

List repositories for the authenticated user

gh_get_repo

Get a repository by owner and name

gh_list_branches

List branches for a repository

gh_list_issues

List issues for a repository

gh_get_issue

Get a single issue by number

gh_create_issue

Create a new issue

gh_update_issue

Update an existing issue

gh_search_issues

Search issues and pull requests across GitHub

gh_add_issue_comment

Add a comment to an issue or pull request

gh_list_pulls

List pull requests for a repository

gh_get_pull

Get a single pull request

gh_create_pull

Create a new pull request

gh_list_pull_reviews

List reviews on a pull request

gh_merge_pull

Merge a pull request

gh_list_commits

List commits for a repository

gh_search_code

Search code across GitHub repositories

gh_list_workflow_runs

List workflow runs for a repository

gh_trigger_workflow

Trigger a workflow dispatch event

gh_list_releases

List releases for a repository

gh_create_release

Create a new release