GitHub integration for AI chat
Connect your GitHub account and the Endless agent can search your repositories, read and open issues, review pull requests and push a change, all from the chat you already work in.
What the agent can do with GitHub
- 01
Search code and repositories
Find a function across every repository you can see, read a file or a folder, and list a repository's branches, tags and releases.
- 02
Read and triage issues
List and search issues, read one with its comments, open a new one, update it, comment on it or add a sub-issue.
- 03
Review pull requests
Read a pull request, write a review with line comments, ask Copilot for a review and merge it when it is ready.
- 04
Change files and branches
Create a branch, edit a file or push several in one commit, and open a pull request with the change.
- 05
Follow commits
Read a branch's commit history, open a single commit and search commits by message or author.
- 06
Scan for leaked secrets
Check files or recent changes for API keys, passwords and tokens before you push them.
Things to ask
- “Summarize the pull requests merged in acme/web this week, grouped by area.”
- “Find where our repositories call the billing webhook and explain what it does.”
- “Open an issue in acme/web for the broken sign-up redirect, with the steps from this chat.”
- “Review pull request 482 in acme/api and comment on anything risky.”
How to set it up
- 01
Open connectors
In Endless, open Settings and go to Connectors.
- 02
Connect GitHub
Connect GitHub from its card, then approve access on GitHub's sign-in page.
- 03
Ask in chat
Start a chat and ask for what you need. The agent uses GitHub when your request calls for it.
Every GitHub tool the agent gets
44 tools, as GitHub's MCP server lists them. The agent picks the one that fits your request.
| Tool | What it does, in GitHub's words |
|---|---|
| add_comment_to_pending_review | Add review comment to the requester's latest pending pull request review. |
| add_issue_comment | Add a comment to a specific issue in a GitHub repository. |
| add_reply_to_pull_request_comment | Add a reply to an existing pull request comment. |
| create_branch | Create a new branch in a GitHub repository |
| create_or_update_file | Create or update a single file in a GitHub repository. |
| create_pull_request | Create a new pull request in a GitHub repository. |
| create_repository | Create a new GitHub repository in your account or specified organization |
| delete_file | Delete a file from a GitHub repository |
| fork_repository | Fork a GitHub repository to your account or specified organization |
| get_commit | Get details for a commit from a GitHub repository |
| get_file_contents | Get the contents of a file or directory from a GitHub repository |
| get_label | Get a specific label from a repository. |
| get_latest_release | Get the latest release in a GitHub repository |
| get_me | Get details of the authenticated GitHub user. |
| get_release_by_tag | Get a specific release by its tag name in a GitHub repository |
| get_tag | Get details about a specific git tag in a GitHub repository |
| get_team_members | Get member usernames of a specific team in an organization. |
| get_teams | Get details of the teams the user is a member of. |
| issue_read | Get information about a specific issue in a GitHub repository. |
| issue_write | Create a new or update an existing issue in a GitHub repository. |
| list_branches | List branches in a GitHub repository |
| list_commits | Get list of commits of a branch in a GitHub repository. |
| list_issue_fields | List issue fields for a repository or organization. |
| list_issue_types | List supported issue types for a repository or its owner organization. |
| list_issues | List issues in a GitHub repository. |
| list_pull_requests | List pull requests in a GitHub repository. |
| list_releases | List releases in a GitHub repository |
| list_repository_collaborators | List collaborators of a GitHub repository. |
| list_tags | List git tags in a GitHub repository |
| merge_pull_request | Merge a pull request in a GitHub repository. |
| pull_request_read | Get information on a specific pull request in GitHub repository. |
| pull_request_review_write | Create and/or submit, delete review of a pull request. |
| push_files | Push multiple files to a GitHub repository in a single commit |
| request_copilot_review | Request a GitHub Copilot code review for a pull request. |
| run_secret_scanning | Scan files, content, or recent changes for secrets such as API keys, passwords, tokens, and credentials. |
| search_code | Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. |
| search_commits | Search for commits across GitHub repositories using GitHub's commit search syntax. |
| search_issues | Search for issues in GitHub repositories using issues search syntax already scoped to is:issue |
| search_pull_requests | Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr |
| search_repositories | Find GitHub repositories by name, description, readme, topics, or other metadata. |
| search_users | Find GitHub users by username, real name, or other profile information. |
| sub_issue_write | Add a sub-issue to a parent issue in a GitHub repository. |
| update_pull_request | Update an existing pull request in a GitHub repository. |
| update_pull_request_branch | Update the branch of a pull request with the latest changes from the base branch. |
Frequently asked questions
What GitHub access does Endless ask for?
When you connect, Endless asks GitHub for the repo, read:org and read:user scopes. The agent reaches only the repositories and organizations your own GitHub account can.
Can the agent change code in GitHub?
Yes. It can create a branch, edit or push files, open a pull request and merge one, all as your account. It does so when your request asks for it, so say exactly what you want changed.
Do I need a GitHub account?
Yes. Each person in the workspace connects their own GitHub account, and the agent acts with that account's access. Nobody else in the workspace can use your connection.
Can a workspace admin turn GitHub off?
Yes. An admin can turn a connector off for the whole workspace in the Workspace tab of the connectors settings. Members choose for themselves among the connectors left on.
Can a scheduled task use GitHub?
Yes. A scheduled task can use the connectors its creator has connected, so a weekly report can read GitHub the same way a chat does.
Which chat models can use GitHub?
The chat model you pick in Endless gets the GitHub tools, so you can switch models in a conversation and keep the connection.
Related integrations
Linear
Find, create and update issues and projects from chat.
38 tools
See the integration: Linear
DeepWiki
Ask how an open-source repository works and get an answer from its code.
3 tools
See the integration: DeepWiki
Context7
Current library docs and code examples, read before the agent answers.
2 tools
See the integration: Context7
Give your next idea a place to grow.
Start free, create a project, and bring your brand’s references together. Or book a demo to explore Endless with your team.