@@ -44,7 +44,8 @@ async function getGatewayStatus() {
4444 pid : null as number | null ,
4545 uptime : null as number | null ,
4646 endpointSSE : null as string | null ,
47- endpointMessages : null as string | null
47+ endpointMessages : null as string | null ,
48+ endpointMcp : null as string | null
4849 } ,
4950 // eslint-disable-next-line @typescript-eslint/no-explicit-any
5051 server : null as any ,
@@ -86,10 +87,12 @@ async function getGatewayStatus() {
8687 const host = 'localhost' ; // Default host
8788 status . gateway . endpointSSE = `http://${ host } :${ port } /sse` ;
8889 status . gateway . endpointMessages = `http://${ host } :${ port } /message` ;
90+ status . gateway . endpointMcp = `http://${ host } :${ port } /mcp` ;
8991 } catch {
9092 // Server might be starting up or not responding
9193 status . gateway . endpointSSE = 'http://localhost:9095/sse (not responding)' ;
9294 status . gateway . endpointMessages = 'http://localhost:9095/message (not responding)' ;
95+ status . gateway . endpointMcp = 'http://localhost:9095/mcp (not responding)' ;
9396 }
9497 }
9598 }
@@ -144,8 +147,9 @@ async function displayStatus(status: any, verbose: boolean, _compare: boolean =
144147 [ 'Status' , status . gateway . running ? chalk . green ( 'Running' ) : chalk . red ( 'Stopped' ) ] ,
145148 [ 'PID' , status . gateway . pid || chalk . gray ( 'N/A' ) ] ,
146149 [ 'Uptime' , status . gateway . uptime ? formatUptime ( status . gateway . uptime ) : chalk . gray ( 'N/A' ) ] ,
147- [ 'Endpoint SSE' , status . gateway . endpointSSE || chalk . gray ( 'N/A' ) ] ,
148- [ 'Endpoint Messages' , status . gateway . endpointMessages || chalk . gray ( 'N/A' ) ]
150+ [ 'SSE Endpoint' , status . gateway . endpointSSE || chalk . gray ( 'N/A' ) ] ,
151+ [ 'Messages' , status . gateway . endpointMessages || chalk . gray ( 'N/A' ) ] ,
152+ [ 'MCP Endpoint' , status . gateway . endpointMcp || chalk . gray ( 'N/A' ) ]
149153 ) ;
150154
151155 console . log ( gatewayTable . toString ( ) ) ;
0 commit comments