Skip to content

Commit 8203457

Browse files
committed
Don't use privilaged ports or https for docs
1 parent f5d86f0 commit 8203457

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/streamable-http.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The server will be available at `http://localhost:8082`.
2727
Enable scope validation to enforce GitHub permission checks:
2828

2929
```bash
30-
github-mcp-server http --port 80 --scope-challenge
30+
github-mcp-server http --scope-challenge
3131
```
3232

3333
When `--scope-challenge` is enabled, requests with insufficient scopes receive a `403 Forbidden` response with a `WWW-Authenticate` header indicating the required scopes.
@@ -37,7 +37,7 @@ When `--scope-challenge` is enabled, requests with insufficient scopes receive a
3737
For use behind reverse proxies or with custom domains, expose OAuth metadata endpoints:
3838

3939
```bash
40-
github-mcp-server http --port 80 --scope-challenge --base-url https://myserver.com --base-path /mcp
40+
github-mcp-server http --scope-challenge --base-url https://myserver.com --base-path /mcp
4141
```
4242

4343
The OAuth protected resource metadata's `resource` attribute will be populated with the full URL to the server's protected resource endpoint:
@@ -68,7 +68,7 @@ If your IDE or client has GitHub credentials configured (i.e. VS Code), simply r
6868
```json
6969
{
7070
"type": "http",
71-
"url": "https://localhost:8082"
71+
"url": "http://localhost:8082"
7272
}
7373
```
7474

@@ -81,7 +81,7 @@ To provide PAT credentials, or to customize server behavior preferences, you can
8181
```json
8282
{
8383
"type": "http",
84-
"url": "https://localhost:8082",
84+
"url": "http://localhost:8082",
8585
"headers": {
8686
"Authorization": "Bearer ghp_yourtokenhere",
8787
"X-MCP-Toolsets": "default",

0 commit comments

Comments
 (0)