File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
components/mcp-server/wizard Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ const performSearch = async () => {
103103
104104 const searchParams: McpServerSearchParams = {
105105 q: searchTerm .value .trim (),
106+ sort_by: ' github_stars' ,
106107 limit: pageSize .value ,
107108 offset: offset
108109 }
Original file line number Diff line number Diff line change @@ -297,6 +297,7 @@ export class McpCatalogService {
297297 if ( params . runtime ) url . searchParams . append ( 'runtime' , params . runtime )
298298 if ( params . status ) url . searchParams . append ( 'status' , params . status )
299299 if ( params . featured !== undefined ) url . searchParams . append ( 'featured' , params . featured . toString ( ) )
300+ if ( params . sort_by ) url . searchParams . append ( 'sort_by' , params . sort_by )
300301 if ( params . limit ) url . searchParams . append ( 'limit' , params . limit . toString ( ) )
301302 if ( params . offset ) url . searchParams . append ( 'offset' , params . offset . toString ( ) )
302303
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export interface McpServerSearchParams {
55 runtime ?: string
66 status ?: 'active' | 'deprecated' | 'maintenance'
77 featured ?: boolean
8+ sort_by ?: 'name' | 'github_stars'
89 limit ?: number
910 offset ?: number
1011}
You can’t perform that action at this time.
0 commit comments