Title: HTTP static --tools validation falls back to the full static inventory · Issue #2933 · github/github-mcp-server · GitHub
Open Graph Title: HTTP static --tools validation falls back to the full static inventory · Issue #2933 · github/github-mcp-server
X Title: HTTP static --tools validation falls back to the full static inventory · Issue #2933 · github/github-mcp-server
Description: Describe the bug For the current main revision, the HTTP static-inventory path handles an invalid EnabledTools entry differently from the documented startup behavior. The static builder returns the existing unknown-tool error, but buildS...
Open Graph Description: Describe the bug For the current main revision, the HTTP static-inventory path handles an invalid EnabledTools entry differently from the documented startup behavior. The static builder returns the...
X Description: Describe the bug For the current main revision, the HTTP static-inventory path handles an invalid EnabledTools entry differently from the documented startup behavior. The static builder returns the...
Opengraph URL: https://github.com/github/github-mcp-server/issues/2933
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTP static --tools validation falls back to the full static inventory","articleBody":"### Describe the bug\n\nFor the current main revision, the HTTP static-inventory path handles an\ninvalid EnabledTools entry differently from the documented startup behavior.\n\nThe static builder returns the existing unknown-tool error, but\nbuildStaticInventory substitutes the full local tool/resource/prompt inventory.\nThe default HTTP inventory factory then uses that widened static universe.\n\nThis is inconsistent with the README and configuration troubleshooting guide,\nwhich say that invalid --tools names cause startup failure.\n\n### Affected version\n\nSource-pinned local review at:\n\na217a7f43a76a4cd6909ba6814d88a886064488c\n\nThis was the repository's main revision during the local preflight. No\ndeployed server, account, token, or external service was tested.\n\n### Steps to reproduce the behavior\n\nThe local source-pinned fixture used an HTTP ServerConfig with:\n\n~~~go\nEnabledTools: []string{\"get_file_contents\", \"synthetic_unknown_tool\"}\n~~~\n\n1. Construct the current HTTP handler and default inventory path with\n in-memory request/response objects only.\n2. Compare the mixed configuration above with a valid\n get_file_contents-only control.\n3. Observe that the valid control omits create_repository, while the mixed\n configuration carries create_repository into the local tools/list response\n through the current default factory path.\n\nThe fixture used inert dependencies and did not create a listener, network\nconnection, external client, account, or tool invocation.\n\n### Expected vs actual behavior\n\nExpected: an invalid static EnabledTools entry preserves the typed unknown-tool\nerror and prevents the HTTP static inventory from being constructed.\n\nActual: the static helper replaces that error with the full static universe,\nwhich makes the malformed configuration broader than its valid one-tool\ncontrol in the local fixture.\n\n### Logs\n\nNo production logs were collected. The source-bound local evidence and a\nfocused candidate patch are ready to share in a follow-on pull request if this\nbehavior is confirmed as unintended.","author":{"url":"https://github.com/StellarRequiem","@type":"Person","name":"StellarRequiem"},"datePublished":"2026-07-23T05:00:56Z","url":"https://github.com/github/github-mcp-server/issues/2933"}
| 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:6a994041-9091-33b2-16ab-fc9744fe825a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0A0:119E6A:3F5675:56F2F3:6B068544 |
| html-safe-nonce | 56c0c11868b87b19f2140f76415de580d409ee9408aa5388cf770613804eeb68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEEwOjExOUU2QTozRjU2NzU6NTZGMkYzOjZCMDY4NTQ0IiwidmlzaXRvcl9pZCI6Ijc0NjE3Mzk3MzEzMDc4ODk5ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a0f8926578301dcbab44c5af5615c9719b77c1ddc4a04df5355c425f42139aca |
| hovercard-subject-tag | issue:4955611380 |
| 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/2933/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6f88f5b46bdeb7c60b6a7306d48f1663386af86f5a0d17b96e92d17cd6b1a2eb/github/github-mcp-server/issues/2933 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f88f5b46bdeb7c60b6a7306d48f1663386af86f5a0d17b96e92d17cd6b1a2eb/github/github-mcp-server/issues/2933 |
| og:image:alt | Describe the bug For the current main revision, the HTTP static-inventory path handles an invalid EnabledTools entry differently from the documented startup behavior. The static builder returns the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StellarRequiem |
| 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