Skip to main content
POST
Register a public MCP OAuth client.

Body

application/json
redirect_uris
string<uri>[]
required
Minimum array length: 1
Example:
client_name
string
Example:

"Codex"

grant_types
enum<string>[]
Available options:
authorization_code,
refresh_token
response_types
enum<string>[]
Available options:
code
scope
string

Space-separated OAuth scopes.

Example:

"workspace:read leads:read agent:read"

token_endpoint_auth_method
enum<string>
default:none
Available options:
none

Response

Registered public client metadata.

client_id
string
required
Example:

"mcp_abc123"

client_name
string
required
Example:

"Codex"

redirect_uris
string<uri>[]
required
grant_types
string[]
required
response_types
string[]
required
token_endpoint_auth_method
enum<string>
required
Available options:
none
scope
string
required
Example:

"workspace:read leads:read analytics:read agent:read"