

# HarnessRemoteMcpConfig
<a name="API_HarnessRemoteMcpConfig"></a>

Configuration for connecting to a remote MCP server.

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

 ** url **   <a name="bedrockagentcorecontrol-Type-HarnessRemoteMcpConfig-url"></a>
URL of the MCP endpoint.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 16383.  
Required: Yes

 ** headers **   <a name="bedrockagentcorecontrol-Type-HarnessRemoteMcpConfig-headers"></a>
Custom headers to include when connecting to the remote MCP server.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 16383.  
Value Length Constraints: Minimum length of 1. Maximum length of 16383.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/HarnessRemoteMcpConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/HarnessRemoteMcpConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/HarnessRemoteMcpConfig) 