Command · Engineering
GitHub
Import documentation and source files from GitHub repositories.
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.
Before you start
- A GitHub account with read access to the repositories
What you need to make the connection
| Field | Where to get it |
|---|---|
| Personal access token | GitHub → Settings → Developer settings → Personal access tokens. Fine-grained: Contents: Read-only on the chosen repos. Classic: the repo scope. |
| Repository | owner/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.
Setup steps
- 01
Create the token and grant read access to the repositories you need.
- 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. - Highlight 1: The Setup & Import (or Setup) and Agent Access (MCP) tabs
- Highlight 2: Setup instructions — the provider runbook. Open it for what to configure in the third-party service first.
- Highlight 3: Add connection starts a new connection.
- 03
Paste the token; Command lists the repositories it can see.
- 04
Select repositories, branch, and file globs (e.g. docs/**/*.md).
- 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.
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.