Title: Feature flags are header-only, making flagged tools unreachable on managed/hosted MCP connections · Issue #3145 · github/github-mcp-server · GitHub
Open Graph Title: Feature flags are header-only, making flagged tools unreachable on managed/hosted MCP connections · Issue #3145 · github/github-mcp-server
X Title: Feature flags are header-only, making flagged tools unreachable on managed/hosted MCP connections · Issue #3145 · github/github-mcp-server
Description: Toolsets can be selected two ways: by URL (https://api.githubcopilot.com/mcp/x/issues, with /readonly as a suffix) or by the X-MCP-Toolsets header. Feature flags have only one — the X-MCP-Features header. That makes every flagged tool un...
Open Graph Description: Toolsets can be selected two ways: by URL (https://api.githubcopilot.com/mcp/x/issues, with /readonly as a suffix) or by the X-MCP-Toolsets header. Feature flags have only one — the X-MCP-Features ...
X Description: Toolsets can be selected two ways: by URL (https://api.githubcopilot.com/mcp/x/issues, with /readonly as a suffix) or by the X-MCP-Toolsets header. Feature flags have only one — the X-MCP-Features ...
Opengraph URL: https://github.com/github/github-mcp-server/issues/3145
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature flags are header-only, making flagged tools unreachable on managed/hosted MCP connections","articleBody":"Toolsets can be selected two ways: by URL (`https://api.githubcopilot.com/mcp/x/issues`, with `/readonly` as a suffix) or by the `X-MCP-Toolsets` header. Feature flags have only one — the `X-MCP-Features` header.\n\nThat makes every flagged tool unreachable whenever the MCP connection is operated by someone other than the end user: a hosted IDE, an agent platform, any client that composes the URL on your behalf.\n\nConcrete case: Claude Code on the web. Its GitHub MCP tools are provisioned by the harness — `claude mcp list` reports no configurable server at all, while `mcp__github__*` tools are present — so there is no header I can set on that connection. `issue_dependency_read` / `issue_dependency_write` are therefore unreachable, even though `issue_dependencies` is in `AllowedFeatureFlags` and the tools are implemented and shipped.\n\nThe available workaround is to declare a *second* GitHub MCP server pointing at the same endpoint, with its own PAT, purely to set one header. That's a duplicate connection and an extra long-lived credential to reach a tool that already exists.\n\n### Proposed solution\n\nMirror the existing toolset pattern for flags. Either shape would work:\n\n- path segment — `https://api.githubcopilot.com/mcp/x/issues/f/issue_dependencies`\n- query parameter — `https://api.githubcopilot.com/mcp/x/issues?features=issue_dependencies`\n\nValidation would be unchanged. `ResolveFeatureFlags` already filters user-supplied flags against `AllowedFeatureFlags` and silently drops unknown ones, so a URL-supplied flag is no more privileged than a header-supplied one — it's the same input arriving through a different channel.\n\nThis keeps the gate and its rationale intact. Flagged tools stay out of the default surface, so the fixed tool-schema cost doesn't change; it only widens how a user can opt in.\n\nA less preferred alternative would be graduating `issue_dependencies` into the default `issues` toolset now that issue dependencies are GA in the REST API. I'd rather not argue for that — the flag exists specifically to hold down default context cost, and URL-addressability solves the problem without giving that up.\n\n### Example prompts or workflows (for tools/toolsets only)\n\nSplit frontend/backend repo pairs are the main driver here, since `related_owner` / `related_repo` make dependencies cross-repo:\n\n- \"What's blocking BE-99?\" — where some blockers live in the sibling frontend repo\n- \"Mark FE-66 as blocked by BE-95\" — a cross-repo write\n- \"List everything the children of issue #195 are blocked by, and flag any blocker that's already closed\"\n- \"Before I start BE-100, show me its unresolved blockers\"\n- \"Order these 27 sub-issues into a build sequence using their dependency graph\"\n\n### Additional context\n\n- Flag is `FeatureFlagIssueDependencies = \"issue_dependencies\"` in `pkg/github/feature_flags.go`, present in both `AllowedFeatureFlags` and `InsidersFeatureFlags`. Tools added in #2751.\n- `/insiders` does enable it, but also turns on `csv_output`, which changes the response format of every `list_*` tool. That's too broad a side effect to accept in order to reach one tool.\n- Client is Claude Code on the web (Anthropic-hosted). Worth noting that \"just use the REST API instead\" isn't a workaround in that environment: its GitHub REST proxy silently omits cross-repo entries from response bodies — HTTP 200, no `Link` header, entries simply absent. I verified this by comparing `client.SubIssue.ListByIssue` results via the MCP server (27 sub-issues, 8 of them cross-repo) against the identical REST endpoint through the proxy (19, same-repo only). So for cross-repo dependency reads specifically, the MCP tools aren't a convenience over REST — they're the only path that returns complete data.","author":{"url":"https://github.com/baseten","@type":"Person","name":"baseten"},"datePublished":"2026-08-24T03:00:59Z","url":"https://github.com/github/github-mcp-server/issues/3145"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:e05310fb-b2f8-960d-3575-35024b6b2e66 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C90A:96784:3AE25F:50E5AC:6B0683DD |
| html-safe-nonce | e91faddbc218dd4ddc978cd17ce256ce5b8a414a62466e483d82160a251f1593 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTBBOjk2Nzg0OjNBRTI1Rjo1MEU1QUM6NkIwNjgzREQiLCJ2aXNpdG9yX2lkIjoiOTAwMjg5MTA0MzU2MTQ0MDIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 60a2496edd82434ee1b3f98b6aea065fa539ad44441a051a8baf1da458b6a1dc |
| hovercard-subject-tag | issue:5230635525 |
| 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/3145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d92a7be16e39f489b572708937a373cc3163ef609aa693783dba50f7866753c3/github/github-mcp-server/issues/3145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d92a7be16e39f489b572708937a373cc3163ef609aa693783dba50f7866753c3/github/github-mcp-server/issues/3145 |
| og:image:alt | Toolsets can be selected two ways: by URL (https://api.githubcopilot.com/mcp/x/issues, with /readonly as a suffix) or by the X-MCP-Toolsets header. Feature flags have only one — the X-MCP-Features ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | baseten |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width