File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -464,5 +464,24 @@ export function createDocumentationService () {
464
464
] ,
465
465
}
466
466
} ,
467
+ getExposedExports : async ( ) => {
468
+ const { data } = await octokit . rest . repos . getContent ( {
469
+ owner : 'vuetifyjs' ,
470
+ repo : 'vuetify' ,
471
+ path : 'packages/docs/src/pages/en/getting-started/installation.md' ,
472
+ mediaType : {
473
+ format : 'raw' ,
474
+ } ,
475
+ } )
476
+
477
+ return {
478
+ content : [
479
+ {
480
+ type : 'text' ,
481
+ text : `Review the Exposed exports section of the installation guide:\n\n${ data } ` ,
482
+ } as const ,
483
+ ] ,
484
+ }
485
+ } ,
467
486
}
468
487
}
Original file line number Diff line number Diff line change @@ -34,4 +34,10 @@ export async function registerDocumentationTools (server: McpServer) {
34
34
} ,
35
35
documentation . getFeatureGuide ,
36
36
)
37
+
38
+ server . tool (
39
+ 'get_exposed_exports' ,
40
+ 'Get a list of exports from the Vuetify npm package' ,
41
+ documentation . getExposedExports ,
42
+ )
37
43
}
You can’t perform that action at this time.
0 commit comments