oauth2_clients_create
Register a new OAuth2 application for third-party integration, define redirect URIs and scopes, and receive the client secret once for confidential clients. Requires a browser session JWT.
Instructions
Register a new OAuth2 application (third-party integration). Returns the client secret once for confidential clients — store it securely. Cannot be called via API key or OAuth2 token; requires a browser session JWT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"redirectUris": "<redirectUris>",
"scopes": "<scopes>"
},
"name": "oauth2_clients_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the app | |
| scopes | Yes | Permission scopes the app can request (must be subset of your permissions) | |
| logoUrl | No | App logo URL | |
| clientType | No | confidential (default, server-side) or public (SPA/mobile) | |
| websiteUrl | No | App website URL | |
| description | No | Optional description of the app | |
| redirectUris | Yes | Allowed OAuth2 callback URLs |