AI 채팅용 GitHub 연동
GitHub 계정을 연결하면 Endless 에이전트가 지금 사용하는 채팅에서 바로 저장소를 검색하고, 이슈를 읽고 만들고, 풀 리퀘스트를 리뷰하고, 변경 사항을 푸시할 수 있습니다.
에이전트가 GitHub에서 할 수 있는 작업
- 01
코드와 저장소 검색
접근할 수 있는 모든 저장소에서 함수를 찾고, 파일이나 폴더를 읽고, 저장소의 브랜치, 태그, 릴리스 목록을 확인합니다.
- 02
이슈 읽기 및 분류
이슈 목록을 보고 검색하며, 댓글과 함께 이슈를 읽고, 새 이슈를 만들거나 수정하고, 댓글을 달거나 하위 이슈를 추가합니다.
- 03
풀 리퀘스트 리뷰
풀 리퀘스트를 읽고, 라인 코멘트가 포함된 리뷰를 작성하고, Copilot에 리뷰를 요청하고, 준비되면 병합합니다.
- 04
파일과 브랜치 변경
브랜치를 만들고, 파일을 편집하거나 여러 파일을 한 커밋으로 푸시하고, 변경 사항으로 풀 리퀘스트를 엽니다.
- 05
커밋 추적
브랜치의 커밋 기록을 읽고, 개별 커밋을 열고, 메시지나 작성자로 커밋을 검색합니다.
- 06
유출된 시크릿 검사
푸시하기 전에 파일이나 최근 변경 사항에 API 키, 비밀번호, 토큰이 있는지 확인합니다.
요청 예시
- “이번 주 acme/web에 병합된 풀 리퀘스트를 영역별로 묶어 요약해 주세요.”
- “우리 저장소에서 결제 웹훅을 호출하는 곳을 찾아 어떤 일을 하는지 설명해 주세요.”
- “이 채팅에 나온 재현 단계를 포함해 acme/web에 회원가입 리디렉션 오류 이슈를 만들어 주세요.”
- “acme/api의 풀 리퀘스트 482를 리뷰하고 위험해 보이는 부분에 코멘트를 남겨 주세요.”
설정 방법
- 01
커넥터 열기
Endless에서 설정을 열고 커넥터로 이동하세요.
- 02
GitHub 연결
카드에서 GitHub 연결을 시작한 다음 GitHub 로그인 페이지에서 액세스를 승인하세요.
- 03
채팅에서 요청
채팅을 시작하고 필요한 내용을 요청하세요. 요청에 필요하면 에이전트가 GitHub 커넥터를 사용합니다.
에이전트가 사용할 수 있는 GitHub 도구 전체
GitHub MCP 서버에 나열된 도구 44개입니다. 에이전트가 요청에 맞는 도구를 선택합니다.
| 도구 | 기능 설명(GitHub 제공) |
|---|---|
| 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. |
자주 묻는 질문
Endless는 어떤 GitHub 권한을 요청하나요?
연결할 때 Endless는 GitHub에 repo, read:org, read:user 범위를 요청합니다. 에이전트는 내 GitHub 계정이 접근할 수 있는 저장소와 조직에만 접근합니다.
에이전트가 GitHub의 코드를 변경할 수 있나요?
네. 브랜치를 만들고, 파일을 편집하거나 푸시하고, 풀 리퀘스트를 열고 병합할 수 있으며, 모두 내 계정으로 수행됩니다. 요청에 포함된 경우에만 이런 작업을 하므로 무엇을 변경할지 정확히 알려 주세요.
GitHub 계정이 필요하나요?
예. 워크스페이스의 각 멤버가 자신의 GitHub 계정을 연결하며, 에이전트는 해당 계정의 권한으로 작업합니다. 워크스페이스의 다른 사람은 내 연결을 사용할 수 없습니다.
워크스페이스 관리자가 GitHub 커넥터를 끌 수 있나요?
예. 관리자는 커넥터 설정의 워크스페이스 탭에서 워크스페이스 전체의 커넥터를 끌 수 있습니다. 멤버는 켜져 있는 커넥터 중에서 직접 선택합니다.
예약 작업에서 GitHub 커넥터를 사용할 수 있나요?
예. 예약 작업은 작성자가 연결한 커넥터를 사용할 수 있으므로, 주간 보고서도 채팅과 같은 방식으로 GitHub에서 데이터를 읽을 수 있습니다.
어떤 채팅 모델에서 GitHub 커넥터를 사용할 수 있나요?
Endless에서 선택한 채팅 모델이 GitHub 도구를 사용하므로, 대화 중에 모델을 바꿔도 연결이 유지됩니다.