Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

chore: fix logging error in mcp stdio (#1322)

Ralph Khreish518d7ea8dcd4
diff --git a/mcp-server/src/logger.js b/mcp-server/src/logger.js
index cbd10bb8..856bd4b3 100644
--- a/mcp-server/src/logger.js
+++ b/mcp-server/src/logger.js
@@ -78,7 +78,7 @@ function log(level, ...args) {
// is responsible for directing logs correctly (e.g., to stderr)
// during tool execution without upsetting the client connection.
// Logs outside of tool execution (like startup) will go to stdout.
- console.log(prefix, ...coloredArgs);
+ console.error(prefix, ...coloredArgs);
}
}