Configure GitHub for the AI Gateway

To let users securely query repositories, manage pull requests, and analyze issues using their AI clients, you can configure the GitHub Model Context Protocol (MCP) server within the JumpCloud AI Gateway.

Prerequisites

Before configuring specific enterprise applications, we recommend reviewing the Get Started: AI Gateway guide to familiarize yourself with the gateway architecture and core AI concepts (such as MCP servers and AI clients).

Completing Application Setup

The GitHub MCP server supports API Token (Personal Access Token) authentication. You’ll need to create a PAT with the necessary access you want to grant to the MCP server. See GitHub’s Managing your personal access tokens to learn more.

Configuring the Server in JumpCloud

Once your GitHub MCP server is deployed and accessible, register it in the JumpCloud Admin Portal.

  1. Log in to the JumpCloud Admin Portal.

Important:

If your data is stored outside of the US, check which login URL you should be using depending on your region. If your organization uses LDAP, RADIUS, or requires firewall allow list configuration, the Fully Qualified Domain Names (FQDNs) will also be region specific. See JumpCloud Data Centers for the URLs, FQDNs, and IP addresses.

  1. Go to Access > AI Gateway.
  2. Select the Servers tab.
  3. Click + Add Server.
  4. In the App dropdown, select GitHub, or select Custom App.
  5. Enter a name for the server and an optional prefix to prepend to the MCP tool names. Prefixes must be unique.
  6. Enter the GitHub remote MCP server URL: https://api.githubcopilot.com/mcp/
  7. Under Authentication method, select API Token.
    • In the App API documentation link field, enter the link to the official GitHub guide on how to create a Personal Access Token (https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).
  8. Click Create.

Your users will now see GitHub listed as an available tool when they authenticate their AI clients through the JumpCloud gateway. When prompted, users can click the documentation link you provided to learn how to generate their GitHub PAT.

Back to Top

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case