Skip to content
← Connectors Directory

Command · Engineering

GitHub

Import documentation and source files from GitHub repositories.

ImportExternal MCPAuth: Personal access token

How it works

GitHub imports documentation and source files from repositories using a personal access token. GitHub's own remote MCP server can also be attached as an external MCP bridge.

01

Before you start

  • A GitHub account with read access to the repositories
02

What you need to make the connection

FieldWhere to get it
Personal access tokenGitHub → Settings → Developer settings → Personal access tokens. Fine-grained: Contents: Read-only on the chosen repos. Classic: the repo scope.
Repositoryowner/repo, plus an optional branch and path prefix.

Recommended practice: keep credentials private. If one is exposed, revoke or rotate it with the provider before reconnecting.

03

Setup steps

  1. 01

    Create the token and grant read access to the repositories you need.

  2. 02

    In raia Command, click Connectors in the left sidebar, open the connector, and click its connect button (Add connection on most connectors).

    The GitHub connector page in raia Command (Connectors → GitHub) — review Setup instructions before connecting.
    1. Highlight 1: The Setup & Import (or Setup) and Agent Access (MCP) tabs
    2. Highlight 2: Setup instructions — the provider runbook. Open it for what to configure in the third-party service first.
    3. Highlight 3: Add connection starts a new connection.
  3. 03

    Paste the token; Command lists the repositories it can see.

  4. 04

    Select repositories, branch, and file globs (e.g. docs/**/*.md).

  5. 05

    Choose the destination project folder, run the first import, then set a sync schedule. Review Sync History for recorded runs and errors; a saved connection does not prove an import succeeded.

04

Good to know

  • Fine-grained tokens are preferred — they can be scoped to individual repositories and expire on a schedule.
  • Org SSO requires authorizing the token for the organization after creating it.
05

Next steps

Other Engineering connectors