oauth_register_client
Register a new OAuth 2.1 client in MCP Hub by specifying client name, redirect URIs, and optional grant types and scopes to obtain secure credentials for API access.
Instructions
Register a new OAuth 2.1 client.
Args: client_name: Human-readable client name (e.g., "My OpenAI GPT") redirect_uris: Comma-separated redirect URIs grant_types: Comma-separated grant types (default: "authorization_code,refresh_token") allowed_scopes: Comma-separated scopes (default: "read,write") metadata: Optional metadata dict
Returns: Dict with client_id and client_secret (SAVE THIS - shown only once!)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_name | Yes | ||
| redirect_uris | Yes | ||
| grant_types | No | authorization_code,refresh_token | |
| allowed_scopes | No | read,write | |
| metadata | No |