feat: make projects toolset a default toolset#2276
Conversation
The projects toolset (`projects_list`, `projects_get`, `projects_write`) is fully implemented but not included in the default toolset configuration. This means users of the remote MCP server or Claude Desktop's URL connector have no access to GitHub Projects v2 tools unless they explicitly configure the `projects` toolset via URL paths or custom headers. Mark `ToolsetMetadataProjects` with `Default: true` so that project board tools are available out of the box, matching the README's advertised capabilities. Closes github#2275
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub MCP Server’s default toolset selection so that the existing projects toolset (GitHub Projects v2 tools) is enabled by default, aligning the out-of-the-box tool availability with advertised capabilities and improving usability for connector flows that can’t customize toolsets.
Changes:
- Mark
ToolsetMetadataProjectsasDefault: trueso it’s included whendefaulttoolsets are used. - Update
TestAddDefaultToolsetexpectations to includeprojectsin the expanded default toolset list.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pkg/github/tools.go |
Adds Default: true to the Projects toolset metadata so it becomes part of the default toolset configuration. |
pkg/github/tools_test.go |
Updates default toolset expansion test cases to include the projects toolset. |
|
Thanks for the explanation — that makes sense. Closing this as the token cost tradeoff is a valid reason to keep the default toolset minimal. For anyone landing here with the same problem: you can enable the projects toolset by running the local server with |
Summary
ToolsetMetadataProjectswithDefault: trueso that theprojectstoolset (projects_list,projects_get,projects_write) is included in the default toolset configuration.tools_test.goto account for the new default.Motivation
The
projectstoolset is fully implemented but not included in defaults. Users connecting via the remote MCP server (https://api.githubcopilot.com/mcp/) or Claude Desktop's URL connector have no access to GitHub Projects v2 tools unless they explicitly configure the toolset via/x/projectsURL path orX-MCP-Toolsetsheader.The README advertises project board management as a feature ("Let AI help triage bugs, review code changes, and maintain project boards"), but the tools are not available out of the box. Claude Desktop's connector UI does not support custom headers or URL path modifiers, so users of that flow have no practical way to enable the
projectstoolset without switching to a local stdio setup.The toolset adds only 3 tools, so the impact on the default tool count is minimal.
Closes #2275
Test plan
UPDATE_TOOLSNAPS=true go test ./...— all tests passscript/lint— 0 issuesscript/generate-docs— no doc changes needed (projects toolset already documented)