Repository navigation
Tag extensions that contribute mcpServerDefinitionProviders as MCP - #1361
Merged
Federico Brancasi (federicobrancasi) merged 1 commit intoNov 29, 2026
Merged
Federico Brancasi (federicobrancasi) merged 1 commit into
Federico Brancasi (federicobrancasi) merged 1 commit into
Conversation
An extension that contributes MCP servers with the finalized contribution point, for example `"contributes": { "mcpServerDefinitionProviders": [{ "id": "my-server", "label": "My Server" }] }`, is packaged without the `mcp` and `language-model-tools` tags. The VSIX manifest only has `<Tags>__web_extension</Tags>`, so the extension does not show up in Marketplace searches by these tags, such as the `@tag:language-model-tools` search that VS Code opens from the chat tool picker. The `TagsProcessor` still checks `contributes.modelContextServerCollections`, which was the proposed name of this contribution point; VS Code finalized it as `mcpServerDefinitionProviders` and no longer reads the old name.
Co-authored-by: Copilot <[email protected]>
Federico Brancasi (federicobrancasi)
requested a balanced review from Copilot
November 29, 2026 20:16
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the update to Marketplace tagging based on the finalized MCP contribution point.
No open issues 🎉
What changed in this PR
Updates VSIX packaging to recognize the finalized MCP contribution point, allowing MCP provider extensions to receive the tags used for Marketplace discovery.
Changes:
- Generate
mcpandlanguage-model-toolstags frommcpServerDefinitionProvidersinstead of the obsoletemodelContextServerCollections. - Update the existing MCP tagging test to use the finalized contribution name.
| File | Description |
|---|---|
src/test/package.test.ts |
Updates the MCP tagging test fixture. |
src/package.ts |
Detects the finalized MCP contribution point when generating tags. |
Review effort: Balanced
Federico Brancasi (federicobrancasi)
marked this pull request as ready for review
November 29, 2026 22:25
Ross Wollman (rwoll)
approved these changes
Nov 29, 2026
Don Jayamanne (DonJayamanne)
approved these changes
Nov 29, 2026
Federico Brancasi (federicobrancasi)
deleted the
fbrancasi/mcp-server-definition-tags
branch
November 29, 2026 22:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An extension that contributes MCP servers with the finalized contribution point, for example
"contributes": { "mcpServerDefinitionProviders": [{ "id": "my-server", "label": "My Server" }] }, is packaged without themcpandlanguage-model-toolstags. The VSIX manifest only has<Tags>__web_extension</Tags>, so the extension does not show up in Marketplace searches by these tags, such as the@tag:language-model-toolssearch that VS Code opens from the chat tool picker. TheTagsProcessorstill checkscontributes.modelContextServerCollections, which was the proposed name of this contribution point; VS Code finalized it asmcpServerDefinitionProvidersand no longer reads the old name.This PR checks
mcpServerDefinitionProvidersinstead, the same way 70f3535 moved thelanguage-modelstag tolanguageModelChatProviders.How to test
npx mocha --grep "should automatically add mcp tag"npm testcollecttests fail before and after the change only becauseyarnis not installed on this machinenpx tsc --noEmit --typeRoots ./node_modules/@types