The GitHub connector lets your workflows talk to GitHub’s hosted MCP server — a remote MCP endpoint maintained by GitHub that exposes their full repository, issues, pull requests, and Actions surface.Documentation Index
Fetch the complete documentation index at: https://docs.spojit.com/llms.txt
Use this file to discover all available pages before exploring further.
Spojit does not curate the tool list — GitHub does. For the live set of tools and their parameters, see the GitHub MCP server documentation.
| Connector | Auth | Best for |
|---|---|---|
| GitHub | Personal Access Token | Quick setup, scripted/automated use, machine accounts |
| GitHub (OAuth) | OAuth App | End-user flows where each member authorises with their own GitHub account |
Connection setup — Personal Access Token
Create a fine-grained PAT
Go to github.com/settings/personal-access-tokens and click Generate new token. Pick a name, an expiry, and the repositories you want to grant access to.
Grant permissions
Under Repository permissions, grant the access your workflows need. Common picks:
- Contents: Read (or Read and write to commit/push)
- Issues: Read and write
- Pull requests: Read and write
- Actions: Read (for run status) or Read and write (to trigger runs)
Connection setup — OAuth
Pick a scope preset
When you click Connect on the GitHub (OAuth) connector, Spojit asks which level of access to request:
- Public repos only —
public_repo+read:user. Read and write public repos. No access to private repositories. - All repositories —
repo+read:user. Read and write public and private repos.
Choosing between PAT and OAuth
- Use a PAT when the integration is owned by your team (not a specific person) or when you want full control over expiry and revocation. PATs don’t depend on a user account staying active.
- Use OAuth when each user should authorise with their own GitHub identity. Audit logs on GitHub then show the real actor for every API call.
Caveats
- OAuth Apps don’t issue refresh tokens. Once an OAuth connection is made, the token stays valid until the user revokes it on GitHub — it doesn’t rotate on a schedule.
- GitHub OAuth scopes are coarse. There is no
repo:readscope — thereposcope grants read and write across both public and private repos. If you need true read-only access on private repos, that isn’t expressible at the OAuth layer; you’d need to enforce it at the tool/policy layer or switch to a GitHub App with fine-grained permissions. - MCP endpoint is hosted by GitHub. Availability, rate limits, and the exact tool surface are determined by GitHub. Outages and breaking changes are upstream.