Floodgate is an MCP server that provides robust, declarative rate limiting capabilities for Next.js applications. It supports multiple algorithms (sliding window, fixed window, token bucket), global and per-route middleware, and integrates with different storage backends like in-memory, Redis, and Vercel KV. As part of the sathergate-toolkit, Floodgate is intended for developers, platform engineers, and teams building agent-native or AI-driven Next.js apps who need fine-grained, scalable control over API usage, throttling, and automated protection against abuse or overuse. It is easy to install, highly configurable, type-safe, and works in Edge, Node.js, and serverless environments, making it suitable for both small projects and large-scale deployments.
Visit Floodgate's official website for product details and getting started.