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).

Configuring Authentication

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

Configuring the Server in JumpCloud

See Adding MCP Servers in Get Started: AI Gateway and use the following values to configure this server:

  • App: Select GitHub (if you have an existing SSO application or bookmark), or + Add App to create it
  • Name: Enter a name, for example GitHub
  • Prefix: Enter a value to prepend to MCP tool names
    • Note: Prefixes must be unique. Maximum 8 characters, letters and numbers only
  • URL: https://api.githubcopilot.com/mcp/
  • MCP authentication method: API
  • App API documentation link: Enter the link to the official GitHub guide on how to create a PAT: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

Your users will now see GitHub listed as an available MCP server 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