Repository navigation
fix(mcp): accept None for optional non-required arguments in _validate and clamp wait seconds - #92
Conversation
…e and clamp wait seconds
|
Closing — both halves are settled, one by deletion and one by a deliberate change in the opposite direction.
The wait clamp went the other way on purpose. Generated by Claude Code |
In mcp/src/technocore_mcp/protocol.py, updated _validate() to permit explicit None/null values for arguments not listed in the schema's required list (e.g. since: None, limit: None from clients sending default object keys). In mcp/src/technocore_mcp/server.py, clamped wait seconds to [0.0, WAIT_CEILING]. Added unit tests.