alibabacloud-devops-mcp-server
Advanced tools
Comparing version
@@ -17,2 +17,3 @@ #!/usr/bin/env node | ||
import * as pipeline from './operations/flow/pipeline.js'; | ||
import * as pipelineJob from './operations/flow/pipelineJob.js'; | ||
import * as packageRepositories from './operations/packages/repositories.js'; | ||
@@ -246,2 +247,22 @@ import * as artifacts from './operations/packages/artifacts.js'; | ||
}, | ||
{ | ||
name: "list_pipeline_jobs_by_category", | ||
description: "[Pipeline Management] Get pipeline execution tasks by category. Currently only supports DEPLOY category.", | ||
inputSchema: zodToJsonSchema(types.ListPipelineJobsByCategorySchema), | ||
}, | ||
{ | ||
name: "list_pipeline_job_historys", | ||
description: "[Pipeline Management] Get the execution history of a pipeline task. Retrieve all execution records for a specific task in a pipeline.", | ||
inputSchema: zodToJsonSchema(types.ListPipelineJobHistorysSchema), | ||
}, | ||
{ | ||
name: "execute_pipeline_job_run", | ||
description: "[Pipeline Management] Manually run a pipeline task. Start a specific job in a pipeline run instance.", | ||
inputSchema: zodToJsonSchema(types.ExecutePipelineJobRunSchema), | ||
}, | ||
{ | ||
name: "get_pipeline_job_run_log", | ||
description: "[Pipeline Management] Get the execution logs of a pipeline job. Retrieve the log content for a specific job in a pipeline run.", | ||
inputSchema: zodToJsonSchema(types.GetPipelineJobRunLogSchema), | ||
}, | ||
// Package Repository Operations | ||
@@ -560,2 +581,30 @@ { | ||
} | ||
case "list_pipeline_jobs_by_category": { | ||
const args = types.ListPipelineJobsByCategorySchema.parse(request.params.arguments); | ||
const jobs = await pipelineJob.listPipelineJobsByCategoryFunc(args.organizationId, args.pipelineId, args.category); | ||
return { | ||
content: [{ type: "text", text: JSON.stringify(jobs, null, 2) }], | ||
}; | ||
} | ||
case "list_pipeline_job_historys": { | ||
const args = types.ListPipelineJobHistorysSchema.parse(request.params.arguments); | ||
const jobHistorys = await pipelineJob.listPipelineJobHistorysFunc(args.organizationId, args.pipelineId, args.category, args.identifier, args.page, args.perPage); | ||
return { | ||
content: [{ type: "text", text: JSON.stringify(jobHistorys, null, 2) }], | ||
}; | ||
} | ||
case "execute_pipeline_job_run": { | ||
const args = types.ExecutePipelineJobRunSchema.parse(request.params.arguments); | ||
const result = await pipelineJob.executePipelineJobRunFunc(args.organizationId, args.pipelineId, args.pipelineRunId, args.jobId); | ||
return { | ||
content: [{ type: "text", text: JSON.stringify(result, null, 2) }], | ||
}; | ||
} | ||
case "get_pipeline_job_run_log": { | ||
const args = types.GetPipelineJobRunLogSchema.parse(request.params.arguments); | ||
const log = await pipelineJob.getPipelineJobRunLogFunc(args.organizationId, args.pipelineId, args.pipelineRunId, args.jobId); | ||
return { | ||
content: [{ type: "text", text: JSON.stringify(log, null, 2) }], | ||
}; | ||
} | ||
// Package Repository Operations | ||
@@ -562,0 +611,0 @@ case "list_package_repositories": { |
{ | ||
"name": "alibabacloud-devops-mcp-server", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "MCP Server for using the alibabacloud-devops API: allows AI assistants to directly participate in development collaboration, helping teams optimize development processes and improve efficiency.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -12,2 +12,4 @@ # alibabacloud-devops-mcp-server | ||
* **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 | ||
@@ -58,2 +60,6 @@ ## Tools | ||
- `list_pipeline_runs`: Get pipeline run list | ||
- `list_pipeline_jobs_by_category`: Get pipeline execution tasks by category | ||
- `list_pipeline_job_historys`: Get the execution history of a pipeline task | ||
- `execute_pipeline_job_run`: Manually run a pipeline task | ||
- `get_pipeline_job_run_log`: Get the execution logs of a pipeline job | ||
@@ -60,0 +66,0 @@ ### Packages Management Tools |
@@ -12,2 +12,4 @@ # alibabacloud-devops-mcp-server | ||
* **项目管理**:搜索项目、获取项目详情 | ||
* **流水线管理**:获取流水线详情、获取流水线列表、运行流水线、获取最近一次流水线运行信息、获取流水线运行实例、获取流水线运行实例列表、查询/运行流水线部署任务 | ||
* **制品仓库管理**:查看制品仓库信息、查询制品信息、查看单个制品信息 | ||
@@ -58,2 +60,6 @@ ## 工具列表 | ||
- `list_pipeline_runs`: 获取流水线运行实例列表 | ||
- `list_pipeline_jobs_by_category`: 按任务分类获取流水线执行的任务 | ||
- `list_pipeline_job_historys`: 获取流水线任务的执行历史 | ||
- `execute_pipeline_job_run`: 手动运行流水线任务 | ||
- `get_pipeline_job_run_log`: 查询流水线任务运行日志 | ||
@@ -60,0 +66,0 @@ ### 制品仓库工具 |
Sorry, the diff of this file is too big to display
197928
6.15%23
4.55%3524
6.18%132
4.76%