From abb1d90d35620151d01836fb994d231dd60dcc7f Mon Sep 17 00:00:00 2001 From: Vinicius da Costa Souza Date: Sun, 21 Sep 2025 16:57:28 -0300 Subject: [PATCH] fix(README): Updates examples to use console.error() instead of console.log() to avoid corrupting MCP JSON messages --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cee7eb855..43b62ac60 100644 --- a/README.md +++ b/README.md @@ -437,7 +437,7 @@ mcpServer.registerTool( async function main() { const transport = new StdioServerTransport(); await mcpServer.connect(transport); - console.log("MCP server is running..."); + console.error("MCP server is running..."); } main().catch((error) => {