Alibaba Cloud Yunxiao DevOps MCP Server
This is the MCP Server Skill for the Alibaba Cloud Yunxiao DevOps platform, providing a comprehensive DevOps toolset, including capabilities such as code management, project management, pipeline management, application delivery, artifact management, and test management.
Progressive Disclosure Mode
This Skill uses a progressive disclosure mode, obtaining tool details and invoking tools on demand.
View Tool List and Parameters
Get all tools and their detailed parameter information:
npx -y mcporter list --stdio "npx -y alibabacloud-devops-mcp-server" --schema
If the server is already configured, you can also use it directly:
npx -y mcporter list yunxiao --schema
Invoke Tool
Pass parameters using key:value or key=value format:
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" <tool_name> param1:"value1" param2:"value2"
Example:
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" list_repositories organizationId:"your-org-id"
Environment Variable Configuration
The MCP Server requires the following environment variables to be configured:
YUNXIAO_ACCESS_TOKEN: Yunxiao access token (required)
Can be passed via the --env parameter:
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" --env YUNXIAO_ACCESS_TOKEN=your-token <tool_name> ...
Tool List
A total of 203 tools, categorized by function as follows:
Base Tools (Base)
| Tool Name |
Description |
get_current_organization_info |
Get current user and organization information (based on token) |
get_user_organizations |
Get the list of organizations the current user belongs to |
get_current_user |
Get current user information (based on token) |
Code Management
Branch Management
| Tool Name |
Description |
create_branch |
Create a code repository branch |
get_branch |
Get branch information |
delete_branch |
Delete branch |
list_branches |
List all branches in the repository |
File Operations
| Tool Name |
Description |
get_file_blobs |
Get file content |
create_file |
Create a new file |
update_file |
Update file content |
delete_file |
Delete file |
list_files |
List files in a directory |
compare |
Code comparison |
Repository Management
| Tool Name |
Description |
get_repository |
Get repository details |
list_repositories |
List code repositories |
Change Request (Merge Request)
| Tool Name |
Description |
get_change_request |
Get change request details |
list_change_requests |
List change requests |
create_change_request |
Create a change request |
update_change_request |
Update change request title or description |
review_change_request |
Review change request (submit PASS / NOT_PASS comments) |
merge_change_request |
Merge change request (ff-only / no-fast-forward / squash / rebase) |
create_change_request_comment |
Create change request comment |
list_change_request_comments |
List change request comments |
update_change_request_comment |
Update change request comment |
list_change_request_patch_sets |
List patch sets of a change request |
Commit History
| Tool Name |
Description |
list_commits |
List commit history |
get_commit |
Get commit details |
create_commit_comment |
Create commit comment |
Organization Management (Organization)
Department Management
| Tool Name |
Description |
list_organization_departments |
List organization departments |
get_organization_department_info |
Get department information |
get_organization_department_ancestors |
Get the chain of parent departments for a department |
Member Management
| Tool Name |
Description |
list_organization_members |
List organization members |
get_organization_member_info |
Get member information |
get_organization_member_info_by_user_id |
Get member information by user ID |
search_organization_members |
Search organization members |
Role Management
| Tool Name |
Description |
list_organization_roles |
List organization roles |
get_organization_role |
Get role details |
Project Management
Projects and Programs
| Tool Name |
Description |
get_project |
Get project details |
search_projects |
Search projects |
search_programs |
Search programs |
list_program_versions |
List program versions |
Version Management
| Tool Name |
Description |
list_versions |
List versions |
create_version |
Create version |
update_version |
Update version |
delete_version |
Delete version |
Sprint Management
| Tool Name |
Description |
get_sprint |
Get sprint details |
list_sprints |
List sprints |
create_sprint |
Create sprint |
update_sprint |
Update sprint |
Work Item Management
| Tool Name |
Description |
get_work_item |
Get work item details |
create_work_item |
Create work item |
search_workitems |
Search work items |
update_work_item |
Update work item |
get_work_item_types |
Get work item type list |
list_all_work_item_types |
List all work item types |
list_work_item_types |
List work item types |
get_work_item_type |
Get work item type details |
list_work_item_relation_work_item_types |
List work item types associated with a work item |
list_workitem_relation_records |
Query work item association records |
create_workitem_relation_record |
Create work item association |
delete_workitem_relation_record |
Delete work item association |
get_work_item_type_field_config |
Get work item type field configuration |
get_work_item_workflow |
Get work item workflow |
list_work_item_comments |
List work item comments |
create_work_item_comment |
Create work item comment |
list_workitem_attachments |
List work item attachments |
get_workitem_file |
Get work item attachment file |
create_workitem_attachment |
Create work item attachment |
Effort Management
| Tool Name |
Description |
list_current_user_effort_records |
List the current user's effort records |
list_effort_records |
List effort records |
create_effort_record |
Create effort record |
update_effort_record |
Update effort record |
list_estimated_efforts |
List estimated efforts |
create_estimated_effort |
Create estimated effort |
update_estimated_effort |
Update estimated effort |
Pipeline Management
Basic Pipeline Operations
| Tool Name |
Description |
get_pipeline |
Get pipeline details |
list_pipelines |
List pipelines |
smart_list_pipelines |
Smart search pipelines (supports natural language time) |
update_pipeline |
Update pipeline configuration |
Pipeline Generation
| Tool Name |
Description |
generate_pipeline_yaml |
Generate pipeline YAML configuration |
create_pipeline_from_description |
Create pipeline based on description |
Pipeline Runs
| Tool Name |
Description |
create_pipeline_run |
Run pipeline |
get_latest_pipeline_run |
Get the most recent run record |
get_pipeline_run |
Get run record details |
list_pipeline_runs |
List run records |
Pipeline Tasks
| Tool Name |
Description |
list_pipeline_jobs_by_category |
List pipeline tasks by category |
list_pipeline_job_historys |
List task execution history |
execute_pipeline_job_run |
Manually execute pipeline tasks |
get_pipeline_job_run_log |
Get task execution logs |
Service Connections
| Tool Name |
Description |
list_service_connections |
List service connections |
Resource Member Management (Resource Member)
| Tool Name |
Description |
list_resource_members |
List resource members |
create_resource_member |
Add resource member |
update_resource_member |
Update resource member |
delete_resource_member |
Delete resource member |
update_resource_owner |
Transfer resource owner |
Host Deployment (VM Deploy)
| Tool Name |
Description |
get_vm_deploy_order |
Get host deployment order details |
stop_vm_deploy_order |
Stop host deployment |
resume_vm_deploy_order |
Resume host deployment |
skip_vm_deploy_machine |
Skip deployment on specified machines |
retry_vm_deploy_machine |
Retry deployment on specified machines |
get_vm_deploy_machine_log |
Get machine deployment logs |
Artifact Management (Packages)
| Tool Name |
Description |
list_package_repositories |
List artifact repositories |
list_artifacts |
List artifacts |
get_artifact |
Get artifact details |
Application Delivery
Application Management
| Tool Name |
Description |
list_applications |
List applications |
get_application |
Get application details |
create_application |
Create application |
update_application |
Update application |
Application Tags
| Tool Name |
Description |
create_app_tag |
Create application tag |
update_app_tag |
Update application tag |
search_app_tags |
Search application tags |
update_app_tag_bind |
Update application tag binding |
Application Templates
| Tool Name |
Description |
search_app_templates |
Search application templates |
Global Variables
| Tool Name |
Description |
create_global_var |
Create global variable group |
get_global_var |
Get global variable group |
update_global_var |
Update global variable group |
list_global_vars |
List global variable groups |
Variable Group Management
| Tool Name |
Description |
get_env_variable_groups |
Get environment variable group |
create_variable_group |
Create variable group |
delete_variable_group |
Delete variable group |
get_variable_group |
Get variable group |
update_variable_group |
Update variable group |
get_app_variable_groups |
Get application variable group |
get_app_variable_groups_revision |
Get application variable group version |
Orchestration Management
| Tool Name |
Description |
get_latest_orchestration |
Get latest orchestration |
list_app_orchestration |
List application orchestrations |
create_app_orchestration |
Create application orchestration |
delete_app_orchestration |
Delete application orchestration |
get_app_orchestration |
Get application orchestration |
update_app_orchestration |
Update application orchestration |
Change Requests
| Tool Name |
Description |
create_appstack_change_request |
Create change request |
get_appstack_change_request_audit_items |
Get change request approval items |
list_appstack_change_request_executions |
List change request execution records |
list_appstack_change_request_work_items |
List work items associated with change requests |
cancel_appstack_change_request |
Cancel change request |
close_appstack_change_request |
Close change request |
Deployment Management
| Tool name |
Description |
get_machine_deploy_log |
Get machine deployment logs |
add_host_list_to_host_group |
Add host to host group |
add_host_list_to_deploy_group |
Add host to deployment group |
Deployment Order Management
| Tool name |
Description |
create_change_order |
Create deployment order |
list_change_order_versions |
View deployment order version list |
get_change_order |
Get deployment order details |
list_change_order_job_logs |
Query deployment order logs |
find_task_operation_log |
Query deployment task execution logs |
execute_job_action |
Operate deployment order |
list_change_orders_by_origin |
Query deployment orders by source |
Release Process Management
| Tool name |
Description |
list_app_release_workflows |
Query application release process |
list_app_release_workflow_briefs |
Query release process summary |
get_app_release_workflow_stage |
Get release process stage details |
list_app_release_stage_briefs |
Query release stage summary list |
update_app_release_stage |
Update release process stage |
list_app_release_stage_runs |
Query release stage execution records |
execute_app_release_stage |
Execute release process stage |
cancel_app_release_stage_execution |
Cancel release stage execution |
retry_app_release_stage_pipeline |
Retry release stage pipeline |
skip_app_release_stage_pipeline |
Skip release stage pipeline |
list_app_release_stage_metadata |
Query release stage integration change information |
get_app_release_stage_pipeline_run |
Get release stage pipeline run instance |
pass_app_release_stage_validate |
Pass release stage validation |
get_app_release_stage_job_log |
Query release stage task logs |
refuse_app_release_stage_validate |
Reject release stage validation |
Test Management
Test Cases
| Tool name |
Description |
list_testcase_directories |
Get test case directory list |
create_testcase_directory |
Create test case directory |
get_testcase_field_config |
Get test case field configuration |
create_testcase |
Create test case |
search_testcases |
Search test cases |
get_testcase |
Get test case information |
delete_testcase |
Delete test case |
Test Plans
| Tool name |
Description |
list_test_plans |
Get test plan list |
get_test_result_list |
Get case list in test plan |
update_test_result |
Update test results |
Common Workflow Examples
1. Code Review Workflow
View pending change requests and add comments:
# 1. 获取当前组织信息
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" get_current_organization_info
# 2. 列出待审核的变更请求
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" list_change_requests organizationId:"your-org-id" repositoryId:"your-repo-id" state:"opened"
# 3. 获取变更请求详情
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" get_change_request organizationId:"your-org-id" repositoryId:"your-repo-id" localId:"123"
# 4. 添加审查评论
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" create_change_request_comment organizationId:"your-org-id" repositoryId:"your-repo-id" localId:"123" commentType:"GLOBAL_COMMENT" content:"LGTM! Code looks good."
2. Pipeline Run Workflow
Run pipeline and view execution results:
# 1. 列出可用的流水线
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" list_pipelines organizationId:"your-org-id"
# 2. 运行流水线(使用指定分支)
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" create_pipeline_run organizationId:"your-org-id" pipelineId:"123456" branch:"main"
# 3. 获取最近一次运行状态
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" get_latest_pipeline_run organizationId:"your-org-id" pipelineId:"123456"
# 4. 查看任务执行日志
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" get_pipeline_job_run_log organizationId:"your-org-id" pipelineId:"123456" pipelineRunId:"789" jobId:"job-1"
3. Project Management Workflow
Create work items and track progress:
# 1. 搜索项目
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" search_projects organizationId:"your-org-id" keyword:"my-project"
# 2. 创建工作项(需求/任务/缺陷)
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" create_work_item organizationId:"your-org-id" workitemTypeId:"type-id" subject:"实现新功能"
# 3. 搜索工作项
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" search_workitems organizationId:"your-org-id" projectId:"project-id"
# 4. 更新工作项状态
npx -y mcporter call --stdio "npx -y alibabacloud-devops-mcp-server" update_work_item organizationId:"your-org-id" workitemId:"workitem-id" updateType:"STATUS"
Related Resources