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. |
Credentials are stored encrypted in raia Command and are never shown again after saving. Rotate them at the provider if they are exposed.
Setup steps
- 01
Create the token and grant read access to the repositories you need.
- 02
In raia Command, open Settings → Connectors, find the connector, and click Connect.
- 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. Every run is recorded in Sync History.
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.