DEV Community

Discussion on: Top API Gateways for AI Applications and Agentic Workflows (2026 Developer Guide)

Collapse
 
mudassirworks profile image
Mudassir Khan

the 'AI requests are expensive' section is the part teams discover too late. gateway level rate limiting helps, but the real footgun with MCP agents is per user token isolation. if 20 users share the same gateway auth context, one runaway agent burns the whole quota.

we hit this building a Next.js MCP server — per user OAuth had to live one layer closer to the model, not just at the gateway edge. rate limiting the wrong identity unit is almost as bad as no rate limiting.

are any of these gateways starting to support per user OAuth flows natively for MCP, or is that still custom middleware?