Connectors

GitHub Connector

Connect repositories so agents can ground in code, recent PRs, and issue history.

Setup

  1. Install the GitHub App for the org or user account that owns the repos.
  2. Choose the repositories available to the workspace.
  3. Let indexing complete for the default branch and active pull requests.
  4. Run mos source ls github from a connected workspace when the CLI is available.

Security model

Connected code is used for grounding. Agents that propose PRs or source changes still go through approvals before any push or workspace write.

  • No background commits.
  • Repository disconnect purges indexed workspace context.
  • Source references should use kind: "git" for repos, commits, branches, and PRs.