Skip to main content
GitHub

Overview

Tool catalogue

GitHub tools are surfaced through the MCP runtime (POST /api/v1/mcp/:serverId) and the HTTP chat endpoint (POST /api/v1/mcp/:serverId/chat). In router mode the model uses SEARCH_TOOLS to discover the right slug at runtime — you don’t bind a fixed REST resource ahead of time. The catalogue covers: Discover the full list at runtime:
The model will call SEARCH_TOOLS({query: "pull request review"}) and stream the matched slugs back.

Connect setup

GitHub uses OAuth 2.0 against a GitHub-registered OAuth App (not the GitHub App flow). One app per platform is enough — your end users supply their own GitHub credentials by going through the consent screen.
1

Register a GitHub OAuth App

Go to github.com/settings/developersOAuth AppsNew OAuth App. Set the Authorization callback URL to:
Copy the Client ID and generate a new Client Secret.
2

Required OAuth scopes

The default scope set requested at consent time:
  • repo — repo read/write
  • read:org — read org membership and teams
  • user — read profile + email
  • gist — manage gists
  • workflow — manage GitHub Actions workflows
  • notifications — read user notifications
  • read:packages — download packages
3

Connect via the widget

The end user opens the Connect widget, picks GitHub, and is redirected to GitHub’s consent screen.

Usage

The agent loop picks GITHUB_CREATE_A_PULL_REQUEST, executes it with the connected user’s token, and streams the result back as SSE.

Direct MCP JSON-RPC (Claude Desktop / Cursor / custom MCP clients)

Once connected, MCP clients can invoke any of the 417 tools by slug via the standard tools/call JSON-RPC method.