Rank, 14 days: 319 on the Claude Code sheet
14 people reported
All time, since Sep 15, including 8 thumbs-up on GitHub.
Optional MCP params required
“Invalid input: expected nonoptional, received undefined”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/17459/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
MCP tool calls rejected when optional parameters are omitted. Client-side validator rejects omitted parameters that the tool's JSON Schema marks optional with a default, before reaching the server.
Is this your bug?
File my report- Where
- MCP servers
- Error text
Invalid input: expected nonoptional, received undefined- Versions
- 2.1.273 to 2.1.302
- Platforms
- macOS
- How bad
- Breaks a normal workflow. Some reports say it used to work. Some reports say it blocks them completely.
Original reports6, newest first
- MCP tools with required
anyOf: [X, null]params are unusable: JSONnullis never sent (regression of #81911, auto-closed)#105223 - MCP Calls#95383
- MCP tool-call validation treats optional/nullable parameters as required, and literal "null" is never transmitted as JSON null#95239
- MCP tool-call validation rejects omission of any optional/defaulted parameter, regardless of type#95212
- MCP client rejects tool calls omitting optional parameters; deadlocks on tools with mutually-exclusive parameter groups#94718
- Desktop app rejects MCP calls that omit optional parameters (expected, nonoptional, rerecived undefined)#94608