Skip to main content

GitHub

This page covers how to connect the GitHub MCP server to Sumo Logic. For the general setup steps and the list of redirect URLs, see Set up an integration via MCP.

info

GitHub's hosted MCP server accepts an OAuth App or a personal access token. A GitHub App installation token is not supported, so register an OAuth App, not a GitHub App.

Prerequisites​

Before you start, make sure you have:

  • A GitHub account with access to the repositories you want to use.
  • The Manage Integrations permission, to add a server or connection.
  • The redirect URL for your Sumo Logic deployment, from the redirect URL table on the parent page, if you use your own OAuth App.
  • A GitHub organization owner, to approve the OAuth App for the organization and to register your own OAuth App.

Authentication method​

Use the Sumo Logic managed app unless your security policy requires your own app or you need a shared identity.

MethodWho is signed inWhat you set up on GitHub
OAuth 2.0 (Authorization code) - Use the Sumo Logic managed appEach user, with their own GitHub account.Nothing to create. An owner of each GitHub organization may need to approve the app.
OAuth 2.0 (Authorization code) - Use your own credentialsEach user, with their own GitHub account.Register an OAuth App and enter its client ID and secret in Sumo Logic.
Bearer token (personal access token)One shared identity.Create a personal access token and enter it in Sumo Logic.

Vendor configuration​

Approve the app for your organization​

GitHub organizations can restrict OAuth app access to their data. GitHub enables this restriction by default for new organizations. Until an organization owner approves the app, you can authorize it for your personal account, but you cannot use it to access the organization's private repositories. This restriction applies to both the Sumo Logic-managed app and your own OAuth app.

To request:

  1. Open the approval screen and ask your organization owner to approve the app.

To grant access as an owner:

  1. Open the organization settings and navigate to Settings > Third-party Access > OAuth app policy.
  2. Once you find the app, click Review, and then click Grant access.

Approval applies to the entire organization and cannot be restricted to specific repositories.

Client ID and secret​

Create the OAuth app under a GitHub organization rather than a personal account. The app owner's name appears on the consent screen, and an organization-owned app remains available even when staff members leave the organization.

You must be an owner of the GitHub organization to create the app.

  1. Open your GitHub organization and navigate to Settings > Developer settings > OAuth Apps.
  2. Click New OAuth App.
  3. Enter the following details:
    GitHub fieldWhat to enter
    Application nameA recognizable name, such as your company name. This name appears on the consent screen.
    Homepage URLA public page for your organization or this integration.
    Application descriptionOptional. The description appears to users.
    Authorization callback URLThe redirect URL for your Sumo Logic deployment. Copy it exactly from the redirect URL table on the parent page.
    Enable Device FlowLeave this disabled.
  4. Click Register application.
  5. On the app page, copy the Client ID, then click Generate a new client secret and copy the secret. GitHub shows it only once.
  6. Leave Expire user access tokens enabled. GitHub then issues a refresh token, which Sumo Logic uses to keep users connected.

Personal access token​

  1. On GitHub, navigate to Settings > Developer settings > Personal access tokens and create a token. A fine-grained token lets you limit which repositories and permissions it has.
  2. Choose only the permissions and repositories you are comfortable sharing with everyone who can use the connection.
  3. Copy the token. GitHub shows it only once.

Connection setup in Sumo Logic​

Option 1: OAuth 2.0 (Authorization code) - Use the Sumo Logic managed app​

Follow the steps below to configure the connection:

  1. New UI. To access the integrations, in the main Sumo Logic menu select App Catalog > Integrations > Outbound Integrations.
  2. Click the GitHub card.
  3. Click Connect to open the Connect GitHub MCP configuration panel.
  4. Enter the connection name.
  5. Under Authentication configuration, select OAuth 2.0 (Authorization code).
  6. Under Authorization, select Use the Sumo Logic managed app. No credentials needed.
  7. Click Connect.
  8. On GitHub, review and approve access.

If your organization restricts OAuth Apps, an owner needs to approve the app.

Option 2: OAuth 2.0 (Authorization code) - Use your own credentials​

  1. New UI. To access the integrations, in the main Sumo Logic menu select App Catalog > Integrations > Outbound Integrations.
  2. Click the GitHub card.
  3. Click Connect to open the Connect GitHub MCP configuration panel.
  4. Enter the connection name.
  5. Under Authentication configuration, select OAuth 2.0 (Authorization code).
  6. Under Authorization, select Use your own credentials.
  7. Add the Client ID and Client Secret collected from the GitHub platform.
  8. Leave Public Client unchecked. GitHub OAuth Apps have a secret.
  9. (Optional) Add the scopes, separated by spaces, for example repo read:org.
  10. Click Connect.
  11. On GitHub, review and approve access.

Each user connects with their own GitHub account. The organization approval applies to your own app too.

Option 3: Bearer token (personal access token)​

  1. New UI. To access the integrations, in the main Sumo Logic menu select App Catalog > Integrations > Outbound Integrations.
  2. Click the GitHub card.
  3. Click Connect to open the Connect GitHub MCP configuration panel.
  4. Enter the connection name.
  5. Under Authentication configuration, select Bearer Token.
  6. Enter the token collected from the GitHub platform.
  7. Click Connect. Saving checks the connection.

Limitations​

  • Everyone who is allowed to use the connection acts as the owner of the token on GitHub. Use an account with the smallest access that works.
  • Tokens expire. Replace the token before then by adding a new connection with the new token, and then deleting the old one.

Troubleshoot​

SymptomWhat to check
GitHub shows a redirect URI error.The callback URL on the OAuth App needs to match the URL for your deployment exactly, including the path.
The user can connect but the repositories of the organization are missing.An organization owner has not approved the app yet.
The user is asked to connect again after some hours.Check that Expire user access tokens is on, so a refresh token is issued.
Tool calls fail with a permission error.The token or the approved scopes do not cover that action. Add the permission or scope and connect again.
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.