You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-27Lines changed: 48 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,27 @@ The default configuration is:
98
98
99
99
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.
100
100
101
+
#### Enterprise Cloud with data residency (ghe.com)
102
+
103
+
GitHub Enterprise Cloud can also make use of the remote server.
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.
121
+
101
122
---
102
123
103
124
## Local GitHub MCP Server
@@ -160,6 +181,33 @@ To keep your GitHub PAT secure and reusable across different MCP hosts:
160
181
161
182
</details>
162
183
184
+
### GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)
185
+
186
+
The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set
187
+
the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency.
188
+
189
+
- 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.
190
+
- For GitHub Enterprise Cloud with data residency, use `https://YOURSUBDOMAIN.ghe.com` as the hostname.
"GITHUB_HOST": "https://<your GHES or ghe.com domain name>"
207
+
}
208
+
}
209
+
```
210
+
163
211
## Installation
164
212
165
213
### Install in GitHub Copilot on VS Code
@@ -1241,33 +1289,6 @@ docker run -i --rm \
1241
1289
ghcr.io/github/github-mcp-server
1242
1290
```
1243
1291
1244
-
## GitHub Enterprise Server and Enterprise Cloud with data residency (ghe.com)
1245
-
1246
-
The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set
1247
-
the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data residency.
1248
-
1249
-
- 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.
1250
-
- For GitHub Enterprise Cloud with data residency, use `https://YOURSUBDOMAIN.ghe.com` as the hostname.
0 commit comments