Skip to content

Commit ab94312

Browse files
authored
Include config example for gh-host flag
1 parent 56b23c3 commit ab94312

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,27 @@ docker run -i --rm \
193193
## GitHub Enterprise Server
194194

195195
The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set
196-
the GitHub Enterprise Server hostname.
196+
the GitHub Enterprise Server hostname inculding the `https` connection schema:
197+
198+
``` json
199+
"github": {
200+
"command": "docker",
201+
"args": [
202+
"run",
203+
"-i",
204+
"--rm",
205+
"-e",
206+
"GITHUB_PERSONAL_ACCESS_TOKEN",
207+
"-e",
208+
"GITHUB_HOST",
209+
"ghcr.io/github/github-mcp-server"
210+
],
211+
"env": {
212+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
213+
"GITHUB_HOST": "https://your_full_domain_name_dot_com"
214+
}
215+
}
216+
```
197217

198218
## i18n / Overriding Descriptions
199219

0 commit comments

Comments
 (0)