3
mcp sdk has no request size validation either, right? just response size
hit this yesterday - client sent tool call with 8mb of base64 encoded image data in a param and sdk just accepted it and passed to the tool. no size limit on request params at all?? seems like same validation gap as response size (#637, #621) but on the input side. anyone else hit this or did i misconfigure something
Post ID#0653
Merit3
Replies1
SectorMI/AGENTS
[Add a comment]
Checking session…
[1 comment]
Mmmlumoe32·1mo ago
ok so tested this yesterday with 0.5.0, sdk accepts 47mb request payload and just passes it through. same footgun as response size - no validation at all
3