Ren茅's URL Explorer Experiment


Title: Feedback for dynamic tool selection 馃殌 路 Issue #275 路 github/github-mcp-server 路 GitHub

Open Graph Title: Feedback for dynamic tool selection 馃殌 路 Issue #275 路 github/github-mcp-server

X Title: Feedback for dynamic tool selection 馃殌 路 Issue #275 路 github/github-mcp-server

Description: 馃摙 馃敂 we have been experimenting with the ability to let the LLM find and select tools from the GitHub MCP server, rather than having them all enabled up-front. The idea here is that too many tools causing LLM models to experience tool con...

Open Graph Description: 馃摙 馃敂 we have been experimenting with the ability to let the LLM find and select tools from the GitHub MCP server, rather than having them all enabled up-front. The idea here is that too many tools c...

X Description: 馃摙 馃敂 we have been experimenting with the ability to let the LLM find and select tools from the GitHub MCP server, rather than having them all enabled up-front. The idea here is that too many tools c...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feedback for dynamic tool selection 馃殌","articleBody":" 馃摙 馃敂 we have been experimenting with the ability to let the LLM find and select tools from the GitHub MCP server, rather than having them all enabled up-front.\n\nThe idea here is that too many tools causing LLM models to experience tool confusion, and we have a lot of tools to add to cover our variety of GitHub products.\n\nWith `--dynamic-toolsets` enabled, you start with only 4 tools:\n\n![Image](https://github.com/user-attachments/assets/26cc03a4-7ccc-4726-bae3-93a6e678e022)\n\nYou try something like:\n\n`Can you search for issues assigned to me on GitHub?`\n\nAnd it will check and enable the tools it needs, so you end up with the tools you need enabled: \n\n![Image](https://github.com/user-attachments/assets/516058c1-c5d0-4a71-b5b1-a93024d9d122)\n\n**We want your feedback 馃檹** \n\n- Did you encounter any issues?\n- What software and what models did you try it with?\n- What did you try to achieve?\n\n### Brief Demo\n\nhttps://github.com/user-attachments/assets/d280fae0-cfe6-40a0-aadf-e367b35135e9\n\n\n### To test this out \n\nUse the `:latest` or `v0.2.0` docker tag, and add the dynamic toolsets env:\n\nImage: ghcr.io/github/github-mcp-server:latest\nEnv: GITHUB_DYNAMIC_TOOLSETS=1\n\n**Make sure you run the following to upgrade the server when using Docker**\n\n```shell\ndocker pull ghcr.io/github/github-mcp-server:latest\n```\n\nYou can create or edit your configuration to try it out. Here is an example of a .vscode/mcp.json file in your workspace that will enable the feature:\n\n```json\n{\n    \"inputs\": [\n        {\n            \"id\": \"github-pat\",\n            \"type\": \"promptString\",\n            \"description\": \"Github Personal Access Token\",\n            \"password\": true\n        }\n    ],\n    \"servers\": {\n        \"github-mcp-server\": {\n            \"type\": \"stdio\",\n            \"command\": \"docker\",\n            \"args\": [\n                \"run\", \"-i\", \"--rm\", \"-e\", \"GITHUB_DYNAMIC_TOOLSETS=1\", \"-e\", \"GITHUB_PERSONAL_ACCESS_TOKEN\", \"ghcr.io/github/github-mcp-server:main\",\n                \"./github-mcp-server\", \"stdio\"\n            ],\n            \"env\": {\n                \"GITHUB_PERSONAL_ACCESS_TOKEN\": \"${input:github-pat}\"\n            }\n        },\n    }\n}       \n\n```\n\n## Tool Configuration\n\nThe GitHub MCP Server supports enabling or disabling specific groups of functionalities via the `--toolsets` flag. This allows you to control which GitHub API capabilities are available to your AI tools.\n\n### Available Toolsets\n\nThe following sets of tools are available (all are on by default):\n\n| Toolset                 | Description                                                   |\n| ----------------------- | ------------------------------------------------------------- |\n| `repos`                 | Repository-related tools (file operations, branches, commits) |\n| `issues`                | Issue-related tools (create, read, update, comment)           |\n| `users`                 | Anything relating to GitHub Users                             |\n| `pull_requests`         | Pull request operations (create, merge, review)               |\n| `code_security`         | Code scanning alerts and security features                    |\n| `experiments`           | Experimental features (not considered stable)                 |\n\n#### Specifying Toolsets\n\nTo reduce the available tools, you can pass an allow-list in two ways:\n\n1. **Using Command Line Argument**:\n\n   ```bash\n   github-mcp-server --toolsets repos,issues,pull_requests,code_security\n   ```\n\n2. **Using Environment Variable**:\n   ```bash\n   GITHUB_TOOLSETS=\"repos,issues,pull_requests,code_security\" ./github-mcp-server\n   ```\n\nThe environment variable `GITHUB_TOOLSETS` takes precedence over the command line argument if both are provided.\n\nAny toolsets you specify will be enabled from the start, including when `--dynamic-toolsets` is on.\n\nYou might want to do this if the model is confused about which tools to call and you only require a subset.\n\n\n### Using Toolsets With Docker\n\nWhen using Docker, you can pass the toolsets as environment variables:\n\n```bash\ndocker run -i --rm \\\n  -e GITHUB_PERSONAL_ACCESS_TOKEN=\u003cyour-token\u003e \\\n  -e GITHUB_TOOLSETS=\"repos,issues,pull_requests,code_security,experiments\" \\\n  ghcr.io/github/github-mcp-server\n```\n\n### The \"all\" Toolset\n\nThe special toolset `all` can be provided to enable all available toolsets regardless of any other configuration:\n\n```bash\n./github-mcp-server --toolsets all\n```\n\nOr using the environment variable:\n\n```bash\nGITHUB_TOOLSETS=\"all\" ./github-mcp-server\n```\n\n## Dynamic Tool Discovery\n\nInstead of starting with all tools enabled, you can turn on Dynamic Toolset Discovery. \nThis feature provides tools that help the MCP Host application to discover and enable sets of GitHub tools only when needed.\nThis helps to avoid situations where models get confused by the shear number of tools available to them, which varies by model.\n\n### Using Dynamic Tool Discovery\n\nWhen using the binary, you can pass the `--dynamic-toolsets` flag.\n\n```bash\n./github-mcp-server --dynamic-toolsets\n```\n\nWhen using Docker, you can pass the toolsets as environment variables:\n\n```bash\ndocker run -i --rm \\\n  -e GITHUB_PERSONAL_ACCESS_TOKEN=\u003cyour-token\u003e \\\n  -e GITHUB_DYNAMIC_TOOLSETS=1 \\\n  ghcr.io/github/github-mcp-server\n```\n\n\nLet us know how you get on!","author":{"url":"https://github.com/SamMorrowDrums","@type":"Person","name":"SamMorrowDrums"},"datePublished":"2025-04-14T23:15:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/275/github-mcp-server/issues/275"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a2f03bd4-cfea-5d97-25b4-720934574b33
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC0E:1F830A:E8211:155BDA:6A61DCBA
html-safe-nonce101d90e95180f04a141fd0995a2de92dac8ecaf13d8f6475aa3e5f2ab0013564
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzBFOjFGODMwQTpFODIxMToxNTVCREE6NkE2MURDQkEiLCJ2aXNpdG9yX2lkIjoiMTYxMDEwNjcxNzYyMjg4NTU2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8f9b12a11bf771c0d52ed179279b2813a4a03da8ecefba5dc8f149b5f64b85ef
hovercard-subject-tagissue:2994493262
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/275/issue_layout
twitter:imagehttps://opengraph.githubassets.com/37f3754e67baceaebfa2378af9c467ca01804a8594421a1e37a9b3ad8f27dfd6/github/github-mcp-server/issues/275
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/37f3754e67baceaebfa2378af9c467ca01804a8594421a1e37a9b3ad8f27dfd6/github/github-mcp-server/issues/275
og:image:alt馃摙 馃敂 we have been experimenting with the ability to let the LLM find and select tools from the GitHub MCP server, rather than having them all enabled up-front. The idea here is that too many tools c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSamMorrowDrums
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
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
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/275#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F275
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F275
Sign up https://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/275
Reloadhttps://github.com/github/github-mcp-server/issues/275
Reloadhttps://github.com/github/github-mcp-server/issues/275
Please reload this pagehttps://github.com/github/github-mcp-server/issues/275
github https://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Notifications https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Fork 4.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Star 31.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Code https://github.com/github/github-mcp-server
Issues 171 https://github.com/github/github-mcp-server/issues
Pull requests 162 https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality 2 https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
Code https://github.com/github/github-mcp-server
Issues https://github.com/github/github-mcp-server/issues
Pull requests https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
Feedback for dynamic tool selection 馃殌https://github.com/github/github-mcp-server/issues/275#top
help wantedExtra attention is neededhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/SamMorrowDrums
SamMorrowDrumshttps://github.com/SamMorrowDrums
on Apr 14, 2025https://github.com/github/github-mcp-server/issues/275#issue-2994493262
https://private-user-images.githubusercontent.com/4811358/433588421-26cc03a4-7ccc-4726-bae3-93a6e678e022.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ3OTg2OTQsIm5i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TU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTQ1M2M1MzA2YzBlMDA2MDM2NGI3ZTMxMjE5ZDRhNzQwODA1MWJhMGM0YWIxNzRhZmQxMmRhYzM2MWM5ZDUyNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.Z4oJNEUsE0_daDUoK_wWyAXsY7DV2Utsr0gG8w0vadI
help wantedExtra attention is neededhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
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

Viewport: width=device-width


URLs of crawlers that visited me.