News for hackers. Stuff that matters.
Re:Show HN: We made an MCP server so Cursor can debug Node.j... by mdaniel on Saturday March 22, 2025 @05:47PM (#43448904)
Up to you, but there's actually a formal logging pathway[1] in MCP that has the potential to put this message somewhere that either of the two consumers[2] of your service could see it https://github.com/hyperdrive-eng/mcp-nodejs-debugger/blob/v...

1: https://spec.modelcontextprotocol.io/specification/2024-11-0...

2: the person, and (while I don't have evidence of it) I also can't think why the LLM couldn't see the message, either

Re:Show HN: We made an MCP server so Cursor can debug Node.j... by arthurgousset on Tuesday March 25, 2025 @04:48PM (#43475795)
Oh neat, thanks so much for sharing. I was getting MCP client errors when simply using `console.error`. Sending log message from the MCP server to the MCP client via the logging capability makes a ton of sense!

  ```
  {
    "capabilities": {
      "logging": {}
    }
  }
  ```