curl --request POST \
--url https://api.example.com/v1/provider-mcp/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "My AI Agent",
"redirect_uris": [
"https://agent.example.com/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"software_id": "agent-123",
"software_version": "1.0.0",
"logo_uri": "https://example.com/logo.png",
"tos_uri": "https://example.com/tos",
"policy_uri": "https://example.com/policy",
"client_uri": "https://example.com"
}
'{
"client_id": "client-id-123",
"client_secret": "client-secret-456",
"client_id_issued_at": 1734567890,
"client_secret_expires_at": 0,
"client_name": "My AI Agent",
"redirect_uris": [
"https://agent.example.com/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"scope": "openid profile email",
"token_endpoint_auth_method": "client_secret_basic"
}curl --request POST \
--url https://api.example.com/v1/provider-mcp/oauth/register \
--header 'Content-Type: application/json' \
--data '
{
"client_name": "My AI Agent",
"redirect_uris": [
"https://agent.example.com/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"software_id": "agent-123",
"software_version": "1.0.0",
"logo_uri": "https://example.com/logo.png",
"tos_uri": "https://example.com/tos",
"policy_uri": "https://example.com/policy",
"client_uri": "https://example.com"
}
'{
"client_id": "client-id-123",
"client_secret": "client-secret-456",
"client_id_issued_at": 1734567890,
"client_secret_expires_at": 0,
"client_name": "My AI Agent",
"redirect_uris": [
"https://agent.example.com/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"response_types": [
"code"
],
"scope": "openid profile email",
"token_endpoint_auth_method": "client_secret_basic"
}"My AI Agent"
["https://agent.example.com/callback"]
["authorization_code", "refresh_token"]
["code"]
"agent-123"
"1.0.0"
"https://example.com/logo.png"
"https://example.com/tos"
"https://example.com/policy"
"https://example.com"
Client registered
"client-id-123"
"client-secret-456"
1734567890
0
"My AI Agent"
["https://agent.example.com/callback"]
["authorization_code", "refresh_token"]
["code"]
"openid profile email"
"client_secret_basic"