GloopAPI integration guide

MCP authorization and billing

Manage connection permissions, Keys, and model usage costs.

Remote MCP uses OAuth to delegate access through an existing API Key that you select. The client receives separate OAuth credentials and never receives the selected Key's plaintext secret. Do not substitute an ordinary API Key for an MCP OAuth access token.

Permission scopes

mcp:models permits model discovery; mcp:generate permits text generation. Authorization for discovery alone cannot generate text: sign in and authorize again with generation permission. Client names are self-declared, so review the redirect address and requested scopes before granting access.

The Key's model scope, IP restrictions, expiry, account status, and credit rules still apply. IP restrictions must allow the actual MCP client's outbound address; successful browser sign-in does not guarantee that model calls pass these checks.

Credit and charges

Generation requests are metered and billed normally against the selected Key. Account usage and billing records determine the actual charges. Provider cost fields returned by a model are not the platform's actual deductions. See the billing guide for reservations and settlement; a network failure, truncated output, or cancellation does not by itself mean a request is free.

Refresh and revocation

Access tokens remain valid for 1 hour and refresh tokens for 30 days, with rotation on refresh. Clients that support token refresh do not need to sign in for every request. Complete browser authorization again after expiration, revocation, or a refresh failure.

Revoke connections you no longer use in MCP connection management. After a connection is revoked or its Key disabled, subsequent new requests are checked again and rejected; requests already in progress may finish. Deleting local client configuration does not revoke server-side authorization. Use the connection management page when you need to withdraw access.