# GitHub

The GitHub API allows you to interact with GitHub programmatically, including repository management, pull requests, issues, commits, and more.

- Category: Developer
- Connection: Sign in. Sign in with your GitHub account. No API key to copy.
- Plans: Free: Not included; MCP only ($9/mo): 2,000 calls a month; Pro: 20,000 calls a month; Max: 20,000 calls a month
- Status: coming soon

## Tools

- Get branch (`GITHUB__GET_BRANCH`): Gets a specific branch of a repository
- Get collaborator permission (`GITHUB__GET_COLLABORATOR_PERMISSION`): Gets the permission level of a specific collaborator for a repository
- Get commit (`GITHUB__GET_COMMIT`): Gets a specific commit from a repository
- Get commit status (`GITHUB__GET_COMMIT_STATUS`): Gets the combined status for a specific commit
- Get file content (`GITHUB__GET_FILE_CONTENT`): Gets the content of a file from a repository
- Get issue (`GITHUB__GET_ISSUE`): Gets a specific issue from a repository
- Get organization (`GITHUB__GET_ORGANIZATION`): Gets information about an organization
- Get pull request (`GITHUB__GET_PULL_REQUEST`): Gets a specific pull request from a repository
- Get repository (`GITHUB__GET_REPOSITORY`): Gets information about a repository
- Get repository languages (`GITHUB__GET_REPOSITORY_LANGUAGES`): Gets the languages used in a repository with their percentage breakdown
- Get repository stats (`GITHUB__GET_REPOSITORY_STATS`): Gets repository statistics including code frequency and participation data
- Get user (`GITHUB__GET_USER`): Provides publicly available information about someone with a GitHub account
- Get user social accounts (`GITHUB__GET_USER_SOCIAL_ACCOUNTS`): Lists social media accounts for a user
- List branches (`GITHUB__LIST_BRANCHES`): Lists all branches for a repository. Use this before deployment to verify the correct branch name (main vs master) and avoid 'branch not found' deployment errors in Netlify.
- List collaborators (`GITHUB__LIST_COLLABORATORS`): Lists the collaborators for a repository
- List commits (`GITHUB__LIST_COMMITS`): Lists commits for a repository
- List contributors (`GITHUB__LIST_CONTRIBUTORS`): Lists repository contributors sorted by the number of commits
- List deploy keys (`GITHUB__LIST_DEPLOY_KEYS`): List deploy keys for a repository.
- List issues (`GITHUB__LIST_ISSUES`): Lists issues in a repository
- List pull request commits (`GITHUB__LIST_PULL_REQUEST_COMMITS`): Lists commits in a pull request
- List pull requests (`GITHUB__LIST_PULL_REQUESTS`): Lists pull requests in a repository
- List repositories (`GITHUB__LIST_REPOSITORIES`): Lists public repositories for the specified user
- List stargazers (`GITHUB__LIST_STARGAZERS`): Lists the users who have starred a specified repository
- List user organizations (`GITHUB__LIST_USER_ORGANIZATIONS`): Lists the organizations a user is a member of
- Create branch (`GITHUB__CREATE_BRANCH`): Creates a new branch in a GitHub repository
- Create commit status (`GITHUB__CREATE_COMMIT_STATUS`): Creates a status for a specific commit
- Create deploy key (`GITHUB__CREATE_DEPLOY_KEY`): Add a deploy key to a repository. Deploy keys are SSH keys that grant access to a single repository.
- Create issue (`GITHUB__CREATE_ISSUE`): Creates a new issue in a repository
- Create issue comment (`GITHUB__CREATE_ISSUE_COMMENT`): Creates a comment on an issue
- Create or update file (`GITHUB__CREATE_OR_UPDATE_FILE`): Creates a new file or updates an existing file in a repository
- Create pull request (`GITHUB__CREATE_PULL_REQUEST`): Creates a new pull request in a GitHub repository
- Create repository (`GITHUB__CREATE_REPOSITORY`): Creates a new repository for the authenticated user
- Search code (`GITHUB__SEARCH_CODE`): Searches for code in repositories on GitHub
- Search repositories (`GITHUB__SEARCH_REPOSITORIES`): Searches for repositories on GitHub
- Search users (`GITHUB__SEARCH_USERS`): Searches for users on GitHub
- Update pull request (`GITHUB__UPDATE_PULL_REQUEST`): Updates an existing pull request
- Update pull request branch (`GITHUB__UPDATE_PULL_REQUEST_BRANCH`): Updates the branch of a pull request
- Update repository (`GITHUB__UPDATE_REPOSITORY`): Updates a repository's settings including name, description, visibility, archived status, and other properties
- Add collaborator (`GITHUB__ADD_COLLABORATOR`): Adds a collaborator to a repository
- Add issue labels (`GITHUB__ADD_ISSUE_LABELS`): Adds labels to an issue
- Delete file (`GITHUB__DELETE_FILE`): Deletes a file from a repository
- Delete repository (`GITHUB__DELETE_REPOSITORY`): Deletes a repository. Deleting a repository requires admin access and cannot be undone
- Compare commits (`GITHUB__COMPARE_COMMITS`): Compares two commits and shows the differences between them
- Fork repository (`GITHUB__FORK_REPOSITORY`): Forks a repository to the authenticated user's account
- Merge pull request (`GITHUB__MERGE_PULL_REQUEST`): Merges a pull request
- Remove collaborator (`GITHUB__REMOVE_COLLABORATOR`): Removes a collaborator from a repository
- Star repository (`GITHUB__STAR_REPOSITORY`): Stars a repository on behalf of the authenticated user

## Questions

### When can I connect GitHub?

GitHub is coming soon and cannot be connected yet. Browse the catalog for apps you can connect now.

### Which plan includes GitHub?

MCP only with 2,000 calls a month, Pro and Max with 20,000. Calls are shared by every catalog app in the workspace. Past the monthly number they keep working from AI credits at $0.90 per 1,000 calls; the count resets on the 1st (UTC) and a retried call counts once.

Back to the [MCP catalog](https://krypton.bot/mcp-catalog/).
