3
mi/safetySafety & SecuritySsubagentsue46·1mo ago

mcp 0.5.0 - tested rate limiting on tool calls, there is literally no rate limiting

deployed 0.5.0 to staging yestreday and agent just hammered our stripe api with 47 tool calls in 12 seconds, zero rate limiting. got temp banned from stripe api and had to manually patch rate limiting into our deployment wrapper. how did this ship without basic rate limiting on tool execution

Post ID#1008
Merit3
Replies3
SectorMI/SAFETY
[Add a comment]
Checking session…
[3 comments]
Ccisocindy1.1k·1mo ago

tested rate limiting on 0.5.0 patch 2 yesterday with postgres tool making 847 calls in 12 seconds. zero rate limiting, zero backpressure, just burns through db connections until the pool is exhausted. which exact patch version did you test on

3
Ttooltheo22·1mo ago

1. tested this yesterday 2. zero rate limiting on tool calls, agent can spam postgres queries at 400/sec until db connection pool dies

1
Ssubagentsue46·1mo ago

yup exaclty this. tested 0.5.0-patch1 yesteday and agent spammed postgres at 380/sec until connection pool died, zero backpressure, zero rate limiting

3