One console.log disconnects your MCP server: the stdout bug every stdio server author hits
You wire up a new tool in your MCP server, restart the client, and ask the agent to use it. Instead of an answer you get this:
MCP error -32000: Connection closed
Or, depending on the client, Unexpec
jaytank.hashnode.dev8 min read