Skip to content

Connect OpenClaw to GitHub

Connect OpenClaw to GitHub in 3 steps: 1. Sign in to ApexGenius and connect GitHub. 2. Add the ApexGenius MCP server. 3. Start using GitHub in OpenClaw.

1,000 free credits · No card required

How to connect GitHub to OpenClaw

  1. 1Sign in to ApexGenius and connect GitHub
  2. 2Add the ApexGenius MCP server to OpenClaw
  3. 3Start using GitHub in OpenClaw
  1. 1GitHub

    Connect GitHub to ApexGenius

    Connect GitHub

    GitHub opens its own sign-in. Sign in and allow ApexGenius.

  2. 2ApexGenius

     

    Choose your repositories

    Pick the repositories your AI may use. Add more later from the connection page.

  3. 3ApexGenius

    Connect ApexGenius to OpenClaw

    Copy the MCP address

    On Start, pick API key, open Manual setup, and copy the MCP address.

  4. 4ApexGenius

     

    Approve access

    ApexGenius opens its approval page. Review the access, then approve.

Add the ApexGenius MCP server to OpenClaw

OpenClaw saves outbound MCP servers under mcp.servers in its config. Add one from the terminal, or in the Control UI under Settings, then MCP.

  1. Run the command. To use the Control UI instead, open Settings, then MCP, then Add server, choose Streamable HTTP, enter the address, and set auth to oauth in the config editor on that page.
  2. Sign in. In Settings, then MCP, choose Sign in for apexgenius and approve ApexGenius in your browser.
  3. From a terminal instead, stop the Gateway, run openclaw mcp login apexgenius, follow the printed authorization URL, then start the Gateway again.
Run in your terminal
openclaw mcp add apexgenius \
  --url https://server.autom8.pro/mcp \
  --transport streamable-http \
  --auth oauth

Check it. Run openclaw mcp doctor apexgenius --probe. It opens a live connection and lists what the server offers. Saving a server does not prove it answers.

Steps follow OpenClaw documentation, Connect MCP servers (opens in a new tab), read November 12, 2026.

Then ask OpenClaw

Using GitHub, tell me which GitHub account is connected, then read the README of the repository I name. Do not change anything.

Start free
Written setup, step by stepShow

Before you start

  • A GitHub account that can read the repositories you want your AI to use.
  • For a repository owned by an organization, an owner who can approve the ApexGenius Connect app.

1. Connect GitHub to ApexGenius

  1. Open GitHub in Connections. Sign in to ApexGenius, open Connections, choose GitHub, and select Connect.
    The ApexGenius Connections page with GitHub in the Available group and its Connect button.
    Open Connections and find GitHub. Until you connect it, its row shows Connect.Open full-size image (opens in a new tab)
  2. Sign in to GitHub. GitHub asks which account to use. Choose Continue on the one you want and approve the ApexGenius Connect app. Nothing is pasted, and the sign-in renews itself.
    GitHub's Select user to authorize ApexGenius Connect page, with the account names blurred and a red box around the Continue row.
    GitHub asks which account to use. Choose Continue on the one you want. Account names are blurred in this capture.Open full-size image (opens in a new tab)
  3. Choose your repositories. Pick your account or an organization, choose Only select repositories, pick the ones your AI may use, and select Install. GitHub brings you back to ApexGenius. Add more later with Choose repos on GitHub on the connection page. An organization owner may need to approve the app.
    The GitHub page in ApexGenius with the status control menu open, showing Check again and Choose repos on GitHub.
    Back in ApexGenius, open the status control and choose Choose repos on GitHub to install the app on your repositories.Open full-size image (opens in a new tab)
    GitHub's Install ApexGenius Connect page asking where to install, listing a personal account (blurred) and an organization, with a red box around both.
    Pick your account or an organization to install the ApexGenius Connect app on.Open full-size image (opens in a new tab)
    GitHub's Install ApexGenius Connect form with All repositories and Only select repositories, the permissions, and red boxes around Only select repositories and Install.
    Choose Only select repositories, pick the ones your AI may use, then Install. ApexGenius keeps the connection read-only until you turn on writes.Open full-size image (opens in a new tab)
  4. Check the connected account. Your repositories appear on the connection Overview. Ask your AI the question below and compare the login with your GitHub account.
    The GitHub connection Overview in ApexGenius showing a green Connected status, rows for Tools, Agents and Skill, recent calls, and one repository switched on with its name blurred.
    After you connect, Overview shows Connected and lists your repositories. The repository name is blurred in this capture.Open full-size image (opens in a new tab)
Connect GitHub →

2. Connect ApexGenius to OpenClaw

Use this server address when adding the connection:

https://server.autom8.pro/mcp

The steps are above, under Add the ApexGenius MCP server to OpenClaw. These notes apply to OpenClaw only.

  • Set the transport. When transport is left out, OpenClaw uses SSE. ApexGenius serves Streamable HTTP, so keep --transport streamable-http.
  • Browser on another machine. If the browser cannot reach the callback, copy the code it returns and run openclaw mcp login apexgenius --code with that code.
  • If sign-in is needed again. openclaw mcp status --verbose shows whether a server needs authorization. Until it is signed in, OpenClaw leaves that one server out of the agent’s tools instead of failing the turn.
  • Reloading. openclaw mcp reload refreshes only the current CLI process. A Gateway running elsewhere needs its own reload or restart.
  • Access. When ApexGenius asks what OpenClaw may use, choose Read only for the first test, or Custom to limit it to the tools you need.

3. Verify one safe read

Using GitHub, tell me which GitHub account is connected, then read the README of the repository I name. Do not change anything.

Using GitHub, tell me which GitHub account is connected, then read the README of the repository I name. Do not change anything.

Confirm the login matches your GitHub account and the README matches the repository on github.com. If the README is missing, install the app on that repository with Choose repos on GitHub. New connections are read-only, so this check changes nothing. To let your AI open issues or open, review and merge pull requests, open the Tools tab on the connection, choose Settings, and switch to Read and write.

Full guide: the GitHub setup guide.

What it looks like in OpenClaw

Illustration of a task, not a recorded customer result. Your answers come from the account and dates you choose.

How the route works
OpenClaw
OpenClawApexGenius MCP route
Which GitHub account is connected? Do not change anything.
ApexGenius
Working with ApexGenius1 tool search · 1 read
RequestCheck the account
Account scopeAuthorized connections checked
apex_search_toolsGitHub account · Find GitHub readsComplete
apex_call_read_toolget_me · Read the connected accountComplete
OpenClaw

Illustrative example: the connection belongs to the login octo-dev. Compare it with the GitHub account you meant to connect before reading a repository.

Read-only route
OpenClaw

What to ask OpenClaw about GitHub

  • Check the account

    Which GitHub account is connected? Do not change anything.

    Runs get_me (read).

  • Open pull requests

    Summarize the open pull requests in the repository I name, with author, age and review status.

    Runs list_pull_requests (read), then pull_request_read (read).

  • Read a file

    Read the config file I name on the main branch and explain what it sets.

    Runs get_file_contents (read).

These 3 questions use 4 of GitHub’s 44 operations. The full list is below.

  • 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)

What OpenClaw can do in GitHub

44 operations: 29 read, 15 write. Read looks things up and changes nothing. Writes change GitHub and run only when you turn them on.

Account and teams

3 read
  • get_meread
  • get_teamsread
  • get_team_membersread

Repositories and code

4 read
  • search_repositoriesread
  • get_file_contentsread
  • search_coderead
  • list_repository_collaboratorsread

Commits, branches and tags

6 read
  • list_commitsread
  • get_commitread
  • search_commitsread
  • list_branchesread
  • list_tagsread
  • get_tagread

Releases

3 read
  • list_releasesread
  • get_latest_releaseread
  • get_release_by_tagread

Issues

6 read · 4 write
  • list_issuesread
  • issue_readread
  • search_issuesread
  • get_labelread
  • list_issue_typesread
  • list_issue_fieldsread
  • issue_writewrite
  • add_issue_commentwrite
  • update_issue_commentwrite
  • sub_issue_writewrite

Pull requests

3 read · 7 write
  • list_pull_requestsread
  • pull_request_readread
  • search_pull_requestsread
  • create_pull_requestwrite
  • merge_pull_requestwrite
  • update_pull_requestwrite
  • update_pull_request_branchwrite
  • pull_request_review_writewrite
  • add_comment_to_pending_reviewwrite
  • add_reply_to_pull_request_commentwrite

People

1 read
  • search_usersread

GitHub Actions

3 read
  • actions_listread
  • actions_getread
  • get_job_logsread

Branch and file writes

3 write
  • create_branchwrite
  • create_or_update_filewrite
  • push_fileswrite

Workflow runs

1 write
  • actions_run_triggerwrite

You choose the access. When you approve OpenClaw, pick Full access, Read only, or Custom.

GitHub checks the connection on every call. Your AI sees only the repositories the app is installed on.

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.

Manual workflow runs are off until you switch them on for a repository. A PR merge can still trigger workflows and deployments. Deleting files or run logs, and creating, deleting or forking repositories stay blocked. Every write is audited and runs when called.

An organization owner may need to approve the ApexGenius Connect app before it reaches the organization’s repositories.

Disconnecting removes the connection from ApexGenius. To stop access everywhere, uninstall the ApexGenius Connect app on GitHub.

Start free

Questions about connecting OpenClaw to GitHub

Updated November 12, 2026.

How do I connect OpenClaw to GitHub?

Connect OpenClaw to GitHub through ApexGenius in three steps. Sign in to ApexGenius and connect GitHub with your GitHub login, choosing the repositories. In OpenClaw, run openclaw mcp add apexgenius --url https://server.autom8.pro/mcp --transport streamable-http --auth oauth, then sign in from Settings, then MCP. Then start a task in OpenClaw and ask a GitHub question.

How do I check that OpenClaw can use GitHub?

Run openclaw mcp doctor apexgenius --probe. It opens a live connection and lists what the server offers. If openclaw mcp status --verbose reports that authorization is required, sign in again from Settings, then MCP, or with openclaw mcp login apexgenius. Then ask: “Using GitHub, tell me which GitHub account is connected, then read the README of the repository I name. Do not change anything.”

Is there a GitHub MCP server for OpenClaw?

Yes. ApexGenius is an MCP server that OpenClaw connects to once. It carries your GitHub connection and 44 GitHub operations, so OpenClaw does not need a separate GitHub integration or plugin.

What can OpenClaw do in GitHub once it is connected?

OpenClaw can run 44 GitHub operations through ApexGenius: 29 reads across repositories, code, commits, branches, releases, issues, pull requests and teams, and 15 writes that open issues, comment, push branches, and open, review or merge pull requests once you turn writes on.

Can OpenClaw read my private GitHub repositories?

Yes. OpenClaw reads the private GitHub repositories you install the ApexGenius Connect app on, and nothing else. GitHub checks the installation on every call, and you add or remove repositories on GitHub at any time.

Can OpenClaw change my GitHub repositories?

Not until you turn writes on. A GitHub connection in ApexGenius starts read only. Under Settings you name the repositories and switch to read and write, and OpenClaw can then open issues, comment, push branches, and open, review or merge pull requests there. GitHub permissions and branch rules still apply. Deleting files, and creating, deleting or forking repositories are always refused.

Can I use the same GitHub connection with Claude, ChatGPT, Grok Bot or Muse?

Yes. One GitHub connection in ApexGenius works with every compatible agent you add, including Claude, ChatGPT, Grok Bot or Muse. Each agent gets its own access choice and its own short setup, and the GitHub skill loads in all of them.

Connect GitHub to OpenClaw today

Start free

1,000 free credits. No card required. Disconnect any time.