Category: service
Use Alibaba Cloud OpenAPI (RPC) with official SDKs, OpenAPI Explorer, or MCP Server to manage all DataWorks resources through a unified interface.
1) Confirm region, project/resource identifiers, and desired action.
2) Discover available APIs and required parameters (see references and scripts).
3) Call API via MCP Server, SDK, or OpenAPI Explorer.
4) Verify results with describe/list/get APIs.
1) Environment variables: ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID
Region policy: ALICLOUD_REGION_ID is an optional default. If unset, decide the most reasonable region for the task; if unclear, ask the user.
2) Shared config file: ~/.alibabacloud/credentials
dataworks-public2024-05-18https://dataworks.data.aliyun.com/pop-mcp-toolsThe MCP Server supports dynamic tool filtering via environment variables:
TOOL_CATEGORIES: Comma-separated category filter (e.g. DATA_DEVELOP,OPS_CENTER,DATA_QUALITY)TOOL_NAMES: Comma-separated API name filter (e.g. ListProjects,GetProject,CreateNode)Install and configure the MCP Server for direct AI agent access:
npm install -g alibabacloud-dataworks-mcp-server
MCP client configuration:
{
"mcpServers": {
"alibabacloud-dataworks-mcp-server": {
"command": "npx",
"args": ["alibabacloud-dataworks-mcp-server"],
"env": {
"REGION": "cn-shanghai",
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your_access_key_id",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your_access_key_secret"
}
}
}
}
The MCP Server dynamically loads tool definitions from the DataWorks metadata endpoint, so it always reflects the latest available APIs without hardcoding.
CreateNode / UpdateNode / DeleteNode / GetNode / ListNodesCreateResource / UpdateResource / GetResource / MoveResourceMoveFunctionCreateWorkflowDefinition / UpdateWorkflowDefinition / RenameWorkflowDefinition / DeleteWorkflowDefinitionListPipelineRuns / GetPipelineRunListWorkflows / ListWorkflowInstancesListTaskInstances / GetTaskInstance / UpdateTaskInstancesResumeTaskInstances / SuspendTaskInstances / StopTaskInstancesCreateAlertRule / UpdateAlertRule / DeleteAlertRuleListTables / GetColumn / ListColumnsGetDatabase / ListCatalogsListLineages / GetLineageRelationshipUpdateMetaCollection / DeleteMetaCollection / UpdateColumnBusinessMetadataCreateDataQualityRule / GetDataQualityRule / UpdateDataQualityRule / DeleteDataQualityRuleCreateDataQualityEvaluationTask / UpdateDataQualityEvaluationTask / AttachDataQualityRulesToEvaluationTaskGetProject / ListProjectsListProjectMembers / GetProjectMember / DeleteProjectMemberListProjectRoles / GetProjectRole / GrantMemberProjectRolesGetDIJob / DeleteDIAlarmRuleGetDataSource / DeleteDataSourceGetResourceGroup / GetNetwork / GetRoute / ListNetworksUse metadata-first discovery before calling business APIs:
python scripts/list_openapi_meta_apis.py
Optional overrides:
python scripts/list_openapi_meta_apis.py --product-code dataworks-public --version 2024-05-18
The script writes API inventory artifacts under the skill output directory.
Before executing delete, stop, or suspend operations, always summarize the affected resources and confirm with the user.
DataWorks APIs use millisecond timestamps. Convert between human-readable dates and timestamps as needed.
If you need to save responses or generated artifacts, write them under:
output/alicloud-dataworks/
cn-shanghai, cn-beijing, cn-hangzhou, cn-shenzhen)references/mcp_server.mdreferences/sources.md共 1 个版本