G

github.com

GitHub is a code hosting and developer collaboration platform with repositories, pull requests, issues, automation, and AI-assisted development features. It provides APIs and tooling for automating repository, workflow, app, and account-related tasks.

5 integrations · MCP · REST · GraphQL · CLI

GitHub exposes a public docs HTTP API, authenticated REST and GraphQL APIs on api.github.com, a remote MCP server on api.githubcopilot.com/mcp/, and the authenticated `gh` CLI.

discovered 1d ago
MCP servers1
REST · OpenAPI2
GraphQL1
CLI1
Credentials
GitHub personal access token (classic or fine-grained)bearerGet token ↗

Create a personal access token from your GitHub account settings using Managing your personal access tokens. Choose scopes or fine-grained permissions based on the API or MCP actions you need. GitHub's docs note that fine-grained PATs include read access to public repositories, while classic PATs need scopes such as public_repo for public-repo access.

GitHub App credentials and derived access tokensappGet key ↗

Register a GitHub App using Register a GitHub App. After registration, generate the app's private key and use GitHub's app-auth flows to mint the token needed for your use case: an installation access token for app installations or a user access token when acting on behalf of a user, as described under Authenticate as an installation and Authenticate on behalf of users.

GitHub OAuth app client credentials and user access tokenoauth2Set up OAuth ↗

Create an OAuth app using Creating an OAuth app. Configure its callback URL, then send users through GitHub's OAuth authorization flow as documented in Authorizing OAuth apps to obtain a user access token with the scopes your integration needs.

GitHub CLI stored login/sessionoauth2$ gh auth login

Acquired by the CLI — running gh auth login opens the auth flow and stores the credential.

GitHub MCP remote-server OAuth authorizationoauth2

For the remote GitHub MCP server at https://api.githubcopilot.com/mcp/, compatible MCP hosts can use one-click OAuth sign-in. GitHub's MCP docs say you do not need to create a PAT for this path: configure the server URL in your MCP host or IDE and approve access in the browser when prompted. See Setting up the GitHub MCP Server and the GitHub MCP Server README.

conventions · 1/8 published

Publish these signals → /publishing