Skip to content

Commit 3f594be

Browse files
committed
Fix: Remove STDOUT contamination - all logging uses STDERR (v2.0.3)
- Fixed logger.ts to write all log levels to STDERR via console.error - Removed DEBUG console.log statements from searchApiClient.ts (lines 94, 107) - Changed console.warn to console.error in config.ts (lines 50, 60, 61) - Resolves JSON parsing errors in Claude Desktop while maintaining functionality This fix ensures MCP STDIO protocol compliance: STDOUT for JSON-RPC only, STDERR for all logging.
1 parent bb7af53 commit 3f594be

File tree

9 files changed

+14
-24
lines changed

9 files changed

+14
-24
lines changed

dist/server.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/services/searchApiClient.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/services/searchApiClient.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utils/config.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)