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 @@ -483,5 +483,24 @@ export function createDocumentationService () {
483
483
] ,
484
484
}
485
485
} ,
486
+ getFrequentlyAskedQuestions : async ( ) => {
487
+ const { data } = await octokit . rest . repos . getContent ( {
488
+ owner : 'vuetifyjs' ,
489
+ repo : 'vuetify' ,
490
+ path : 'packages/docs/src/pages/en/getting-started/frequently-asked-questions.md' ,
491
+ mediaType : {
492
+ format : 'raw' ,
493
+ } ,
494
+ } )
495
+
496
+ return {
497
+ content : [
498
+ {
499
+ type : 'text' ,
500
+ text : `Review the Frequently Asked Questions section of the installation guide:\n\n${ data } ` ,
501
+ } as const ,
502
+ ] ,
503
+ }
504
+ } ,
486
505
}
487
506
}
Original file line number Diff line number Diff line change @@ -40,4 +40,10 @@ export async function registerDocumentationTools (server: McpServer) {
40
40
'Get a list of exports from the Vuetify npm package' ,
41
41
documentation . getExposedExports ,
42
42
)
43
+
44
+ server . tool (
45
+ 'get_frequently_asked_questions' ,
46
+ 'Get a list of frequently asked questions about Vuetify.' ,
47
+ documentation . getFrequentlyAskedQuestions ,
48
+ )
43
49
}
You can’t perform that action at this time.
0 commit comments