- Notifications
You must be signed in to change notification settings - Fork3.1k
restructure readme for better ghes ghec visibility#1210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -98,6 +98,27 @@ The default configuration is: | ||
| See [Remote Server Documentation](docs/remote-server.md) for full details on remote server configuration, toolsets, headers, and advanced usage. This file provides comprehensive instructions and examples for connecting, customizing, and installing the remote GitHub MCP Server in VS Code and other MCP hosts. | ||
| #### Enterprise Cloud with data residency (ghe.com) | ||
| GitHub Enterprise Cloud can also make use of the remote server. | ||
| Example for `https://octocorp.ghe.com`: | ||
| ``` | ||
| { | ||
| ... | ||
| "proxima-github": { | ||
| "type": "http", | ||
| "url": "https://copilot-api.octocorp.ghe.com/mcp", | ||
| "headers": { | ||
| "Authorization": "Bearer ${input:github_mcp_pat}" | ||
| } | ||
| }, | ||
| ... | ||
| } | ||
| ``` | ||
| GitHub Enterprise Server does not support remote server hosting. Please refer to [GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)](#github-enterprise-server-and-enterprise-cloud-with-data-residency-ghecom) from the local server configuration. | ||
| --- | ||
| ## Local GitHub MCP Server | ||
| @@ -160,6 +181,33 @@ To keep your GitHub PAT secure and reusable across different MCP hosts: | ||
| </details> | ||
| ### GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com) | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Should this be moved under VSCode? The config is specifically for VSCode. Also if we're going to use ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. i want to clearly seperate it - so its clear these settings are client agnostic. | ||
| The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set | ||
| the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency. | ||
| - For GitHub Enterprise Server, prefix the hostname with the `https://` URI scheme, as it otherwise defaults to `http://`, which GitHub Enterprise Server does not support. | ||
| - For GitHub Enterprise Cloud with data residency, use `https://YOURSUBDOMAIN.ghe.com` as the hostname. | ||
| ``` json | ||
| "github": { | ||
| "command": "docker", | ||
| "args": [ | ||
| "run", | ||
| "-i", | ||
| "--rm", | ||
| "-e", | ||
| "GITHUB_PERSONAL_ACCESS_TOKEN", | ||
| "-e", | ||
| "GITHUB_HOST", | ||
| "ghcr.io/github/github-mcp-server" | ||
| ], | ||
| "env": { | ||
| "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}", | ||
| "GITHUB_HOST": "https://<your GHES or ghe.com domain name>" | ||
| } | ||
| } | ||
| ``` | ||
| ## Installation | ||
| ### Install in GitHub Copilot on VS Code | ||
| @@ -1181,33 +1229,6 @@ docker run -i --rm \ | ||
| ghcr.io/github/github-mcp-server | ||
| ``` | ||
| ## i18n / Overriding Descriptions | ||
| The descriptions of the tools can be overridden by creating a | ||
Uh oh!
There was an error while loading.Please reload this page.