René's URL Explorer Experiment


Title: Config typos are handled inconsistently: a misspelled --exclude-tools or --features entry is silently ignored · Issue #3761 · github/github-mcp-server · GitHub

Open Graph Title: Config typos are handled inconsistently: a misspelled --exclude-tools or --features entry is silently ignored · Issue #3761 · github/github-mcp-server

X Title: Config typos are handled inconsistently: a misspelled --exclude-tools or --features entry is silently ignored · Issue #3761 · github/github-mcp-server

Description: Describe the bug A misspelled name gets one of three different outcomes, depending on which option it is in: input result --tools=not_a_tool startup fails: unknown tools specified in WithTools: not_a_tool --toolsets=not_a_toolset (or Rep...

Open Graph Description: Describe the bug A misspelled name gets one of three different outcomes, depending on which option it is in: input result --tools=not_a_tool startup fails: unknown tools specified in WithTools: not...

X Description: Describe the bug A misspelled name gets one of three different outcomes, depending on which option it is in: input result --tools=not_a_tool startup fails: unknown tools specified in WithTools: not...

Opengraph URL: https://github.com/github/github-mcp-server/issues/3761

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Config typos are handled inconsistently: a misspelled --exclude-tools or --features entry is silently ignored","articleBody":"### Describe the bug\n\nA misspelled name gets one of three different outcomes, depending on which option it is in:\n\n| input | result |\n|---|---|\n| `--tools=not_a_tool` | startup fails: `unknown tools specified in WithTools: not_a_tool` |\n| `--toolsets=not_a_toolset` (or `Repos`, case-sensitive) | WARN `unrecognized toolsets ignored`, then the server runs with **0 tools** |\n| `--exclude-tools=delete_fil` | no log line; `delete_file` stays enabled (46 tools) |\n| `--features=not_a_feature` | no log line |\n\nA misspelled `--exclude-tools` entry gives no signal, so the tool stays enabled. An operator who misspells a tool they meant to disable is not told, and the model can still call it.\n\nIgnoring unknown toolsets is deliberate (PR #1202, docs PR #1398), and so is erroring on unknown tools (PR #1776). Open PR #2184 adds an opt-in strict mode for toolsets. This issue is about the two options that give no signal at all. `ResolveFeatureFlags` documents this as intentional for request input; the ask here is only a startup log line for the `--features` CLI flag.\n\nCode (main 99d6d650, unchanged since v2.1.0):\n- `pkg/inventory/builder.go:154-175`: `WithExcludeTools` / `CreateExcludeToolsFilter` never check names against the inventory. Compare `:247-249` for `WithTools`.\n- `pkg/github/feature_flags.go:105-125`: `ResolveFeatureFlags` drops names outside `AllowedFeatureFlags` without logging.\n- `pkg/github/server.go:114`: the toolset warning.\n\n### Affected version\n\nv2.1.0 (image `sha256:f6056fc1…0f8a`, commit 4bcdcdf8) and main nightly (image `sha256:48bc16d0…338f`, revision 99d6d650). stdio.\n\n### Steps to reproduce the behavior\n\nEach step is `docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN \u003cimage> stdio \u003cflags>`, then `initialize` + `tools/list` (a dummy token is enough, since no API call is needed):\n1. no flags: 46 tools, including `delete_file`\n2. `--exclude-tools=delete_file`: 45, no `delete_file`\n3. `--exclude-tools=delete_fil`: 46, `delete_file` present, and stderr has no warning about the unknown name (only the token-scope WARN from the dummy token)\n4. `--features=not_a_feature`: 46, and stderr has no warning about the unknown name (only the token-scope WARN from the dummy token)\n5. `--toolsets=not_a_toolset`: 0 tools, and stderr has `level=WARN msg=\"Warning: unrecognized toolsets ignored\" toolsets=not_a_toolset`\n6. `--tools=not_a_tool`: the process exits with `failed to create MCP server: failed to build inventory: unknown tools specified in WithTools: not_a_tool`\n\n### Expected vs actual behavior\n\nExpected: unknown names in `--exclude-tools` and `--features` are at least logged, as unknown toolsets are. For `--exclude-tools`, an error would match `--tools`, since a typo there leaves enabled a tool the operator meant to disable.\n\nActual: silent.\n\nSuggested fix: in `WithExcludeTools`, collect names not present in the inventory (including deprecated aliases) and warn or error. In `ResolveFeatureFlags` (CLI path), warn on names outside `AllowedFeatureFlags`.\n\n### Logs\n\n```\n--exclude-tools=delete_fil  -> 46 tools, delete_file listed; stderr: only the token-scope WARN\n--features=not_a_feature    -> 46 tools; stderr: only the token-scope WARN\n--toolsets=not_a_toolset    -> 0 tools; WARN \"Warning: unrecognized toolsets ignored\" toolsets=not_a_toolset\n--tools=not_a_tool          -> exit; \"unknown tools specified in WithTools: not_a_tool\"\n```\nSame on v2.1.0 and main.\n\nFound during an independent audit of v2.1.0 on a throwaway org and private test repo. Prepared with AI assistance (Claude Code); reproduced by two independent test runs before filing.\n","author":{"url":"https://github.com/rafe-walker","@type":"Person","name":"rafe-walker"},"datePublished":"2026-11-09T06:09:06Z","url":"https://github.com/github/github-mcp-server/issues/3761"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1751eeb6-0f25-e924-96f1-dfb10b453ca9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8326:3DEF55:749BF5:9706C7:6B0626BA
html-safe-nonce074708ce0022e75f4d5b6799fe77e45c45766384fa1711c9771aaa9e19aafdbb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzI2OjNERUY1NTo3NDlCRjU6OTcwNkM3OjZCMDYyNkJBIiwidmlzaXRvcl9pZCI6IjQ4MDIyOTk2NzEwMDE1NzMwNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaced06ae30ca46d287523be31ba05dae3fb5c036c9e7cb6910c313dfca1560d093
hovercard-subject-tagissue:6280945299
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3761/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fe89a57dd24228c9d112639128a67c4bfb7fb2f3dbaee883b51c24b36be51136/github/github-mcp-server/issues/3761
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fe89a57dd24228c9d112639128a67c4bfb7fb2f3dbaee883b51c24b36be51136/github/github-mcp-server/issues/3761
og:image:altDescribe the bug A misspelled name gets one of three different outcomes, depending on which option it is in: input result --tools=not_a_tool startup fails: unknown tools specified in WithTools: not...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerafe-walker
hostnamegithub.com
expected-hostnamegithub.com
None9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce
turbo-cache-controlno-preview
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release32e57d5cc2ce6ce92ec6dceb65858344750c27c2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/3761#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3761
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3761
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/issues/3761
Reloadhttps://github.com/github/github-mcp-server/issues/3761
Reloadhttps://github.com/github/github-mcp-server/issues/3761
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)https://github.com/github/github-mcp-server/issues
Pull requests226 (226)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
https://github.com/github/github-mcp-server
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3761
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3761
#3771https://github.com/github/github-mcp-server/pull/3771
Config typos are handled inconsistently: a misspelled --exclude-tools or --features entry is silently ignoredhttps://github.com/github/github-mcp-server/issues/3761#top
#3771https://github.com/github/github-mcp-server/pull/3771
https://github.com/rafe-walker
rafe-walkerhttps://github.com/rafe-walker
on Nov 9, 2026https://github.com/github/github-mcp-server/issues/3761#issue-6280945299
#1202https://github.com/github/github-mcp-server/pull/1202
#1398https://github.com/github/github-mcp-server/pull/1398
#1776https://github.com/github/github-mcp-server/pull/1776
#2184https://github.com/github/github-mcp-server/pull/2184
99d6d65https://github.com/github/github-mcp-server/commit/99d6d6503a7b2a133e2f8a595d6d0ba24b4086d3
4bcdcdfhttps://github.com/github/github-mcp-server/commit/4bcdcdf8d7beee98c9448e73e257308280924cc4
99d6d65https://github.com/github/github-mcp-server/commit/99d6d6503a7b2a133e2f8a595d6d0ba24b4086d3
https://github.com/SalyyS1
SalyyS1https://github.com/SalyyS1
on Nov 11, 2026https://github.com/github/github-mcp-server/issues/3761#issuecomment-6807918513
#1776https://github.com/github/github-mcp-server/pull/1776
mcp-slimhttps://github.com/SalyyS1/mcp-slim
https://github.com/rafe-walker
rafe-walkerhttps://github.com/rafe-walker
on Nov 12, 2026https://github.com/github/github-mcp-server/issues/3761#issuecomment-6829118527
#3771https://github.com/github/github-mcp-server/pull/3771
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3761
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3761
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.