In this article
Test catch-all scope interpretation, named-scope controls and real tool permissions separately; finishing MCP sign-in does not expand the provider token’s capabilities.
LiteLLM v1.111.0-dev.2, released on November 13 as a prerelease, changes the connection check for mcp_all when a provider returns detailed scopes instead of the catch-all name. A saved nonempty grant can satisfy that request, while other named scopes still need checks. The provider token remains the authority for what operations actually work; connected status is not a grant of every possible tool.
Use a provider-shaped grant response
Build a harmless OAuth fixture that receives mcp_all but returns several detailed scopes. Observe saved grant state and the connect page’s next decision. The session should not loop merely because the literal catch-all string is absent. Keep an empty-grant case as a control. This checks grant interpretation, not token validity or whether the user has access to a particular tool after the flow finishes.
Named scopes retain their own requirements
Request mcp_all alongside a distinct named scope and return only an unrelated detailed grant. Inspect the named-scope outcome under the documented contract. Then repeat a request with no catch-all. A broad special case must not become an unconditional connection success for every scope list. Record requested and saved scopes separately so an operator can explain which comparison passed and which still requires a provider-approved grant.
Reconnect should not accumulate redundant scope state
Run a controlled expired-session reconnect with a large synthetic detailed grant. Inspect the requested scopes and browser state size across attempts. The reported failure involved repeated scope accumulation and dropped browser state, so one fresh sign-in can miss it. Use safe fake tokens and avoid printing bearer content. The desired result is a bounded, explainable reconnect flow, not an assertion that every browser or provider has unlimited state capacity.
Verify a permitted and denied tool after connection
Use the resulting synthetic token to invoke one permitted inert tool and one operation outside its provider grant. Connected status should not erase provider-side denial. The prerelease fixes completion of a particular scope handshake, not the organization’s entire authorization model. A useful adoption record joins requested scopes, saved grant, reconnect behavior and observed tool permissions while retaining the distinction between gateway connection state and actual upstream authority.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.