Title: Support subdomain isolation for GHES hosts · Issue #500 · github/github-mcp-server · GitHub
Open Graph Title: Support subdomain isolation for GHES hosts · Issue #500 · github/github-mcp-server
X Title: Support subdomain isolation for GHES hosts · Issue #500 · github/github-mcp-server
Description: Right now we take a GHES hostname and use same domain, but actually subdomain isolation can be optionally enabled, and then for example https://{domain}/raw becomes https://raw.{domain} func newGHESHost(hostname string) (apiHost, error) ...
Open Graph Description: Right now we take a GHES hostname and use same domain, but actually subdomain isolation can be optionally enabled, and then for example https://{domain}/raw becomes https://raw.{domain} func newGHE...
X Description: Right now we take a GHES hostname and use same domain, but actually subdomain isolation can be optionally enabled, and then for example https://{domain}/raw becomes https://raw.{domain} func newGHE...
Opengraph URL: https://github.com/github/github-mcp-server/issues/500
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support subdomain isolation for GHES hosts","articleBody":"Right now we take a GHES hostname and use same domain, but actually subdomain isolation can be optionally enabled, and then for example `https://{domain}/raw` becomes `https://raw.{domain}`\n\n```golang\nfunc newGHESHost(hostname string) (apiHost, error) {\n\tu, err := url.Parse(hostname)\n\tif err != nil {\n\t\treturn apiHost{}, fmt.Errorf(\"failed to parse GHES URL: %w\", err)\n\t}\n\n\trestURL, err := url.Parse(fmt.Sprintf(\"%s://%s/api/v3/\", u.Scheme, u.Hostname()))\n\tif err != nil {\n\t\treturn apiHost{}, fmt.Errorf(\"failed to parse GHES REST URL: %w\", err)\n\t}\n\n\tgqlURL, err := url.Parse(fmt.Sprintf(\"%s://%s/api/graphql\", u.Scheme, u.Hostname()))\n\tif err != nil {\n\t\treturn apiHost{}, fmt.Errorf(\"failed to parse GHES GraphQL URL: %w\", err)\n\t}\n\n\tuploadURL, err := url.Parse(fmt.Sprintf(\"%s://%s/api/uploads/\", u.Scheme, u.Hostname()))\n\tif err != nil {\n\t\treturn apiHost{}, fmt.Errorf(\"failed to parse GHES Upload URL: %w\", err)\n\t}\n\trawURL, err := url.Parse(fmt.Sprintf(\"%s://%s/raw/\", u.Scheme, u.Hostname()))\n\tif err != nil {\n\t\treturn apiHost{}, fmt.Errorf(\"failed to parse GHES Raw URL: %w\", err)\n\t}\n\n\treturn apiHost{\n\t\tbaseRESTURL: restURL,\n\t\tgraphqlURL: gqlURL,\n\t\tuploadURL: uploadURL,\n\t\trawURL: rawURL,\n\t}, nil\n}\n```","author":{"url":"https://github.com/SamMorrowDrums","@type":"Person","name":"SamMorrowDrums"},"datePublished":"2025-06-10T15:17:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/500/github-mcp-server/issues/500"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fff7f680-d7b6-b1ff-26a4-8aa45dd73c85 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8D0:ED76E:221143:2DDD4C:6A6147FF |
| html-safe-nonce | 9e31e2f31112f8bd5eb0d73649f4016b3fb4c3032d3d6ce6bcb3ba44dce5af19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEQwOkVENzZFOjIyMTE0MzoyRERENEM6NkE2MTQ3RkYiLCJ2aXNpdG9yX2lkIjoiMTI1NDI1MjU1Mzg0MjAxODMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 60e77b108554e2d5505d1da9f523d64ad8513b1b5aaf0ac3e183f6f09aa573d6 |
| hovercard-subject-tag | issue:3134005263 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/500/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7899bf2af728365405e5f9528e65bff8acecd38f7a947d175b31d07f5840f6df/github/github-mcp-server/issues/500 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7899bf2af728365405e5f9528e65bff8acecd38f7a947d175b31d07f5840f6df/github/github-mcp-server/issues/500 |
| og:image:alt | Right now we take a GHES hostname and use same domain, but actually subdomain isolation can be optionally enabled, and then for example https://{domain}/raw becomes https://raw.{domain} func newGHE... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SamMorrowDrums |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4876c15b81beff1a5306612a3386748550c731559f1dbbe4cf7146fda63fc0e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3e1bd3b6ebab0d27ffbef3a6bbb1043bc5f098ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width