@@ -113,7 +113,12 @@ export const SEARCH_SERVERS_QUERY_SCHEMA = {
113113 enum : MCP_SERVER_STATUS_VALUES as unknown as string [ ] ,
114114 description : 'Filter by server status'
115115 } ,
116- featured : {
116+ source : {
117+ type : 'string' ,
118+ enum : [ 'official_registry' , 'manual' ] ,
119+ description : 'Filter by server source: official_registry or manual'
120+ } ,
121+ featured : {
117122 type : 'string' ,
118123 enum : [ 'true' , 'false' ] ,
119124 description : 'Filter by featured status: true for featured servers, false for non-featured servers'
@@ -1184,10 +1189,11 @@ export const SERVER_LIST_ENTITY_SCHEMA = {
11841189 author_name : { type : 'string' , nullable : true , description : 'Author name' } ,
11851190 organization : { type : 'string' , nullable : true , description : 'Organization' } ,
11861191 official_name : { type : 'string' , nullable : true , description : 'Official registry name' } ,
1192+ source : { type : 'string' , enum : [ 'official_registry' , 'manual' ] , description : 'Source of the MCP server' } ,
11871193 created_at : { type : 'string' , format : 'date-time' , description : 'Creation timestamp' } ,
11881194 updated_at : { type : 'string' , format : 'date-time' , description : 'Last update timestamp' }
11891195 } ,
1190- required : [ 'id' , 'name' , 'slug' , 'description' , 'language' , 'runtime' , 'transport_type' , 'visibility' , 'status' , 'featured' , 'requires_oauth' , 'created_at' , 'updated_at' ]
1196+ required : [ 'id' , 'name' , 'slug' , 'description' , 'language' , 'runtime' , 'transport_type' , 'visibility' , 'status' , 'featured' , 'requires_oauth' , 'source' , ' created_at', 'updated_at' ]
11911197} as const ;
11921198
11931199export const LIST_SERVERS_SUCCESS_RESPONSE_SCHEMA = {
@@ -1775,6 +1781,7 @@ export interface ServerListEntity {
17751781 author_name : string | null ;
17761782 organization : string | null ;
17771783 official_name : string | null ;
1784+ source : 'official_registry' | 'manual' ;
17781785 created_at : string ;
17791786 updated_at : string ;
17801787}
@@ -1972,6 +1979,7 @@ export function formatServerListResponse(
19721979 author_name : server . author_name || null ,
19731980 organization : server . organization || null ,
19741981 official_name : server . official_name || null ,
1982+ source : server . source || 'manual' ,
19751983 created_at : server . created_at . toISOString ( ) ,
19761984 updated_at : server . updated_at . toISOString ( )
19771985 } ;
0 commit comments