

# AgenticConnector

Describes an agentic connector: a Model Context Protocol (MCP) server whose tools the agent on a WorkSpace can use.

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

 ** ActivationStatus **   <a name="WorkSpaces-Type-AgenticConnector-ActivationStatus"></a>
The activation status of the connector for your account:  
+  `ACTIVATED` – You activated the connector.
+  `DEACTIVATED` – You deactivated the connector.
+  `PENDING` – The service is activating the connector.
+  `PENDING_DELETE` – The service is deactivating the connector.
+  `ACTIVATION_ERROR` – The service couldn't activate the connector.
+  `DEACTIVATION_ERROR` – The service couldn't deactivate the connector.
Type: String  
Valid Values: `ACTIVATED | DEACTIVATED | PENDING | PENDING_DELETE | ACTIVATION_ERROR | DEACTIVATION_ERROR`   
Required: Yes

 ** AuthType **   <a name="WorkSpaces-Type-AgenticConnector-AuthType"></a>
How the connector authenticates:  
+  `OAUTH` – The connector uses OAuth.
+  `API_KEY` – The connector uses an API key.
+  `NONE` – The connector doesn't require authentication.
Type: String  
Valid Values: `OAUTH | API_KEY | NONE`   
Required: Yes

 ** Id **   <a name="WorkSpaces-Type-AgenticConnector-Id"></a>
The identifier of the connector.  
Type: String  
Length Constraints: Minimum length of 10. Maximum length of 64.  
Pattern: `^wsacn-[0-9a-z]{4,58}$`   
Required: Yes

 ** Name **   <a name="WorkSpaces-Type-AgenticConnector-Name"></a>
The name of the connector.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** ServerType **   <a name="WorkSpaces-Type-AgenticConnector-ServerType"></a>
Where the connector's server runs:  
+  `HOSTED` – The server is accessed through a URL.
+  `LOCAL` – The server runs on the WorkSpace.
Type: String  
Valid Values: `HOSTED | LOCAL`   
Required: Yes

 ** AllowedTools **   <a name="WorkSpaces-Type-AgenticConnector-AllowedTools"></a>
The connector tools the agent can use. If absent, all tools not in `BlockedTools` are allowed.  
Type: Array of strings  
Array Members: Maximum number of 100 items.  
Length Constraints: Maximum length of 128.  
Required: No

 ** ApiKeySecretArn **   <a name="WorkSpaces-Type-AgenticConnector-ApiKeySecretArn"></a>
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that holds the API key, when `AuthType` is `API_KEY`. This field is absent when `AuthType` isn't `API_KEY`.  
Type: String  
Pattern: `^arn:aws[a-z-]{0,7}:secretsmanager:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:secret:[A-Za-z0-9][A-za-z0-9_/.-]{8,519}$`   
Required: No

 ** Args **   <a name="WorkSpaces-Type-AgenticConnector-Args"></a>
The arguments passed to a local connector's command.  
Type: Array of strings  
Array Members: Maximum number of 50 items.  
Length Constraints: Maximum length of 1024.  
Required: No

 ** BlockedTools **   <a name="WorkSpaces-Type-AgenticConnector-BlockedTools"></a>
The connector tools the agent can't use.  
Type: Array of strings  
Array Members: Maximum number of 100 items.  
Length Constraints: Maximum length of 128.  
Required: No

 ** Command **   <a name="WorkSpaces-Type-AgenticConnector-Command"></a>
The command that starts a local connector's server.  
Type: String  
Length Constraints: Maximum length of 1024.  
Required: No

 ** CreatedAt **   <a name="WorkSpaces-Type-AgenticConnector-CreatedAt"></a>
The creation time of the connector. You might not see this field for every connector.  
Type: Timestamp  
Required: No

 ** Description **   <a name="WorkSpaces-Type-AgenticConnector-Description"></a>
The description of the connector.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

 ** OAuthConfig **   <a name="WorkSpaces-Type-AgenticConnector-OAuthConfig"></a>
The OAuth settings, when `AuthType` is `OAUTH`.  
Type: [AgenticConnectorOAuthConfig](API_AgenticConnectorOAuthConfig.md) object  
Required: No

 ** UpdatedAt **   <a name="WorkSpaces-Type-AgenticConnector-UpdatedAt"></a>
The time when the connector's activation status last changed for your account. Your account doesn't see this field for a connector it has never activated.  
Type: Timestamp  
Required: No

 ** Url **   <a name="WorkSpaces-Type-AgenticConnector-Url"></a>
The URL of a hosted connector's server.  
Type: String  
Length Constraints: Maximum length of 2048.  
Required: No

## See Also
<a name="API_AgenticConnector_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/workspaces-2015-04-08/AgenticConnector) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/workspaces-2015-04-08/AgenticConnector) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/workspaces-2015-04-08/AgenticConnector) 