From ab943121e920ca83513a82a8974baddf411a8f2c Mon Sep 17 00:00:00 2001
From: Rob Bos <rajbos@users.noreply.github.com>
Date: Wed, 23 Apr 2025 12:14:32 +0200
Subject: [PATCH 1/3] Include config example for `gh-host` flag

---
 README.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 5977763b9..b90f12d4a 100644
--- a/README.md
+++ b/README.md
@@ -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
 

From 60154f27acb500f16f52ceb65e5fbe9ddf1c73df Mon Sep 17 00:00:00 2001
From: Rob Bos <rajbos@users.noreply.github.com>
Date: Tue, 6 May 2025 22:11:37 +0200
Subject: [PATCH 2/3] Update README.md

Co-authored-by: Sam Morrow <sammorrowdrums@github.com>
---
 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index b90f12d4a..8d01b3819 100644
--- a/README.md
+++ b/README.md
@@ -193,7 +193,8 @@ 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 inculding the `https` connection schema:
+the GitHub Enterprise Server hostname.
+Prefix the hostname with the `https://` URI scheme, as it otherwise defaults to `http://` which GitHub Enterprise Server does not support.
 
 ``` json
 "github": {

From d3aa5929f20cd5e17c83361bd12cd6bfbf89a755 Mon Sep 17 00:00:00 2001
From: Rob Bos <rajbos@users.noreply.github.com>
Date: Tue, 6 May 2025 22:11:49 +0200
Subject: [PATCH 3/3] Update README.md

Co-authored-by: Sam Morrow <sammorrowdrums@github.com>
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 8d01b3819..045bf22b1 100644
--- a/README.md
+++ b/README.md
@@ -211,7 +211,7 @@ Prefix the hostname with the `https://` URI scheme, as it otherwise defaults to
     ],
     "env": {
         "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}",
-        "GITHUB_HOST": "https://your_full_domain_name_dot_com"
+        "GITHUB_HOST": "https://<your GHES domain name>"
     }
 }
 ```