Skip to content

Rate limits and budgets per MCP grant #410

Open

Description

@imshashank

A looping agent can make thousands of calls in a minute, and today nothing stops it short of the platform. Auth rate limits protect sign-in; nothing protects the tool surface per grant.

What to build

Design comment first on where the counter lives (Redis is already there and is the obvious answer) and on what a client should see when limited.

Activity

  1. added
    enhancement
    security
    needs design
    p2 medium
    area: mcp
    size: medium
    points: 5
    on Sep 6, 2026
  2. glatinone commented on Sep 12, 2026

    @glatinone

    A looping agent burning thousands of tool calls a minute is exactly the failure mode I prototype against. I built a small reference for the adjacent problem: per-tenant tool access with request-bound approvals and quota enforcement in front of MCP write tools (github.com/glatinone/mcp-local-to-hosted-deployment-fix, tenant checks and 403s tested). If useful, I can sketch what a per-grant counter could look like against your grant model, middleware first so it stays opt-in. Would a short written proposal of the enforcement point be welcome here, or is the design already settled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mcpenhancementneeds designp2 mediumpoints: 5securitysize: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions