Skip to content

Commit cea5c72

Browse files
rajbosSamMorrowDrums
authored andcommitted
Include config example for gh-host flag
1 parent 29bf8bf commit cea5c72

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
@@ -222,7 +222,27 @@ docker run -i --rm \
222222
## GitHub Enterprise Server
223223

224224
The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set
225-
the GitHub Enterprise Server hostname.
225+
the GitHub Enterprise Server hostname inculding the `https` connection schema:
226+
227+
``` json
228+
"github": {
229+
"command": "docker",
230+
"args": [
231+
"run",
232+
"-i",
233+
"--rm",
234+
"-e",
235+
"GITHUB_PERSONAL_ACCESS_TOKEN",
236+
"-e",
237+
"GITHUB_HOST",
238+
"ghcr.io/github/github-mcp-server"
239+
],
240+
"env": {
241+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
242+
"GITHUB_HOST": "https://your_full_domain_name_dot_com"
243+
}
244+
}
245+
```
226246

227247
## i18n / Overriding Descriptions
228248

0 commit comments

Comments
 (0)