GitHub Enterprise Cloud
Connect to a GitHub Enterprise Cloud data-residency tenant with GitHub-hosted MCP and OAuth
About
Manage repositories and workflows in a GitHub Enterprise Cloud data-residency tenant (*.ghe.com) through GitHub’s hosted MCP server. GitHub operates the server, including updates and remote-only capabilities.
Read the official GitHub Enterprise MCP server documentation.
Supported configuration
This entry supports GitHub Enterprise Cloud with data residency only. Enter the tenant subdomain from a URL such as https://octocorp.ghe.com; for that example, enter octocorp. Obot connects to https://copilot-api.octocorp.ghe.com/mcp.
Standard GitHub Enterprise Cloud organizations on github.com, including enterprises managed at https://github.com/enterprises/<enterprise>, should use the regular GitHub catalog entry at https://api.githubcopilot.com/mcp/ instead.
GitHub Enterprise Server is not supported by this hosted entry. GitHub does not host a remote MCP server for GitHub Enterprise Server.
What you’ll need to connect
An Obot administrator must register an OAuth App or GitHub App on this exact GHE.com tenant and configure its client ID and secret for this catalog entry. GitHub does not support Dynamic Client Registration, so each tenant requires a pre-registered OAuth client. Users then authenticate with OAuth when prompted.
The configured OAuth client is tenant-specific. Create a separate catalog entry for each unrelated GHE.com tenant rather than sharing one entry across tenants.
Features
- Repository and code access: Search repositories, read files, and inspect commits and branches
- Issues and pull requests: Triage work, manage issues, review pull requests, and add comments
- Actions and security: Inspect workflows and, where licensed and permitted, access security capabilities
- Hosted-only capabilities: Use GitHub’s vendor-managed remote service and applicable Copilot features
- Toolset control: Optionally select the hosted GitHub toolsets appropriate for the tenant
The default GitHub toolsets are context, repos, issues, pull_requests, and users. Set GitHub Toolsets to all only when the broader tool surface is needed.
Configuration
Environment variables
| Variable | Description | Required |
|---|---|---|
GITHUB_ENTERPRISE_SUBDOMAIN | The GHE.com tenant subdomain only, for example octocorp for https://octocorp.ghe.com. | Yes |
Request headers
| Header | Description | Required |
|---|---|---|
X-MCP-Toolsets | Optional comma-separated GitHub toolsets, such as repos,issues,pull_requests or all. Defaults to context,repos,issues,pull_requests,users. | No |
Remote runtime
- Url Template
https://copilot-api.${GITHUB_ENTERPRISE_SUBDOMAIN}.ghe.com/mcp- Static O Auth Required
Yes