Skip to content

Improve README by including config example for gh-host flag #335

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Include config example for gh-host flag
  • Loading branch information
rajbos authored Apr 23, 2025
commit ab943121e920ca83513a82a8974baddf411a8f2c
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -193,7 +193,27 @@ docker run -i --rm \
## GitHub Enterprise Server

The flag `--gh-host` and the environment variable `GITHUB_HOST` can be used to set
the GitHub Enterprise Server hostname.
the GitHub Enterprise Server hostname inculding the `https` connection schema:

``` 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_full_domain_name_dot_com"
}
}
```

## i18n / Overriding Descriptions