AlibabaCloud DevOps MCP
Visit ProjectYunxiao MCP Server gives AI assistants the ability to interact with the Yunxiao DevOps platform.
Visit ProjectCategory
Tags
AlibabaCloud DevOps MCP Server
What is AlibabaCloud DevOps MCP Server?
The AlibabaCloud DevOps MCP Server is a tool that integrates with the Yunxiao DevOps platform to enable AI assistants to interact with development workflows. It allows assistants to read work items, create code based on requirements, and submit merge requests, helping development teams automate tasks, optimize workflows, and focus on innovation.
How to use AlibabaCloud DevOps MCP Server?
To use the MCP Server, follow these steps:
- Prerequisites: Install Node.js (v16.0.0 or later) and obtain an Aliyun DevOps Personal Access Token with appropriate permissions.
- Installation: Use Smithery CLI or the MCP marketplace to install the server.
- Configuration: Set up the server using either npx or Docker container with the required token.
- Usage: Leverage the provided APIs and tools to automate DevOps workflows.
Key Features of AlibabaCloud DevOps MCP Server
- Code Repository Management: Create, delete, and query branches.
- File Operations: Manage file creation, updates, and deletion.
- Code Review: Create and review code merge requests.
- Project Management: Search projects and manage work items.
- Pipeline Management: Create, query, and run pipeline tasks.
- Package Management: Retrieve package and artifact details.
- Organization Management: Query and manage organization roles, departments, and members.
Use Cases
- Automated Code Reviews: Use the MCP Server to automatically review code and submit merge requests.
- Workflow Optimization: Integrate AI-assisted task management to reduce repetitive operations.
- Pipeline Automation: Automate pipeline runs and monitor deployment tasks.
- Code Generation: Generate code based on requirements and integrate it into repositories.
FAQ from AlibabaCloud DevOps MCP Server
- What permissions are required for the Personal Access Token?
The token must grant read and write permissions to all APIs under organization management, project collaboration, code management, pipeline management, and more.
- How to install the MCP Server?
You can install it via Smithery CLI or the Aliyun MCP marketplace, or run it via Docker container.
- Is there a discussion group for support?
Yes, join the Alibaba Cloud Devops discussion group (ID: 134400004101) for support and questions.
- Can the MCP Server be used with Alibaba Cloud's Yuanma service?
Yes, it is integrated with the MCP market in Lingma (Alibaba Cloud's Yuanma), enabling easy installation.
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:
- Code Repository Management: Query code repositories and their branches, create branches
- File Operations: Create, update, delete, and retrieve code file content
- Code Review: Create and manage code review processes
- Project Management: Search projects, get project details
- Pipeline Management: Get pipeline details, get pipeline list, create a pipeline run instance, get the latest pipeline run instance, get pipeline run details, get pipeline run list, Query / Run a pipeline deployment task
- Package Management: Get package repository details list, Get artifacts details list, Get single artifact details
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_work_item
: Get work item detailssearch_workitems
: Search work itemsget_work_item_types
: get work item typescreate_work_item
: create work item
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.
Packages Management Tools
list_package_repositories
: Get package repositories details listlist_artifacts
: Get artifacts details listget_artifact
: Get single artifact details
Usage
Prerequisites
-
node version >= 16.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.
Installing via Smithery
To install AlibabaCloud DevOps Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @aliyun/alibabacloud-devops-mcp-server --client claude
Install Yunxiao MCP server 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.
Run MCP Server via NPX
{
"mcpServers": {
"yunxiao": {
"command": "npx",
"args": [
"-y",
"alibabacloud-devops-mcp-server"
],
"env": {
"YUNXIAO_ACCESS_TOKEN": "" } } } } ``` ### Run MCP Server via Docker Container 1. Docker build ```shell docker build -t alibabacloud/alibabacloud-devops-mcp-server . ``` 2. Configure MCP Server ```json { "mcpServers": { "yunxiao": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "YUNXIAO_ACCESS_TOKEN", "alibabacloud/alibabacloud-devops-mcp-server" ], "env": { "YUNXIAO_ACCESS_TOKEN": "" } } } } ``` ## Contact Us If you have any questions, please join the Alibaba Cloud Devops discussion group (134400004101) for discussion.  ## Related Links - [AlibabaCloud DevOps](https://www.aliyun.com/product/yunxiao) - [MCP market](https://modelscope.cn/mcp/servers/@aliyun/alibabacloud-devops-mcp-server) - [Example Use Cases](https://mp.weixin.qq.com/s/KQsN6dQlnNeCNATC-QD7pg)