Skip to content

Commit 187b578

Browse files
authored
Merge pull request #38 from devsapp/add-devops
fix: readme 使用中文
2 parents 488a82a + a002fa4 commit 187b578

File tree

4 files changed

+191
-342
lines changed

4 files changed

+191
-342
lines changed

start-mcp-aliyun-devops/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: aliyun-devops-mcp-server
4-
Version: 0.0.1
4+
Version: 0.0.2
55
Provider:
66
- 阿里云 # 取值内容参考:https://api.devsapp.cn/v3/common/args.html
77
Description: 阿里云云效 MCP 服务

start-mcp-aliyun-devops/readme.md

Lines changed: 95 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<description>
77

8-
devops mcp server
8+
阿里云云效 MCP 服务
99

1010
</description>
1111

@@ -53,102 +53,99 @@ devops mcp server
5353
<appdetail id="flushContent">
5454

5555
## alibabacloud-devops-mcp-server
56-
[![smithery badge](https://smithery.ai/badge/@aliyun/alibabacloud-devops-mcp-server)](https://smithery.ai/server/@aliyun/alibabacloud-devops-mcp-server)
57-
58-
[AlibabaCloud Devops](https://www.aliyun.com/product/yunxiao) 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.
59-
60-
### Features
61-
62-
alibabacloud-devops-mcp-server provides the following capabilities for AI assistants:
63-
64-
* **Code Repository Management**: Query code repositories and their branches, create branches
65-
* **File Operations**: Create, update, delete, and retrieve code file content
66-
* **Code Review**: Create and manage code review processes
67-
* **Project Management**: Search projects, get project details
68-
* **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
69-
* **Package Management**: Get package repository details list, Get artifacts details list, Get single artifact details
70-
71-
### Tools
72-
73-
alibabacloud-devops-mcp-server integrates various tools, including:
74-
75-
#### Organization
76-
- `get_current_organization_Info`: Get current user's organization information
77-
- `get_user_organizations`: Get the list of organizations the current user has joined
78-
79-
#### Code Management Tools
80-
81-
- `create_branch`: Create a branch
82-
- `delete_branch`: Delete a branch
83-
- `get_branch`: Get branch information
84-
- `list_branches`: Get branch list
85-
- `create_file`: Create a file
86-
- `delete_file`: Delete a file
87-
- `get_file_blobs`: Get file content
88-
- `list_files`: Query file tree
89-
- `update_file`: Update file content
90-
- `create_change_request`: Create a merge request
91-
- `create_change_request_comment`: Create a comment on a merge request
92-
- `get_change_request`: Query merge request
93-
- `list_change_request_patch_sets`: Query merge request version list
94-
- `list_change_request`: Query merge request list
95-
- `list_change_request_comments`: Query merge request comment list
96-
- `get_compare`: Compare code
97-
- `get_repository`: Get repository details
98-
- `list_repositories`: Get repository list
99-
100-
#### Project Management Tools
101-
102-
- `get_project`: Get project details
103-
- `search_projects`: Search projects
104-
- `get_work_item`: Get work item details
105-
- `search_workitems`: Search work items
106-
107-
#### Pipeline Management Tools
108-
109-
- `get_pipeline`: Get pipeline details
110-
- `list_pipelines`: Get pipeline list
111-
- `smart_list_pipelines`: Smart pipeline search with natural language time references
112-
- `create_pipeline_run`: Create a pipeline run instance
113-
- `get_latest_pipeline_run`: Get the latest pipeline run instance
114-
- `get_pipeline_run`: Get pipeline run details
115-
- `list_pipeline_runs`: Get pipeline run list
116-
- `list_pipeline_jobs_by_category`: Get pipeline execution tasks by category
117-
- `list_pipeline_job_historys`: Get the execution history of a pipeline task
118-
- `execute_pipeline_job_run`: Manually run a pipeline task
119-
- `get_pipeline_job_run_log`: Get the execution logs of a pipeline job
120-
- `list_service_connections`: List service connections in organization
121-
- `generate_pipeline_yaml`: Automatically generates YAML configuration
122-
- `create_pipeline_from_description`: Automatically generates YAML configuration and creates pipeline
123-
124-
#### Packages Management Tools
125-
126-
- `list_package_repositories`: Get package repositories details list
127-
- `list_artifacts`: Get artifacts details list
128-
- `get_artifact`: Get single artifact details
129-
130-
### Usage
131-
132-
#### Prerequisites
133-
* node version >= 16.0.0
134-
* [AlibabaCloud Devops](https://www.aliyun.com/product/yunxiao) Personal Access Token, [click here to obtain](https://help.aliyun.com/zh/yunxiao/developer-reference/obtain-personal-access-token). 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.
135-
136-
![The personal token authorization page](https://agent-install-beijing.oss-cn-beijing.aliyuncs.com/alibabacloud-devops-mcp-server/img_8.jpg)
137-
138-
#### Installing via Smithery
139-
140-
To install [AlibabaCloud DevOps](https://www.aliyun.com/product/yunxiao) Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@aliyun/alibabacloud-devops-mcp-server):
56+
[云效](https://www.aliyun.com/product/yunxiao)mcp-server工具为 AI 助手提供了与云效平台交互的能力,能够让 AI 助手可以读取项目中工作项的内容,在理解需求后自动编写代码,并提交代码合并请求。企业研发团队可以使用它协助代码审查、优化任务管理、减少重复性操作,从而专注于更重要的创新和产品交付。
57+
58+
### 功能特性
59+
60+
alibabacloud-devops-mcp-server提供了以下功能,让AI助手能够:
61+
62+
* **代码仓库管理**:查询代码仓库及其分支、创建分支
63+
* **文件操作**:创建、更新、删除和获取代码文件内容
64+
* **代码评审**:创建和管理代码评审流程
65+
* **项目管理**:搜索项目、获取项目详情
66+
* **流水线管理**:获取流水线详情、获取流水线列表、运行流水线、获取最近一次流水线运行信息、获取流水线运行实例、获取流水线运行实例列表、查询/运行流水线部署任务
67+
* **制品仓库管理**:查看制品仓库信息、查询制品信息、查看单个制品信息
68+
69+
### 工具列表
70+
71+
alibabacloud-devops-mcp-server集成了多种工具,包括:
72+
73+
#### 组织
74+
- `get_current_organization_Info`: 获取当前用户所在组织信息
75+
- `get_user_organizations`: 获取当前用户加入的组织列表
76+
77+
#### 代码管理工具
78+
79+
- `create_branch`: 创建分支
80+
- `delete_branch`: 删除分支
81+
- `get_branch`: 获取分支信息
82+
- `list_branches`: 获取分支列表
83+
- `create_file`: 创建文件
84+
- `delete_file`: 删除文件
85+
- `get_file_blobs`: 获取文件内容
86+
- `list_files`: 查询文件树
87+
- `update_file`: 更新文件内容
88+
- `create_change_request`: 创建合并请求
89+
- `create_change_request_comment`: 创建合并请求评论
90+
- `get_change_request`: 查询合并请求
91+
- `list_change_request_patch_sets`: 查询合并请求版本列表
92+
- `list_change_request`: 查询合并请求列表
93+
- `list_change_request_comments`: 查询合并请求评论列表
94+
- `get_compare`: 代码比较
95+
- `get_repository`: 获取仓库详情
96+
- `list_repositories`: 获取仓库列表
97+
98+
#### 项目管理工具
99+
100+
- `get_project`: 获取项目详情
101+
- `search_projects`: 搜索项目
102+
- `get_work_item`: 获取工作项详情
103+
- `search_workitems`: 搜索工作项
104+
105+
#### 流水线工具
106+
- `get_pipeline` - 获取流水线详情
107+
- `list_pipelines` - 获取流水线列表
108+
- `smart_list_pipelines` - 智能查询流水线(支持自然语言时间)
109+
- `create_pipeline_run` - 运行流水线
110+
- `get_latest_pipeline_run` - 获取最新运行信息
111+
- `get_pipeline_run` - 获取运行详情
112+
- `list_pipeline_runs` - 获取运行历史
113+
- `list_pipeline_jobs_by_category` - 获取流水线任务
114+
- `list_pipeline_job_historys` - 获取任务历史
115+
- `execute_pipeline_job_run` - 手动运行任务
116+
- `get_pipeline_job_run_log` - 获取任务日志
117+
- `list_service_connections` - 获取服务连接列表
118+
- `generate_pipeline_yaml`: 生成流水线 YAML
119+
- `create_pipeline_from_description`: 根据自然语言描述生成流水线 YAML 并创建流水线
120+
121+
#### 制品仓库工具
122+
123+
- `list_package_repositories`: 查看制品仓库信息
124+
- `list_artifacts`: 查询制品信息
125+
- `get_artifact`: 查看单个制品信息
126+
127+
### 用法
128+
129+
#### 先决条件
130+
* node 版本 >= 16.0.0
131+
* 阿里云[云效](https://www.aliyun.com/product/yunxiao)个人访问令牌,[点击前往](https://help.aliyun.com/zh/yunxiao/developer-reference/obtain-personal-access-token),授予组织管理、项目协作、代码管理、流水线、制品仓库、应用交付、测试管理下所有api的读写权限。令牌的到期时间注意选择一个长期有效的时间。
132+
133+
![个人令牌授权页面](https://agent-install-beijing.oss-cn-beijing.aliyuncs.com/alibabacloud-devops-mcp-server/img_8.jpg)
134+
135+
#### 在 Smithery.ai 中使用云效 MCP 服务
136+
137+
云效 MCP 服务已部署到 Smithery.ai 中,可以按照下列命令安装使用 [Smithery](https://smithery.ai/server/@aliyun/alibabacloud-devops-mcp-server):
141138

142139
```bash
143140
npx -y @smithery/cli install @aliyun/alibabacloud-devops-mcp-server --client claude
144141
```
145142

146-
#### Install Yunxiao MCP server via MCP marketplace
147-
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.
143+
#### 通过 MCP市场 安装[云效](https://www.aliyun.com/product/yunxiao) MCP 服务
144+
通义灵码内置的MCP市场中已经提供了云效的MCP服务,在通义灵码中进入MCP市场并且找到「云效DevOps」,直接安装即可。
148145

149-
![Install AlibabaCloud Devops MCP Service from the MCP Market](https://agent-install-beijing.oss-cn-beijing.aliyuncs.com/alibabacloud-devops-mcp-server/img_9.png)
146+
![MCP市场安装云效MCP服务](https://agent-install-beijing.oss-cn-beijing.aliyuncs.com/alibabacloud-devops-mcp-server/img_9.png)
150147

151-
#### Run MCP Server via NPX
148+
#### 通过 NPX 运行 MCP 服务器
152149
```json
153150
{
154151
"mcpServers": {
@@ -165,13 +162,12 @@ The MCP market built into Lingma (AlibabaCloud Tongyi Lingma) has already provid
165162
}
166163
}
167164
```
168-
169-
#### Run MCP Server via Docker Container
170-
1. Docker build
165+
#### 通过 Docker 容器运行 MCP 服务器
166+
1.Docker build
171167
```shell
172168
docker build -t alibabacloud/alibabacloud-devops-mcp-server .
173169
```
174-
2. Configure MCP Server
170+
2.配置 MCP 服务器
175171
```json
176172
{
177173
"mcpServers": {
@@ -193,10 +189,10 @@ docker build -t alibabacloud/alibabacloud-devops-mcp-server .
193189
}
194190
```
195191

196-
### Related Links
197-
- [AlibabaCloud DevOps](https://www.aliyun.com/product/yunxiao)
198-
- [MCP market](https://modelscope.cn/mcp/servers/@aliyun/alibabacloud-devops-mcp-server)
199-
- [Example Use Cases](https://mp.weixin.qq.com/s/KQsN6dQlnNeCNATC-QD7pg)
192+
### 相关链接
193+
- [阿里云云效](https://www.aliyun.com/product/yunxiao)
194+
- [MCP 市场](https://modelscope.cn/mcp/servers/@aliyun/alibabacloud-devops-mcp-server)
195+
- [使用场景示例](https://mp.weixin.qq.com/s/KQsN6dQlnNeCNATC-QD7pg)
200196

201197

202198
</appdetail>
@@ -211,12 +207,11 @@ docker build -t alibabacloud/alibabacloud-devops-mcp-server .
211207

212208
<usedetail id="flushContent">
213209

214-
### 步骤一
210+
215211
通过[FunctionAI MCP市场](https://cap.console.aliyun.com/mcp/274) 部署完成后,在集成向导中复制MCP Client的连接配置,准备好支持 SSE 的 MCP Client,通过 SSETransport 进行连接。
216212

217213
<img src="https://img.alicdn.com/imgextra/i4/O1CN01vbDOML1LI02jGV936_!!6000000001275-2-tps-1888-1446.png" alt="MCP Client" width="80%">
218214

219-
220215
</usedetail>
221216

222217

start-mcp-aliyun-devops/src/code/README.zh-ch.md

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)