Skip to content

Commit 1cc956c

Browse files
authored
Merge branch 'main' into add-issue-types-and-pr-types
2 parents 48f18ff + 8854b2a commit 1cc956c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,13 @@ docker run -i --rm \
219219
ghcr.io/github/github-mcp-server
220220
```
221221

222-
## GitHub Enterprise Server
222+
## GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)
223223

224224
The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set
225-
the GitHub Enterprise Server hostname.
226-
Prefix the hostname with the `https://` URI scheme, as it otherwise defaults to `http://` which GitHub Enterprise Server does not support.
225+
the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency.
227226

227+
- 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.
228+
- For GitHub Enterprise Cloud with data residency, use `https://YOURSUBDOMAIN.ghe.com` as the hostname.
228229
``` json
229230
"github": {
230231
"command": "docker",
@@ -240,7 +241,7 @@ Prefix the hostname with the `https://` URI scheme, as it otherwise defaults to
240241
],
241242
"env": {
242243
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
243-
"GITHUB_HOST": "https://<your GHES domain name>"
244+
"GITHUB_HOST": "https://<your GHES or ghe.com domain name>"
244245
}
245246
}
246247
```

0 commit comments

Comments
 (0)