Skip to content
GitHub

GitHub MCP connector

GitHub token · Available

GitHub MCP Connector for AI Agents

Connect your AI agents to GitHub over MCP: read code, issues and pull requests, and open issues or pull requests only in repositories you allow.

Connect GitHub once in ApexGenius with a personal access token, then read repositories, files, code search, commits, releases, issues and pull requests from compatible AI agents. Connections start read-only. Switch one to read and write for the repositories you name, and your AI can open issues, comment, push branches and open pull requests there and nowhere else. Merging, deleting, forking and creating repositories stay blocked. Each AI agent needs its own ApexGenius setup.

7 days free · No card required

GitHub

GitHub

App connector

Available

Bring your GitHub repositories and the GitHub skill to compatible AI agents. Read code, issues and pull requests, and turn on writes for the repositories you pick.

39
Operations
26
Read
13
Write
3
In context
Authorization
GitHub token
Cataloged tools
39 discoverable
Connection scope
The repositories your GitHub token can read, and the ones you allow writes in
Accounts
Connected account

Reviewed Sep 23, 2026

ClaudeChatGPT

Claude / ChatGPT

MCP client

ApexGenius route

Gateway context

GitHub

GitHub

Authorized session

Why the gateway is here

It keeps the GitHub authorization, tools, and activity behind the same managed route you use for your other supported systems.

Ask it

What people ask GitHub.

These questions use the GitHub tools below. Start with a read after connecting your channel or account.

  • Which GitHub account is connected? Do not change anything.Read
  • Summarize the open pull requests in the repository I name, with author, age and review status.Read
  • Read the config file I name on the main branch and explain what it sets.Read
  • List the bug issues opened in the last 30 days in the repository I name.Read
  • What changed in the latest release of the repository I name?Read
  • In the repository I name, open an issue titled "Flaky checkout test" with the failure I paste, then read it back to me.Write

Tools

What GitHub can do through ApexGenius.

The reviewed catalog contains these 39 GitHub tools. Search by tool name, job, or access type.

Open the generated tool reference

Account and teams

get_me
Read

Read the GitHub account the token belongs to.

Account and teams

get_teams
Read

List the teams you belong to in organizations the token can see.

Account and teams

get_team_members
Read

List the members of one organization team.

Repositories and code

search_repositories
Read

Find repositories by name, description, topic or owner.

Repositories and code

get_file_contents
Read

Read a file or list a folder on any branch, tag or commit.

Repositories and code

search_code
Read

Search code across GitHub with GitHub code search.

Repositories and code

list_repository_collaborators
Read

List the collaborators on a repository.

Commits, branches and tags

list_commits
Read

List commits on a branch.

Commits, branches and tags

get_commit
Read

Read one commit with its changed files, and the diff when asked.

Commits, branches and tags

search_commits
Read

Search commits by message, author or date.

Commits, branches and tags

list_branches
Read

List the branches in a repository.

Commits, branches and tags

list_tags
Read

List the tags in a repository.

Commits, branches and tags

get_tag
Read

Read one tag.

Releases

list_releases
Read

List the releases in a repository.

Releases

get_latest_release
Read

Read the latest release.

Releases

get_release_by_tag
Read

Read the release for one tag.

Issues

list_issues
Read

List issues in a repository, filtered by state or label.

Issues

issue_read
Read

Read one issue with its comments, labels, parent or sub-issues.

Issues

search_issues
Read

Search issues by meaning, such as a bug described in your own words.

Issues

get_label
Read

Read one label in a repository.

Issues

list_issue_types
Read

List the issue types a repository or organization supports.

Issues

list_issue_fields
Read

List the issue fields defined for a repository or organization.

Pull requests

list_pull_requests
Read

List pull requests in a repository.

Pull requests

pull_request_read
Read

Read one pull request with its diff, files, commits, reviews, comments or check runs.

Pull requests

search_pull_requests
Read

Search pull requests across repositories.

People

search_users
Read

Find GitHub users by username or name.

Issue writes

issue_write
Write

Create, update, close or reopen an issue.

Issue writes

add_issue_comment
Write

Comment on an issue or pull request.

Issue writes

update_issue_comment
Write

Edit one existing comment.

Issue writes

sub_issue_write
Write

Add, remove or reorder sub-issues under a parent issue.

Branch and file writes

create_branch
Write

Create a branch from an existing one.

Branch and file writes

create_or_update_file
Write

Create or update one file on a branch with a commit message.

Branch and file writes

push_files
Write

Commit several files to a branch in one push.

Pull request writes

create_pull_request
Write

Open a pull request between two branches.

Pull request writes

update_pull_request
Write

Change a pull request’s title, body, base, reviewers or draft state.

Pull request writes

update_pull_request_branch
Write

Update a pull request branch with the latest base branch.

Pull request writes

pull_request_review_write
Write

Create, submit or delete a pull request review.

Pull request writes

add_comment_to_pending_review
Write

Add a line comment to a pending review.

Pull request writes

add_reply_to_pull_request_comment
Write

Reply to a review comment thread.

Connection model

How to connect GitHub.

The GitHub connection belongs to your signed-in account. Any GitHub-native resources stay inside that provider.

Read connection details

Before you start

  • A GitHub account that can read the repositories you want your AI to use.
  • A personal access token. A fine-grained token is best: choose the repositories and set Contents, Issues and Pull requests to Read-only, or to Read and write if you plan to turn on writes. A classic token with the repo scope also works for reads.

1. Connect GitHub to ApexGenius

  1. Create a token on GitHub. Open github.com/settings/personal-access-tokens and generate a fine-grained token. Pick the owner and only the repositories you need. Set Contents, Issues and Pull requests to Read-only, or to Read and write for repositories your AI may change. Copy the token once. The connect form links to a pre-filled token page for each choice.
    The full GitHub Fine-grained personal access tokens page, with the account avatar blurred and red boxes around Fine-grained tokens and Generate new token.
    Settings, Developer settings, Personal access tokens, Fine-grained tokens. Generate new token starts one. The account avatar is blurred in this capture.Open full-size image (opens in a new tab)
  2. Open GitHub in Connections. Sign in to ApexGenius, open Connections, choose GitHub, and select Connect.
  3. Paste the token. Paste the token into the connection form. ApexGenius supplies the GitHub MCP address, checks the token with GitHub, and stores it encrypted. Never paste the token into a chat.
  4. Check the connected account. Open Tools to see the read tools GitHub lists for your token, then ask your AI the question below. Compare the login with your GitHub account.
Connect GitHub →

2. Choose your AI and finish setup

Each guide includes the AI setup and a first question for GitHub.

Current governance

Know the account, tools, and result.

ApexGenius keeps the selected context and current tool surface visible, then records supported write activity for review.

Authorized context

GitHub checks the token on every call. Your AI sees only the repositories and data the token can read.

Current tool surface

Connections start read-only: ApexGenius sends GitHub’s read-only header, so write tools are not listed and cannot run. Under Settings you can switch one connection to read and write for the repositories you name; reads and writes then stay inside that list.

Reviewable activity

Merging pull requests, deleting files, and creating, deleting or forking repositories are refused on every connection, whatever the token allows. Every write is audited and runs when called.

An organization can require approval for fine-grained tokens, or block classic tokens, before they reach its repositories.

Why a gateway

39 operations. Three tool definitions.

Your AI starts with three ApexGenius gateway tools. It discovers the GitHub operations available to its authorization when a task needs them, then runs the selected operation through the gateway.

One saved provider connection

Connect GitHub to ApexGenius, then authorize each AI client to use the saved connection with its own tool permissions.

Scoped per agent

Give one client read-only and the write operations never appear in its tool list at all.

Every call on the record

Which agent asked, what ran, and whether it succeeded, kept per connection for review.

Use GitHub with your AI.

Choose your AI client for setup steps and examples using GitHub.

FAQ

Questions people ask before connecting GitHub.

How do I connect GitHub?
Create a personal access token on GitHub, open GitHub in ApexGenius Connections, and paste it. ApexGenius checks the token with GitHub before saving it encrypted.
Which token should I create?
A fine-grained token is best. Choose only the repositories you want, then set Contents, Issues and Pull requests to Read-only, or to Read and write for repositories you will let your AI change. GitHub adds Metadata on its own. A classic token with the repo scope also works, and it is the only kind GitHub lets write to a repository where you are just a collaborator; the repository list in ApexGenius still bounds it.
Can it change my repos?
Not until you say so. Connections start read-only. Under Settings, switch a connection to read and write and name the repositories; then your AI can open issues, comment, push branches and open pull requests there, and nowhere else. Merging, deleting, forking and creating repositories are always refused. Make those changes on GitHub.
How do I limit writes to certain repositories?
List them on the connection page, one owner/name per line, before switching to read and write. ApexGenius refuses any call outside that list and adds repo filters to searches. Your fine-grained token can name the same repositories, so GitHub enforces the boundary too.
Can it read private repositories?
Yes, the ones your token includes. A fine-grained token reaches only the repositories you picked. Public repositories are readable with any token.
What happens when my token expires?
GitHub stops accepting it and reads fail. Create a new token on GitHub and paste it on the GitHub connection page in ApexGenius.
Can I take this setup to another AI agent?
Yes. Add ApexGenius to another compatible agent with the same ApexGenius account. It can use the same GitHub connection and load the GitHub skill. Each agent needs its own setup.

MCP-compatible AI agents

ClaudeChatGPTCursorVS Code

Codex starts in Plugins in the ChatGPT desktop app. ChatGPT Chat and Work also use Plugins, with personal setup where Developer Mode is permitted. Each AI client has its own guide and authorization requirements.

App connections

Salesforcen8nConfluence

Salesforce keeps connection context. Other providers use your signed-in account.

Connect GitHub. Start with a safe read.

Use the AI you already work in while ApexGenius keeps the app route visible.

Connect GitHub

7 days free · No card required

Compatibility does not imply partnership.