Skip to main content

Module limiter

Module limiter 

Source
Expand description

A small in-memory limiter for the no-key MCP tools: how many calls one client address may make in a sliding window. It guards the database from a client that polls or probes in a tight loop; the audit and email limits that cost something live in the store. One web container is enough for that, so the counts live here and a restart forgets them.

Structs§

CallLimiter

Constants§

ANON_CALLS_PER_WINDOW
Calls a direct (non-shared) no-key client may make per window.
ANON_WINDOW