GloopAPI integration guide
MCP troubleshooting
Troubleshoot authorization, truncated output, and interrupted calls.
First distinguish connection failures from authorization failures and model execution failures. Correct the configuration or permissions before trying again; do not blindly retry generation that may already have been submitted.
The URL does not open
Receiving 405 when opening the MCP URL directly in a browser is normal: it is a protocol endpoint, not a webpage. Configure the client with https://api.gloopapi.com/mcp, not a console authorization page or a regular API version path.
Authorization or permission failures
401 indicates a missing or invalid access token, or an unavailable connection. Check connection management and sign in again. 403 may be caused by scopes, source restrictions, or model execution permissions. For failed generation, also check the selected Key's model and IP restrictions, account status, and balance. Tool results can contain errors even when the outer HTTP request succeeds, so check whether the tool itself succeeded.
If tools are missing after authorization, confirm that you are using the remote connection, open a new Codex session, and inspect the client's connection status. If the browser callback fails, do not repeatedly click Allow. Try Codex's browserless login mode and follow the terminal instructions; never publicly share a callback link containing an authorization code.
codex mcp login gloopapi-remote --no-browser
No final text
If finish_reason is length, the output budget has been exhausted. Reasoning may consume the budget before final text is produced, leaving the body empty. Check usage and max_output_tokens, then increase the budget for a new request only after confirming acceptable costs. The service does not automatically continue writing or retry with additional charges.
Timeout or interruption
First check the original call's usage and status in the console, and retain its response ID and the time of the error. A timeout can occur after the provider has already accepted a request; this MCP tool provides no idempotency guarantee for repeated generation. Do not keep resubmitting because final text was not received, and especially do not automatically switch models and incur another charge. See authorization and billing for details.