Skip to main content
The GitHub integration exposes selected repository reads through a local MCP server. Use Connect to select the profile and configure access for the repositories your agent needs.

Operations

Account setup

Supply a GitHub token with access to the intended repositories through the host’s credential controls. The server receives it as GITHUB_PERSONAL_ACCESS_TOKEN. Use a separate process for each account and retire that process when changing accounts.

Direct MCP configuration

The selected server runs over stdio with:
The host selects the absolute executable, child environment and exact working directory from the checked installation. The selected server reads configuration relative to that directory. In the unreleased native installation path, Connect preserves the emitted cwd through Core’s validated stdio configuration and checks it on readback. Do not drop it, substitute the host’s current directory or infer it from the executable name. This source support does not establish an authenticated Connect read against a real account. Keep unrelated GitHub, proxy and logging settings out of the child environment. Retain the bundled notices alongside the executable. After connection, inspect the tool list and apply the intended agent grants. For reproducible file reads, use a commit SHA. For commit lists, provide positive integer page and perPage values and consume returned pages explicitly.

Process and output handling

Set a caller deadline and retain process ownership through cleanup. Apply the host’s network and output controls to repository content and provider errors. File reads may involve additional tree or reference requests; resource links are resolved by the consuming host. See native MCP integration for attachment and access control for operation and resource permissions.