File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -966,6 +966,10 @@ components:
966966 type : string
967967 format : date-time
968968 description : The ISO 8601 timestamp of when the health check was performed.
969+ version :
970+ type : string
971+ description : The version of the MCP server.
972+ example : " 1.0.0"
969973 githubCli :
970974 type : object
971975 properties :
Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ class HealthService extends Base {
293293 const payload = {
294294 status : 'healthy' ,
295295 timestamp : new Date ( ) . toISOString ( ) ,
296+ version : process . env . npm_package_version || '1.0.0' ,
296297 githubCli : {
297298 installed : false ,
298299 authenticated : false ,
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ class HealthService extends Base {
183183 embedding : false
184184 } ,
185185 details : [ ] ,
186- version : '1.0.0' ,
186+ version : process . env . npm_package_version || '1.0.0' ,
187187 uptime : process . uptime ( )
188188 } ;
189189
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ class HealthService extends Base {
225225 summarizationDetails : this . #startupSummarizationDetails
226226 } ,
227227 details : [ ] ,
228- version : '1.0.0' ,
228+ version : process . env . npm_package_version || '1.0.0' ,
229229 uptime : process . uptime ( )
230230 } ;
231231
You can’t perform that action at this time.
0 commit comments