GitHub
Repositories, issues, and pull requests.
Overview
Give AI access to repositories, issues, pull requests, and related GitHub data.
Prerequisites
- A GitHub account
- A stackgate.ai account
Getting credentials
- Open Integrations → GitHub in stackgate.ai.
- Click Activate, then Connect GitHub.
- Authorize stackgate.ai via GitHub OAuth.
Using with AI clients
- Dedicated endpoint:
POST /mcp/github - Private gateway:
github__*tools
Troubleshooting
- 403 from GitHub — the token may lack access to private repos; reconnect and confirm org access if needed.
- Rate limits — GitHub REST API rate limits apply per token.
Available tools
-
get_me
Get the connected GitHub user profile and API rate limit.
-
list_repos
List GitHub repositories accessible to the connected account.
-
get_repo
Get metadata for a single GitHub repository.
-
search_repos
Search GitHub repositories accessible to the connected account.
-
list_org_repos
List repositories for a GitHub organization.
-
list_branches
List branches for a GitHub repository.
-
list_issues
List issues for a GitHub repository.
-
get_issue
Get a single GitHub issue by number.
-
search_issues
Search GitHub issues across repositories accessible to the connected account.
-
create_issue
Create a new issue on a GitHub repository.
-
update_issue
Update an existing GitHub issue.
-
add_issue_comment
Add a comment to a GitHub issue.
-
list_pull_requests
List pull requests for a GitHub repository.
-
get_pull_request
Get a single GitHub pull request by number.
-
list_pull_request_files
List files changed in a GitHub pull request.
-
list_pull_request_comments
List review comments on a GitHub pull request.
-
get_file_contents
Get file contents from a GitHub repository at a path and optional ref.
-
list_directory
List directory entries at a path in a GitHub repository.
-
search_code
Search code across repositories accessible to the connected account.
-
list_commits
List commits for a GitHub repository branch or SHA.
-
get_commit
Get a single commit from a GitHub repository.
-
list_releases
List releases for a GitHub repository.
-
get_latest_release
Get the latest release for a GitHub repository.
-
list_tags
List tags for a GitHub repository.
-
list_workflow_runs
List GitHub Actions workflow runs for a repository.
-
get_workflow_run
Get a single GitHub Actions workflow run.
MCP endpoint:
https://stackgate.ai/mcp/github
(HTTP) or via the
private gateway.
Related workflows
Multi-integration playbooks that use GitHub to solve concrete business outcomes.