Skip to main content

At a glance

  • Availability: Enabled by default.
  • Auth: OAuth 2.0.
  • Connection: A user authorizes the connection in the provider’s consent screen.
  • Scopes: repo, read:user, read:org.

Credentials

Set these per environment. See Connect an integration. With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.
VariableRequiredDescription
GITHUB_CLIENT_IDYesGitHub OAuth App Client ID Docs.
GITHUB_CLIENT_SECRETYesGitHub OAuth App Client Secret Docs.

Tools

ToolAccessDescription
Get Current UserReadGet the authenticated GitHub user identity
List RepositoriesReadGet list of user’s repositories
Get UserReadGet a GitHub user profile by username. Use this to verify repository owners, assignees, and other GitHub usernames before acting.
Get RepositoryReadGet details of a specific repository
List Pull RequestsReadGet pull requests for a repository
Create IssueWriteCreate a new issue in a repository
Get PR DiffReadGet the diff for a pull request
List IssuesReadList issues for a repository
Get IssueReadGet details of a GitHub issue
Update IssueWriteUpdate, close, or reopen a GitHub issue
Add Issue CommentWriteAdd a comment to a GitHub issue or pull request
Get Pull RequestReadGet details of a specific pull request (title, body, status, author, reviewers, labels)
Create Pull RequestWriteCreate a new pull request in a repository
Merge Pull RequestWriteMerge an open pull request
List CommitsReadList commits for a repository, branch, or file path

Example prompts

  • Show me my open pull requests and help me review them. Summarize the changes and any comments.
  • Help me create a new GitHub issue with a clear description and appropriate labels.
  • Summarize the recent commits in my repository and highlight significant changes.