

# MCPServerAuthorizationDiscoveryConfig
<a name="API_MCPServerAuthorizationDiscoveryConfig"></a>

Authorization discovery configuration for MCP server.

## Contents
<a name="API_MCPServerAuthorizationDiscoveryConfig_Contents"></a>

 ** returnToEndpoint **   <a name="devopsagent-Type-MCPServerAuthorizationDiscoveryConfig-returnToEndpoint"></a>
The endpoint to return to after OAuth flow completes (must be AWS console domain)  
Type: String  
Pattern: `https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?`   
Required: Yes

## See Also
<a name="API_MCPServerAuthorizationDiscoveryConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/devops-agent-2026-01-01/MCPServerAuthorizationDiscoveryConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/devops-agent-2026-01-01/MCPServerAuthorizationDiscoveryConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/devops-agent-2026-01-01/MCPServerAuthorizationDiscoveryConfig) 