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-tool
Get the connected GitHub user profile and API rate limit.
-
list-repos-tool
List GitHub repositories accessible to the connected account.
-
get-repo-tool
Get metadata for a single GitHub repository.
-
search-repos-tool
Search GitHub repositories accessible to the connected account.
-
list-org-repos-tool
List repositories for a GitHub organization.
-
list-branches-tool
List branches for a GitHub repository.
-
list-issues-tool
List issues for a GitHub repository.
-
get-issue-tool
Get a single GitHub issue by number.
-
search-issues-tool
Search GitHub issues across repositories accessible to the connected account.
-
create-issue-tool
Create a new issue on a GitHub repository.
-
update-issue-tool
Update an existing GitHub issue.
-
add-issue-comment-tool
Add a comment to a GitHub issue.
-
list-pull-requests-tool
List pull requests for a GitHub repository.
-
get-pull-request-tool
Get a single GitHub pull request by number.
-
list-pull-request-files-tool
List files changed in a GitHub pull request.
-
list-pull-request-comments-tool
List review comments on a GitHub pull request.
-
get-file-contents-tool
Get file contents from a GitHub repository at a path and optional ref.
-
list-directory-tool
List directory entries at a path in a GitHub repository.
-
search-code-tool
Search code across repositories accessible to the connected account.
-
list-commits-tool
List commits for a GitHub repository branch or SHA.
-
get-commit-tool
Get a single commit from a GitHub repository.
-
list-releases-tool
List releases for a GitHub repository.
-
get-latest-release-tool
Get the latest release for a GitHub repository.
-
list-tags-tool
List tags for a GitHub repository.
-
list-workflow-runs-tool
List GitHub Actions workflow runs for a repository.
-
get-workflow-run-tool
Get a single GitHub Actions workflow run.
MCP endpoint:
https://stackgate.ai/mcp/github
(HTTP) or via the private gateway.