Connectors
Data Agent connects to external services through the Connector Marketplace. This topic describes connector categories, installation, authentication, and usage, .
Overview
A connector is a one-click integration unit for external services in the Data Agent extension system. After installation and authentication, Data Agent can call external platform capabilities in conversations. Connectors support two installation methods: one-click installation from the Connector Marketplace, or installing a custom connector to connect a self-built MCP service. For more information, see Method 1: Install from the Connector Marketplace and Method 2: Install a custom connector.
Connectors are outbound integrations: Data Agent proactively calls external platform capabilities in conversations. Connecting Data Agent as a bot to IM platforms such as DingTalk, Lark, and WeCom to provide inbound conversations is IM channel integration, which is a different capability from connectors. For more information, see IM Channel.
Connectors fall into the following three categories by capability source:
Category | Connectors | Capability |
Communication and collaboration | DingTalk, Lark, WeCom | Lets Data Agent operate capabilities of communication and collaboration platforms in conversations, such as handling DingTalk to-dos. |
System capabilities | Client Connection Authorization, Remote Browser | Grants the agent read and write access to selected local folders, or enables the agent to access and operate web pages by using a remote browser. |
Alibaba Cloud services | Alibaba Cloud OpenAPI MCP Server, MaxCompute MCP Server | Wraps Alibaba Cloud product OpenAPIs into standardized MCP tools so that Data Agent can query or operate Alibaba Cloud resources in conversations. |
Prerequisites and limits
A Data Agent instance is created and started. For more information, see Data Agent introduction.
When you install a command-line tool or MCP connector, the resource group of the current Data Agent must have Internet access to download installation packages and communicate with external platform services. For the DingTalk, Lark, and WeCom connectors, enable Internet access on the corresponding connector page. For more information, see Communication and collaboration connectors.
Some connectors require additional account or organization permissions. For example, the DingTalk connector requires that your organization has enabled CLI data access permissions, and Alibaba Cloud service connectors require that your Alibaba Cloud account has access permissions on the corresponding cloud products. For details, see the corresponding connector sections.
Internet access affects more than a single connector: After Internet access is enabled, the entire resource group (all instances and resources in it) gains Internet access. The effective granularity is the vSwitch. Enable Internet access only when the connectors you use require it, and evaluate the security impact on other tasks and resources in the same resource group in advance.
Method 1: Install from the Connector Marketplace
In the left-side navigation pane of the Data Agent interface, click to go to the Connector Marketplace.
After installation and authentication, you can call the capabilities provided by the connector in conversation tasks. For more information, see Use connectors in tasks.
Communication and collaboration connectors
Communication and collaboration connectors let Data Agent operate capabilities of platforms such as DingTalk, Lark, and WeCom in conversations. All three download the official command-line tool of the platform from the Internet.
Perform the following common steps, and then complete the authentication described in the corresponding tab:
Click the target connector card to go to the details page. If the resource group does not have Internet access, the installation package cannot be downloaded: click Enable Internet Access, confirm the resource group to be enabled and its bound VPC and vSwitch in the dialog box, evaluate the impact (see Prerequisites and limits), and then click Next.
Click Install to install the official command-line tool and accompanying skills packaged by the connector.
Complete account authentication in the tabs below. After authentication passes, you can call the authorized platform capabilities in conversations.
DingTalk
The DingTalk connector installs the official DingTalk command-line tool (DWS) and accompanying skills, so that Data Agent can complete DingTalk operations in conversations, such as assigning DingTalk to-dos to the agent.
The authentication uses device authorization to request data access permissions for the current DingTalk account. Perform the following steps:
Click Authorize. The DingTalk authorization page opens in a new tab.
On the Select your organization page in the new tab, select the target organization and click Authorize.
Return to the connector page. After authentication passes, you can call the authorized DingTalk capabilities in conversations.
If the organization has not enabled CLI data access permissions, authentication fails. Contact the organization administrator to enable CLI data access permissions or add the current account to the CLI authorization list, and then re-authenticate.
Lark
The Lark connector installs and configures the official Lark tools for Data Agent, covering more than ten core Lark business domains such as messages and groups, cloud documents, and spreadsheets, for individual and enterprise scenarios. On the Lark details page, complete the following three steps:
Install prerequisites: install the official Lark CLI (
lark-cli) and the accompanying skill package to provide the command-line entry for Data Agent to invoke Lark capabilities.Configure Lark app: create and configure the Lark CLI application, which hosts the invocation of Lark capabilities. If the configuration does not complete for a long time, click Reopen authentication page to view the progress, or click Cancel and configure again.
Log on and authorize: request permissions for the current Lark user. Recommended permissions requests the commonly used default
scopevalues across all supported business domains; Custom permissions selects only the scopes required by your current work. After selection, click Authenticate. After authorization passes, you can call the authorized Lark capabilities in conversations.
WeCom
The WeCom connector installs and authenticates the official WeCom tools for Data Agent, covering core WeCom business domains such as contacts, messages, documents, spreadsheets, and schedules. On the WeCom details page, complete the following two steps:
Install prerequisites: install the official WeCom CLI (
wecom-cli) and the accompanying skill package.Configure and authenticate: click Authenticate and scan the QR code in WeCom to create a bot for Data Agent and complete account authorization. The authentication page opens in a new tab. To change the bot or account, click Clear credentials and authenticate again. After authentication passes, you can call the authorized WeCom capabilities in conversations.
System capability connectors
System capability connectors provide Data Agent with system-level capabilities such as local file access and remote browser operations. These connectors do not require an installation package. You can enable them on the connector page by turning on switches and granting authorization.
Client Connection Authorization
The Client Connection Authorization connector shares selected folders on your computer with Data Agent so that the agent can process the files in these folders in tasks. The authorization is granted through the browser. By default, the agent can only read the authorized folders. To allow the agent to create or modify files, enable the write permission for the corresponding folder. Perform the following steps:
In the Connector Marketplace, click the Client Connection Authorization card to go to the Client Connection Authorization page.
Turn on the Local File Access switch. After it is turned on, the agent can access the authorized local folders through the current browser page.
Click Add Folder and select the folders required by your task in the selection window that the browser opens. We recommend that you share only the required folders and avoid directories that contain credentials or sensitive data.
To allow the agent to create or modify files, turn on Allow Write for the corresponding folder. Otherwise, the agent can only read the content of the folder.
In a conversation task, specify a path inside an authorized folder. The agent can then read or write the files in it.
Due to browser security policies, you may need to click Re-authorize after the page is refreshed to confirm access to the authorized folders again.
Remote Browser
The Remote Browser connector enables the agent to access and operate web pages, for example, to read page information, fill in forms, or verify page effects. This capability is enabled or disabled per workspace, and disabling it does not delete the browser data that you have imported. For sites that require a logon state, you can import the cookies of your local Chrome browser into the remote browser. Perform the following steps:
In the Connector Marketplace, click the Remote Browser card to go to the Remote Browser page.
Turn on the Remote Browser Capability switch. After it is turned on, the agent in the current workspace can use the remote browser to access and operate web pages.
(Optional) Import the logon state: click Import from Local Chrome to copy all readable cookies of the Chrome profile that currently opens DataWorks to the remote browser. To import the data of another profile, switch the Chrome profile first and then reopen DataWorks. During the import, cookies that are expired, invalid or oversized in fields,
SameSite=Nonewithout the Secure flag, invalid or unsupported partition information, and duplicated cookies are skipped.Manage the imported cookie collections in the Remote Cookie Profile section: each collection is stored separately and can be switched, renamed, or deleted individually. Click Refresh to view the status and the number of cookies in each collection.
In a conversation task, ask the agent to open the target web page. When the agent visits a site that requires authentication, it uses the imported cookies to keep the logon state.
Imported cookies are shared within the instance. The sessions and agents in this instance may all use these cookies. If the instance is connected to IM channels such as DingTalk or WeCom, group members who @-mention the bot may also trigger browser operations that use your logon state. Make sure that all users who can start tasks in the instance are trustworthy before you import cookies. If you cannot confirm this, disable the IM channel first, or use a separate instance for such tasks. In addition, after the current remote instance is restarted, the imported cookies are reset and must be imported again.
Alibaba Cloud service connectors
Alibaba Cloud service connectors wrap Alibaba Cloud product OpenAPIs into standardized MCP tools so that Data Agent can query or operate Alibaba Cloud resources in conversations.
Connector | Positioning and scenarios | Installation and authentication | Use in tasks |
Alibaba Cloud OpenAPI MCP Server | An official MCP server provided by Alibaba Cloud OpenAPI Explorer. It wraps management OpenAPIs of services such as ECS, OSS, and RDS into a set of standardized tools. Suitable for cloud resource inspection, resource information queries, and simple O&M operations. If you only perform data development or data analysis, you do not need to install it, and existing features are not affected. | Click Install on the card. If authentication is required, complete the account authorization on the Alibaba Cloud authorization page to which you are redirected. The authorized account must have the access permissions on the target cloud products, which determine the callable OpenAPI scope. | Enter |
MaxCompute MCP Server | Wraps MaxCompute capabilities into MCP tools so that Data Agent can access and operate MaxCompute in conversations. | Click Install on the card. If authentication is required, complete the MaxCompute access authorization. The accessible projects and data are determined by the permissions of the authorized account. | Enter |
Method 2: Install a custom connector
In addition to one-click installation from the Connector Marketplace, you can install a custom connector by manually providing a name, description, and MCP connection settings to connect your self-built MCP service to Data Agent. To install a custom connector, perform the following steps:
In the left-side navigation pane of the Data Agent UI, click to go to the Connectors page, and switch to the Installed tab.
On the Installed tab, click Custom Connector in the upper-right corner, or click Install Custom Connector in the Custom section.
In the Custom Connector dialog box, configure the following parameters:
Parameter
Type
Required
Description
Name
Text input
Yes
The unique identifier of the custom connector. The name must start with a lowercase letter and can contain only lowercase letters, digits, and hyphens (-), with a maximum length of 64 characters. Example:
my-mcp-server.Description
Text input
No
A description of the capabilities that the connector provides.
Trust this service
Switch
No
If this option is enabled, tool calls from the connector require no confirmation in trusted working directories.
Input method
Selection
No
Manual Input (default) or JSON Parse. If you select JSON Parse, you can paste MCP configuration in JSON format without configuring individual parameters.
Transport method
Selection
Yes
STREAMABLE_HTTP (default), stdio, or SSE. The connection parameters vary by transport method. For more information, see the following tables.
The connection parameters of different transport methods are described as follows:
STREAMABLE_HTTP
Parameter
Required
Description
HTTP address
Yes
Endpoint address of the Streamable HTTP service. Example:
https://example.com/mcp.Request headers
No
One KEY=VALUE pair per line, for example,
Authorization=Bearer xxxx.stdio
Parameter
Required
Description
Command
Yes
Command that starts the service.
Arguments
No
Command arguments (string array).
Environment variables
No
Environment variables (key-value pairs).
Timeout
No
Connection timeout (in milliseconds).
SSE
Parameter
Required
Description
URL
Yes
Endpoint address of the SSE service.
Request headers
No
One KEY=VALUE pair per line, for example,
Authorization=Bearer xxxx.Timeout
No
Connection timeout (in milliseconds).
Click Save. If the self-built MCP service requires account authorization, complete
OAuthauthentication. If the connection fails, check the service address, transport parameters, and network connectivity, and try again.
Before you install a custom connector, make sure that the self-built MCP service is accessible from the current resource group and supports the selected transport method. If the service is deployed only on an internal network, establish network connectivity first.
Use connectors in tasks
After a connector is installed and authenticated, the tools and skills it provides can be called in conversation tasks:
Connectors that provide MCP tools (Alibaba Cloud service and custom connectors): enter
@in the task input box, select MCP Resources, and reference the tools and data sources provided by the corresponding connector.Connectors that provide command-line tools and accompanying skills (communication and collaboration): the accompanying skills are installed with the connector and can be viewed and managed on the page. Enter
/in the task input box, select and call the target skill, and the agent runs the task following the predefined process of the skill.
System capability connectors are used automatically by the agent in tasks after they are enabled, without manual referencing. For more information about referencing extension resources in tasks, see Extensions and open ecosystem.