@@ -237,24 +237,25 @@ export class McpServer {
237237
238238 // GET endpoint for SSE streaming
239239 this . app . get ( endpoint , async ( req , res ) => {
240- console . log ( `📡 HTTP GET request received at ${ endpoint } ` )
240+ console . log ( `[MCP] GET ${ endpoint } ` )
241241 await httpTransport . handleRequest ( req , res )
242242 } )
243243
244244 // POST endpoint for messages
245245 this . app . post ( endpoint , express . json ( ) , async ( req , res ) => {
246- console . log ( `📡 HTTP POST request received at ${ endpoint } ` )
246+ const method = req . body ?. method || 'unknown'
247+ console . log ( `[MCP] POST ${ endpoint } → ${ method } ` )
247248 await httpTransport . handleRequest ( req , res , req . body )
248249 } )
249250
250251 // DELETE endpoint for session cleanup
251252 this . app . delete ( endpoint , async ( req , res ) => {
252- console . log ( `📡 HTTP DELETE request received at ${ endpoint } ` )
253+ console . log ( `[MCP] DELETE ${ endpoint } ` )
253254 await httpTransport . handleRequest ( req , res )
254255 } )
255256
256257 this . mcpMounted = true
257- console . log ( `📡 MCP server mounted at ${ endpoint } ` )
258+ console . log ( `[ MCP] Server mounted at ${ endpoint } ` )
258259 }
259260
260261 /**
@@ -286,8 +287,8 @@ export class McpServer {
286287 this . mountInspector ( )
287288
288289 this . app . listen ( this . serverPort , ( ) => {
289- console . log ( `📡 Server listening on http://localhost:${ this . serverPort } ` )
290- console . log ( `📡 MCP endpoints available at http://localhost:${ this . serverPort } /mcp` )
290+ console . log ( `[SERVER] Listening on http://localhost:${ this . serverPort } ` )
291+ console . log ( `[ MCP] Endpoints: http://localhost:${ this . serverPort } /mcp` )
291292 } )
292293 }
293294
0 commit comments