Install
$ agentstack add mcp-aliyun-alibabacloud-devops-mcp-server ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
English | 中文
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.)
Usage
Region Edition Support
This tool supports both Yunxiao central station and Region edition deployment modes:
- Central Station: Uses
https://openapi-rdc.aliyuncs.comas the API domain - Region Edition: Uses organization-specific domains, such as
https://your-org.devops.aliyuncs.com
Automatic Mode Detection
The tool automatically determines the deployment mode based on the configured API base URL:
- If the URL contains
openapi-rdc.aliyuncs.com, it operates in central station mode - Otherwise, it operates in region edition mode
Configuring Region Edition
When using a Region edition, set the YUNXIAO_API_BASE_URL environment variable:
{
"mcpServers": {
"yunxiao": {
"command": "npx",
"args": ["-y", "alibabacloud-devops-mcp-server"],
"env": {
"YUNXIAO_ACCESS_TOKEN": "",
"YUNXIAO_API_BASE_URL": "https://your-org.devops.aliyuncs.com"
}
}
}
}
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": ""
}
}
}
}
> Note: > - Replace ` with your Yunxiao access token > - The -y flag automatically confirms installation without manual confirmation > - By default the tool calls the Yunxiao Central Station OpenAPI (https://openapi-rdc.aliyuncs.com); no extra configuration is required > - If you are on a **Region edition** (organization-specific domain), set an additional environment variable YUNXIAOAPIBASE_URL to your Yunxiao instance URL, e.g. https://your-org.devops.aliyuncs.com`. See the [Configuring Region Edition](#configuring-region-edition) section above for details > - 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)
Transport Modes
| Mode | CLI Flag | Env Variable | Endpoints | |------|----------|-------------|----------| | Stdio | (default) | — | stdin/stdout | | SSE | --sse | MCP_TRANSPORT=sse | /sse + /messages | | Streamable HTTP | --streamable-http | MCP_TRANSPORT=streamable-http | /mcp | | Both | --sse --streamable-http | MCP_TRANSPORT=both | /sse + /mcp |
> Streamable HTTP is the MCP specification's recommended remote transport. SSE is legacy; use both during migration.
1. Pull Image
docker pull build-steps-public-registry.cn-beijing.cr.aliyuncs.com/build-steps/alibabacloud-devops-mcp-server:latest
> Self-built: docker build -t alibabacloud/alibabacloud-devops-mcp-server .
2. Start Server
Stdio:
docker run -i --rm -e YUNXIAO_ACCESS_TOKEN \
build-steps-public-registry.cn-beijing.cr.aliyuncs.com/build-steps/alibabacloud-devops-mcp-server:latest
SSE / Streamable HTTP / Both — set MCP_TRANSPORT and expose PORT:
docker run -d --name yunxiao-mcp -p 3000:3000 \
-e YUNXIAO_ACCESS_TOKEN="your_token" -e PORT=3000 \
-e MCP_TRANSPORT=streamable-http \ # sse | streamable-http | both
build-steps-public-registry.cn-beijing.cr.aliyuncs.com/build-steps/alibabacloud-devops-mcp-server:latest
Optional Streamable HTTP env vars:
MCP_STREAMABLE_PATH: MCP endpoint path (default/mcp)MCP_HTTP_HOST: Bind host (default0.0.0.0)MCP_ALLOWED_HOSTS: AllowedHostheader values (comma-separated)
3. Configure MCP Client
Stdio:
{
"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:latest"],
"env": { "YUNXIAO_ACCESS_TOKEN": "" }
}
}
}
SSE: http://localhost:3000/sse
Streamable HTTP: http://localhost:3000/mcp
Pass credentials via query parameter or header:
http://localhost:3000/mcp?yunxiao_access_token=YOUR_TOKEN_HERE
Or request header: x-yunxiao-token: YOUR_TOKEN_HERE
Region / instance OpenAPI base:
http://localhost:3000/mcp?yunxiao_access_token=TOKEN&yunxiao_api_base_url=https%3A%2F%2Fyour-org.devops.aliyuncs.com
Or request header: x-yunxiao-api-base-url: https://your-org.devops.aliyuncs.com
Docker Compose
cp .env.example .env # set YUNXIAO_ACCESS_TOKEN
docker compose up -d
Client URL: http://localhost:3000/sse (SSE) or http://localhost:3000/mcp (Streamable HTTP)
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.
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 listlist_commits: [Code Management] List commits in a repositoryget_commit: [Code Management] Get commit detailscreate_commit_comment: [Code Management] Create a comment on a commit
Project Management Tools
get_project: Get project detailssearch_projects: Search projectsget_sprint: Get sprint detailslist_sprints: List sprints in a projectcreate_sprint: [Project Management] Create a sprintupdate_sprint: [Project Management] Update a sprintsearch_programs: [Project Management] Search for programslist_program_versions: [Project Management] List program versionslist_versions: [Project Management] List project versionscreate_version: [Project Management] Create a versionupdate_version: [Project Management] Update a versiondelete_version: [Project Management] Delete a versionget_work_item: Get work item detailsupdate_work_item: [Project Management] Update a work itemsearch_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_workitem_attachments: List attachments for a specific work itemget_workitem_file: Get file information for a specific work item attachmentcreate_workitem_attachment: Upload a local file as an attachment to a work itemlist_workitem_activities: List activity history for a work item (field changes, status transitions, association changes)list_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 referencesgenerate_pipeline_yaml: [Pipeline Management] Generate pipeline YAML configurationcreate_pipeline_from_description: Create a pipeline from natural language descriptionupdate_pipeline: [Pipeline Management] Update pipeline YAML contentcreate_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 del
…
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: aliyun
- Source: aliyun/alibabacloud-devops-mcp-server
- License: Apache-2.0
- Homepage: https://devops.aliyun.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.