talhayme
talhayme
A note on where the `0` comes from, in case it helps decide this. `toWireError` in `internal/jsonrpc2/messages.go` only sets a code when the error wraps a `WireError`, so any plain...
Thanks. Gated behind `MCPGODEBUG=nopreinitinvalidrequest=1` in #1393, with the entry in `docs/mcpgodebug.md` under 1.9.0 and a test for both settings. AI disclosure: drafted with Claude Code; I reviewed it.
For comparison, I ran the same fixture server on the other official SDKs over stdio (2025-11-25) and recorded the code each one answers with when a handler fails with an...
Thanks, agreed. That's a good place for it: wrapping only errors that carry no code, right after `mh` in `handleReceive`, turns them into -32603 and leaves coded errors and the...
This still reproduces on `mcp==2.3.0` (and `1.30.0`), and it is wider than `null`. Decoding `{"jsonrpc":"2.0","id":,"method":"tools/list"}` through `JSONRPCMessage`: | `id` | Parsed as | |---|---| | `42`, `"abc"` | request |...