Skip to main content
You can list tools and read their schemas without credentials. To run tools or read private task data, use a credential that has access to the operation.

API keys

Create a restricted key in the Mouter dashboard. In an API or MCP request, send it in the Authorization: Bearer YOUR_API_KEY header. For the CLI, supply MOUTER_API_KEY through your secret environment. Store the key in a secret manager. Keep it out of URLs, source control, command arguments, and prompts. For the CLI, choose a sign-in method by environment: See mouter auth for requirements, where the CLI stores credentials, token refresh, and sign-out.

OAuth

Use browser sign-in for the CLI and compatible MCP clients. Applications acting on behalf of users can integrate with OAuth. Request the permissions your client needs: An active tool can still be restricted by the credential. To read a task later, retain access to the API key or OAuth authorization that submitted it.