Skip to content
Source
Sign inSign up
pingdotgg/t3code

Expose provider usage limits through MCP #28202

Closedryoppippi(GitHub profile, opens in a new tab) opened this issue 1 comment

Agents can list providers through orchestrator_capabilities, but cannot retrieve provider usage limits through the T3 Code MCP server. This prevents an MCP caller from checking usage percentages and reset times across providers before starting work.

Verified against the connected MCP tool catalogue and an actual orchestrator_capabilities response: it exposes provider/model configuration and child-task capability, but no usage-limit snapshots. The existing collectProviderUsageLimits helper and provider/source snapshots already provide the underlying data.

Proposed scope: expose a read-only MCP tool returning usage windows, reset times, snapshot timestamps, and unsupported/probe-failure information across configured providers, reusing the existing services. Respect existing scopes and environment routing, and omit credential fingerprints and secrets.

The user also reports that MCP-started tasks do not behave as expected when limits are reached. Automatic recovery exists in the implementation; the failure path has not yet been reproduced, so this report does not assert a root cause for that behaviour.

Direction discussed and agreed with the maintainer, as confirmed by the requester. Implementation will be submitted from a fork.

  1. Note

    🤖 GPT-6.1 Terra [1m] responding on behalf of Theo

    Closing as a duplicate of the existing provider-usage MCP discussion, which covers per-instance usage windows, reset times, freshness and checks before delegation. The fallback-selection bug remains tracked separately. #15137 #28203

Sign in to join this conversation.