AlibabaCloud DevOps MCP
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform.
alibabacloud-devops-mcp-server
AlibabaCloud Devops MCP Server provides AI assistants with the ability to interact with the Yunxiao platform, enabling them to read work item contents in projects, automatically write code after understanding requirements, and submit code merge requests. Enterprise development teams can use it to assist with code reviews, optimize task management, reduce repetitive operations, and thus focus on more important innovation and product delivery.
Features
alibabacloud-devops-mcp-server provides the following capabilities for AI assistants:
organization-management: Organization management tools (organization list, organization details, department information, organizational roles, member information, etc.)code-management: Code repository management tools (repository management, branch management, merge request management, file tree, etc.)project-management: Project management tools (project management, work item management, work item fields, work item comments, time tracking, etc.)pipeline-management: Pipeline management tools (pipeline list, pipeline configuration, resource management, tag management, deployment management, etc.)application-delivery: Application delivery tools (deployment order management, application management, application tags, variable group management, etc.)packages-management: Artifact repository management tools (artifact repositories, artifact lists, etc.)test-management: Test management tools (test case management, test case directories, test plans, test results, etc.)
Tools
alibabacloud-devops-mcp-server integrates various tools, including:
Organization Management
get_current_organization_Info: Get current user's organization informationget_user_organizations: Get the list of organizations the current user has joinedget_organization_role: Get information about an organization roleget_organization_departments: Get the list of departments in an organizationget_organization_department_info: Get information about a department in an organizationget_organization_department_ancestors: Get the ancestors of a department in an organizationget_organization_members: Get the list of members in an organizationget_organization_member_info: Get information about a member in an organizationget_organization_member_info_by_user_id: Get information about a member in an organization by user IDsearch_organization_members: Search for organization memberslist_organization_roles: List organization rolesget_organization_role: Get information about an organization role
Code Management Tools
create_branch: Create a branchdelete_branch: Delete a branchget_branch: Get branch informationlist_branches: Get branch listcreate_file: Create a filedelete_file: Delete a fileget_file_blobs: Get file contentlist_files: Query file treeupdate_file: Update file contentcreate_change_request: Create a merge requestcreate_change_request_comment: Create a comment on a merge requestget_change_request: Query merge requestlist_change_request_patch_sets: Query merge request version listlist_change_request: Query merge request listlist_change_request_comments: Query merge request comment listget_compare: Compare codeget_repository: Get repository detailslist_repositories: Get repository list
Project Management Tools
get_project: Get project detailssearch_projects: Search projectsget_sprint: Get sprint detailslist_sprints: List sprints in a projectget_work_item: Get work item detailssearch_workitems: Search work itemsget_work_item_types: get work item typescreate_work_item: create work itemlist_all_work_item_types: List all work item types in an organizationlist_work_item_types: List work item types in a project spaceget_work_item_type: Get details of a specific work item typelist_work_item_relation_work_item_types: List work item types that can be related to a specific work itemget_work_item_type_field_config: Get field configuration for a specific work item typeget_work_item_workflow: Get workflow information for a specific work item typelist_work_item_comments: List comments for a specific work itemcreate_work_item_comment: Create a comment for a specific work itemlist_current_user_effort_records: [Project Management] 获取用户的实际工时明细,结束时间和开始时间的间隔不能大于6个月list_effort_records: [Project Management] 获取实际工时明细create_effort_record: [Project Management] 登记实际工时list_estimated_efforts: [Project Management] 获取预计工时明细create_estimated_effort: [Project Management] 登记预计工时update_effort_record: [Project Management] 更新登记实际工时update_estimated_effort: [Project Management] 更新登记预计工时
Pipeline Management Tools
get_pipeline: Get pipeline detailslist_pipelines: Get pipeline listsmart_list_pipelines: Smart pipeline search with natural language time referencescreate_pipeline_run: Create a pipeline run instanceget_latest_pipeline_run: Get the latest pipeline run instanceget_pipeline_run: Get pipeline run detailslist_pipeline_runs: Get pipeline run listlist_pipeline_jobs_by_category: Get pipeline execution tasks by categorylist_pipeline_job_historys: Get the execution history of a pipeline taskexecute_pipeline_job_run: Manually run a pipeline taskget_pipeline_job_run_log: Get the execution logs of a pipeline joblist_service_connections: List service connections in organizationcreate_pipeline_from_description: Automatically generates YAML configuration and creates pipelineupdate_pipeline: Update an existing pipeline in Yunxiao by pipelineId. Use this to update pipeline YAML, stages, jobs, etc.create_resource_member: Create a resource memberdelete_resource_member: Delete a resource memberlist_resource_members: Get a list of resource membersupdate_resource_member: Update a resource memberupdate_resource_owner: Transfer resource ownercreate_tag: Create a tagcreate_tag_group: Create a tag grouplist_tag_groups: Get a list of tag groupsdelete_tag_group: Delete a tag groupupdate_tag_group: Update a tag groupget_tag_group: Get a tag groupdelete_tag: Delete a tagupdate_tag: Update a tagstop_vm_deploy_order: Stop VM deploy orderskip_vm_deploy_machine: Skip VM deploy machineretry_vm_deploy_machine: Retry VM deploy machineresume_vm_deploy_order: Resume VM deploy orderget_vm_deploy_order: Get VM deploy order detailsget_vm_deploy_machine_log: Get VM deploy machine log
Application Delivery Tools
create_change_order: [application delivery] 创建部署单list_change_order_versions: [application delivery] 查看部署单版本列表get_change_order: [application delivery] 读取部署单使用的物料和工单状态list_change_order_job_logs: [application delivery] 查询环境部署单日志find_task_operation_log: [application delivery] 查询部署任务执行日志,其中通常包含下游部署引擎的调度细节信息execute_job_action: [application delivery] 操作环境部署单list_change_orders_by_origin: [application delivery] 根据创建来源查询部署单create_appstack_change_request: [application delivery] 创建变更请求get_appstack_change_request_audit_items: [application delivery] 获取变更请求的审批项list_appstack_change_request_executions: [application delivery] 列出变更请求的执行记录list_appstack_change_request_work_items: [application delivery] 列出变更请求的工作项cancel_appstack_change_request: [application delivery] 取消变更请求close_appstack_change_request: [application delivery] 关闭变更请求list_applications: [application delivery] List applications in an organization with paginationget_application: [application delivery] Get application details by namecreate_application: [application delivery] Create a new applicationupdate_application: [application delivery] Update an existing applicationget_latest_orchestration: [application delivery] Get the latest orchestration for an environmentlist_app_orchestration: [application delivery] List application orchestrationscreate_app_orchestration: [application delivery] Create an application orchestrationdelete_app_orchestration: [application delivery] Delete an application orchestrationget_app_orchestration: [application delivery] Get an application orchestrationupdate_app_orchestration: [application delivery] Update an application orchestrationget_env_variable_groups: [application delivery] Get variable groups for an environmentcreate_variable_group: [application delivery] Create a variable groupdelete_variable_group: [application delivery] Delete a variable groupget_variable_group: [application delivery] Get a variable groupupdate_variable_group: [application delivery] Update a variable groupget_app_variable_groups: [application delivery] Get variable groups for an applicationget_app_variable_groups_revision: [application delivery] Get the revision of variable groups for an applicationsearch_app_templates: [application delivery] Search application templatescreate_app_tag: [application delivery] Create an application tagupdate_app_tag: [application delivery] Update an application tagsearch_app_tags: [application delivery] Search application tagsupdate_app_tag_bind: [application delivery] Update application tag bindingscreate_global_var: [application delivery] Create a global variable groupget_global_var: [application delivery] Get a global variable groupupdate_global_var: [application delivery] Update a global variable grouplist_global_vars: [application delivery] List global variable groupsget_machine_deploy_log: [application delivery] Get machine deployment logadd_host_list_to_host_group: [application delivery] Add host list to host groupadd_host_list_to_deploy_group: [application delivery] Add host list to deploy grouplist_app_release_workflows: [application delivery] List all release workflows for an applicationlist_app_release_workflow_briefs: [application delivery] List release workflow briefs for an applicationget_app_release_workflow_stage: [application delivery] Get release workflow stage detailslist_app_release_stage_briefs: [application delivery] List release stage briefsupdate_app_release_stage: [application delivery] Update application release workflow stagelist_app_release_stage_runs: [application delivery] List release stage execution recordsexecute_app_release_stage: [application delivery] Execute release workflow stage for a change requestcancel_app_release_stage_execution: [application delivery] Cancel release workflow stage executionretry_app_release_stage_pipeline: [application delivery] Retry release workflow stage pipelineskip_app_release_stage_pipeline: [application delivery] Skip release workflow stage pipelinelist_app_release_stage_execution_integrated_metadata: [application delivery] List integrated metadata for stage executionget_app_release_stage_pipeline_run: [application delivery] Get release stage pipeline run instancepass_app_release_stage_pipeline_validate: [application delivery] Pass release workflow stage validationget_app_release_stage_execution_pipeline_job_log: [application delivery] Get pipeline job execution logrefuse_app_release_stage_pipeline_validate: [application delivery] Refuse release workflow stage validation
Packages Management Tools
list_package_repositories: Get package repositories details listlist_artifacts: Get artifacts details listget_artifact: Get single artifact details
Test Management Tools
list_testcase_directories: [test management] Get test case directory listcreate_testcase_directory: [test management] Create a test case directoryget_testcase_field_config: [test management] Get test case field configurationcreate_testcase: [test management] Create a test casesearch_testcases: [test management] Search test casesget_testcase: [test management] Get test case informationdelete_testcase: [test management] Delete a test caselist_test_plans: [test management] Get test plan listget_test_result_list: [test management] Get test case list in a test planupdate_test_result: [test management] Update test result
Usage
Prerequisites
-
node version >= 18.0.0
-
AlibabaCloud Devops Personal Access Token, click here to obtain. Grant read and write permissions to all APIs under organization management, project collaboration, code management, pipeline management, artifact repository management, application delivery and testing management.

Quick Start (Recommended: Using Stdio Mode)
Stdio mode is the simplest and most common way, suitable for most MCP clients (like Cursor, Claude Desktop, iFlow, etc.). No Docker installation required, just run via npx.
Option 1: Direct Use via NPX (Simplest)
Add the following configuration to your MCP client configuration file:
{
"mcpServers": {
"yunxiao": {
"command": "npx",
"args": [
"-y",
"alibabacloud-devops-mcp-server"
],
"env": {
"YUNXIAO_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Note:
- Replace
<YOUR_TOKEN>with your Yunxiao access token- The
-yflag automatically confirms installation without manual confirmation- This method uses stdio mode, communicating with the MCP client via standard input/output
Option 2: Install via MCP Marketplace
The MCP market built into Lingma (AlibabaCloud Tongyi Lingma) has already provided the AlibabaCloud Devops MCP service. To install it, simply enter the MCP market in Lingma and search for "Yunxiao DevOps", then click install.
Using Docker (Optional)
If you need to run the MCP server using Docker, you can choose stdio mode or SSE mode.
Docker with Stdio Mode
This method is similar to using npx directly, but runs through a Docker container.
1. Get Docker Image
Option 1: Use Official Image (Recommended)
docker pull build-steps-public-registry.cn-beijing.cr.aliyuncs.com/build-steps/alibabacloud-devops-mcp-server:v0.2.0
Option 2: Build Your Own Image
docker build -t alibabacloud/alibabacloud-devops-mcp-server .
2. Configure MCP Client
Add the following to your MCP client configuration file:
{
"mcpServers": {
"yunxiao": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YUNXIAO_ACCESS_TOKEN",
"build-steps-public-registry.cn-beijing.cr.aliyuncs.com/build-steps/alibabacloud-devops-mcp-server:v0.2.0"
],
"env": {
"YUNXIAO_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Note:
- If using a self-built image, replace the image name with
alibabacloud/alibabacloud-devops-mcp-server- This method uses stdio mode, with the container communicating via standard input/output
Docker with SSE Mode
SSE mode provides service via HTTP, suitable for scenarios requiring independent service or multi-user support.
1. Start SSE Service
Using Official Image:
docker run -d --name yunxiao-mcp \
-p 3000:3000 \
-e YUNXIAO_ACCESS_TOKEN="your_token_here" \
-e PORT=3000 \
-e MCP_TRANSPORT=sse \
build-steps-public-registry.cn-beijing.cr.aliyuncs.com/build-steps/alibabacloud-devops-mcp-server:v0.2.0 \
node dist/index.js --sse
Using Self-Built Image:
docker run -d --name yunxiao-mcp \
-p 3000:3000 \
-e YUNXIAO_ACCESS_TOKEN="your_token_here" \
-e PORT=3000 \
-e MCP_TRANSPORT=sse \
alibabacloud/alibabacloud-devops-mcp-server \
node dist/index.js --sse
2. Configure MCP Client
Add the following to your MCP client configuration file:
{
"mcpServers": {
"yunxiao": {
"url": "http://localhost:3000/sse"
}
}
}
If you need to pass your own token when connecting (instead of using the default token from server startup):
{
"mcpServers": {
"yunxiao": {
"url": "http://localhost:3000/sse?yunxiao_access_token=YOUR_TOKEN_HERE"
}
}
}
3. Manage SSE Service
View logs:
docker logs -f yunxiao-mcp
Stop service:
docker stop yunxiao-mcp
Run SSE Mode via Docker Compose
- Environment Setup
cd alibabacloud-devops-mcp-server
cp .env.example .env
# Edit .env file and set YUNXIAO_ACCESS_TOKEN
- Start Service
docker compose up -d
- Configure MCP Client
{
"mcpServers": {
"yunxiao": {
"url": "http://localhost:3000/sse"
}
}
}
Advanced SSE Mode Configuration
Using Custom Tokens
In SSE mode, each user can pass their own token in the following ways:
- Via query parameter (Recommended):
http://localhost:3000/sse?yunxiao_access_token=USER_SPECIFIC_TOKEN
- Via request header:
x-yunxiao-token: USER_SPECIFIC_TOKEN
This allows multiple users to share the same SSE service while using their own individual tokens for authentication.
Configure SSE Mode in Codex
If your Yunxiao MCP server is already running in SSE mode at http://localhost:3000, you can configure it in Codex as follows:
Use default token (configured at server startup):
{
"mcpServers": {
"yunxiao": {
"url": "http://localhost:3000/sse"
}
}
}
Pass token in URL:
{
"mcpServers": {
"yunxiao": {
"url": "http://localhost:3000/sse?yunxiao_access_token=YOUR_TOKEN_HERE"
}
}
}
Toolsets
The server now supports toolsets, allowing you to enable only the tools you need. This can reduce the number of tools presented to the AI assistant and improve performance.
Available toolsets:
organization-management: Organization management tools (organization list, organization details, department information, organizational roles, member information, etc.)code-management: Code repository management tools (repository management, branch management, merge request management, file tree, etc.)project-management: Project management tools (project management, work item management, work item fields, work item comments, time tracking, etc.)pipeline-management: Pipeline management tools (pipeline list, pipeline configuration, resource management, tag management, deployment management, etc.)packages-management: Artifact repository management tools (artifact repositories, artifact lists, etc.)application-delivery: Application delivery tools (deployment order management, application management, application tags, variable group management, etc.)test-management: Test management tools (test case management, test case directories, test plans, test results, etc.)
To use toolsets, you can specify them via command line arguments or environment variables:
- Via command line argument:
npx -y alibabacloud-devops-mcp-server --toolsets=code-management,project-management
- Via environment variable:
DEVOPS_TOOLSETS=code-management,project-management npx -y alibabacloud-devops-mcp-server
If no toolsets are specified, all tools will be enabled by default.
Contact Us
Contact Us
If you have any questions, please join the Alibaba Cloud Devops discussion group (134400004101) for discussion.

Related Links
Related Servers
Hostinger
Official Hostinger API MCP server for services managment.
Pangea MCP Server
An MCP server for integrating with Pangea's security APIs, including Secure Audit Log.
Free USDC Transfer
Enables free USDC transfers on the Base network using a Coinbase CDP MPC Wallet.
SolarWinds Logs
Access and visualize logs from SolarWinds Observability.
招投标大数据服务
Provides cloud migration services, including asset usage analysis, technology stack evaluation, and migration planning.
Uberall MCP Server
Integrates with the Uberall API to manage business listings, locations, and social media presence.
AWS MCP Servers
A suite of MCP servers providing AI applications with access to AWS documentation, contextual guidance, and best practices.
Brex
Interact with the Brex API to manage financial data and resources.
Honeycomb MCP
Interact with Honeycomb observability data, including datasets, SLOs, and triggers.
Arc MCP Server
Simplifies framework deployments on various hosting environments, with a focus on shared hosting.