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

Fading. No reports and thumbs-up in the last 7 days and 1 the week before, down from 13 a week at the mid-September peak. A workaround is known.

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

  1. MCP tools with required anyOf: [X, null] params are unusable: JSON null is never sent (regression of #81911, auto-closed)#105223
  2. MCP Calls#95383
  3. MCP tool-call validation treats optional/nullable parameters as required, and literal "null" is never transmitted as JSON null#95239
  4. MCP tool-call validation rejects omission of any optional/defaulted parameter, regardless of type#95212
  5. MCP client rejects tool calls omitting optional parameters; deadlocks on tools with mutually-exclusive parameter groups#94718
  6. Desktop app rejects MCP calls that omit optional parameters (expected, nonoptional, rerecived undefined)#94608

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.