File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11{
2- "enabledApiProposals" : [
3- " mcpConfigurationProvider"
4- ],
52 "name" : " mcp-extension-sample" ,
63 "displayName" : " mcp-extension-sample" ,
74 "description" : " Sample showing how to use Proposed API" ,
118 "license" : " MIT" ,
129 "repository" : " https://github.com/Microsoft/vscode-extension-samples" ,
1310 "engines" : {
14- "vscode" : " ^1.99 .0"
11+ "vscode" : " ^1.101 .0"
1512 },
1613 "categories" : [
1714 " Other"
2825 "title" : " MCP Extension Sample: Remove Gist Source"
2926 }
3027 ],
31- "modelContextServerCollections " : [
28+ "mcpServerDefinitionProviders " : [
3229 {
3330 "id" : " exampleGist" ,
3431 "label" : " Github Gists"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export function activate(context: vscode.ExtensionContext) {
3131 } ) ) ;
3232
3333 context . subscriptions . push ( vscode . lm . registerMcpServerDefinitionProvider ( 'exampleGist' , {
34- onDidChangeServerDefinitions : didChangeEmitter . event ,
34+ onDidChangeMcpServerDefinitions : didChangeEmitter . event ,
3535 provideMcpServerDefinitions : async ( ) => {
3636 let output : vscode . McpServerDefinition [ ] = [ ] ;
3737 await Promise . all ( gists . map ( g => fetchGistContents ( g ) . then ( content => {
You can’t perform that action at this time.
0 commit comments