File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,7 @@ const __dirname = dirname(__filename);
1616async function main ( ) {
1717 const args = process . argv . slice ( 2 ) ;
1818
19- // Debug output to stderr so it doesn't interfere with CLI output
20- console . error ( `[DEBUG] process.argv: ${ JSON . stringify ( process . argv ) } ` ) ;
21- console . error ( `[DEBUG] args: ${ JSON . stringify ( args ) } ` ) ;
22- console . error ( `[DEBUG] args.length: ${ args . length } ` ) ;
23-
2419 if ( args . length === 0 ) {
25- console . error ( "[DEBUG] No args - starting MCP server" ) ;
2620 // No arguments, start MCP server
2721 const isLocal = existsSync (
2822 join ( __dirname , "../../mcp-server/dist/index.js" ) ,
@@ -37,7 +31,6 @@ async function main() {
3731 await startServer ( ) ;
3832 }
3933 } else {
40- console . error ( "[DEBUG] Has args - starting CLI" ) ;
4134 // Any arguments, run CLI
4235 const { runCli } = await import ( "./cli.js" ) ;
4336 runCli ( ) ;
You can’t perform that action at this time.
0 commit comments