cURL
curl --request POST \ --url https://api.example.com/v2/auth/providers/mcp-discover \ --header 'Content-Type: application/json' \ --data ' { "provider_id": "<string>", "name": "<string>", "mcp_server_url": "<string>" } '
{ "id": "<string>", "organization_id": "<string>", "provider_id": "<string>", "name": "<string>", "client_id": "<string>", "auth_url": "<string>", "token_url": "<string>", "uses_pkce": true, "code_challenge_method": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "provider_type": "<string>", "mcp_server_url": "<string>", "token_endpoint_auth_method": "client_secret_post", "is_dynamic_client": false }
Create an OAuth provider via MCP auto-discovery.
Request model for creating OAuth provider via MCP auto-discovery.
Successful Response
Response model for OAuth provider.
Was this page helpful?