Authentication
MCP initialization, tool discovery, and public model discovery do not require authentication. Account access and all paid MCP or CLI execution requests require a PoYo API key.poyo_account or poyo auth status to verify authentication.
CLI
Store the key in the system keyring:--api-key, POYO_API_KEY, system keyring, then local config fallback.
Security
- Never include a key in an MCP URL or prompt.
- Never commit a key to MCP configuration.
- Prefer environment interpolation when configuring a client.
- Apply API-key model and credit limits in the PoYo dashboard.
Authentication failures
REST requests use an HTTP401 response:
isError: true, even when the MCP HTTP transport itself returns 200. Clients should inspect the tool result instead of relying only on the HTTP status.