alibabacloud-devops-mcp-server
Advanced tools
Comparing version
@@ -61,3 +61,3 @@ #!/usr/bin/env node | ||
name: "create_branch", | ||
description: "Create a new branch in a Codeup repository", | ||
description: "[Code Management] Create a new branch in a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.CreateBranchSchema), | ||
@@ -67,3 +67,3 @@ }, | ||
name: "get_branch", | ||
description: "Get information about a branch in a Codeup repository", | ||
description: "[Code Management] Get information about a branch in a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.GetBranchSchema), | ||
@@ -73,3 +73,3 @@ }, | ||
name: "delete_branch", | ||
description: "Delete a branch from a Codeup repository", | ||
description: "[Code Management] Delete a branch from a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.DeleteBranchSchema), | ||
@@ -79,3 +79,3 @@ }, | ||
name: "list_branches", | ||
description: "List branches in a Codeup repository", | ||
description: "[Code Management] List branches in a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.ListBranchesSchema), | ||
@@ -86,3 +86,3 @@ }, | ||
name: "get_file_blobs", | ||
description: "Get file content from a Codeup repository", | ||
description: "[Code Management] Get file content from a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.GetFileBlobsSchema), | ||
@@ -92,3 +92,3 @@ }, | ||
name: "create_file", | ||
description: "Create a new file in a Codeup repository", | ||
description: "[Code Management] Create a new file in a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.CreateFileSchema), | ||
@@ -98,3 +98,3 @@ }, | ||
name: "update_file", | ||
description: "Update an existing file in a Codeup repository", | ||
description: "[Code Management] Update an existing file in a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.UpdateFileSchema), | ||
@@ -104,3 +104,3 @@ }, | ||
name: "delete_file", | ||
description: "Delete a file from a Codeup repository", | ||
description: "[Code Management] Delete a file from a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.DeleteFileSchema), | ||
@@ -110,3 +110,3 @@ }, | ||
name: "compare", | ||
description: "Query code to compare content", | ||
description: "[Code Management] Query code to compare content", | ||
inputSchema: zodToJsonSchema(types.GetCompareSchema), | ||
@@ -117,3 +117,3 @@ }, | ||
name: "get_repository", | ||
description: "Get information about a Codeup repository", | ||
description: "[Code Management] Get information about a Codeup repository", | ||
inputSchema: zodToJsonSchema(types.GetRepositorySchema), | ||
@@ -123,3 +123,9 @@ }, | ||
name: "list_repositories", | ||
description: "List repositories in an organization", | ||
description: "[Code Management] Get the CodeUp Repository List.\n" + | ||
"\n" + | ||
"A Repository serves as a unit for managing source code and is distinct from a Project.\n" + | ||
"\n" + | ||
"Use Case:\n" + | ||
"\n" + | ||
"View my repositories", | ||
inputSchema: zodToJsonSchema(types.ListRepositoriesSchema), | ||
@@ -130,3 +136,3 @@ }, | ||
name: "get_change_request", | ||
description: "Get information about a change request", | ||
description: "[Code Management] Get information about a change request", | ||
inputSchema: zodToJsonSchema(types.GetChangeRequestSchema), | ||
@@ -136,3 +142,3 @@ }, | ||
name: "list_change_requests", | ||
description: "List change requests", | ||
description: "[Code Management] List change requests", | ||
inputSchema: zodToJsonSchema(types.ListChangeRequestsSchema), | ||
@@ -142,3 +148,3 @@ }, | ||
name: "create_change_request", | ||
description: "Create a new change request", | ||
description: "[Code Management] Create a new change request", | ||
inputSchema: zodToJsonSchema(types.CreateChangeRequestSchema), | ||
@@ -148,3 +154,3 @@ }, | ||
name: "create_change_request_comment", | ||
description: "Create a comment on a change request", | ||
description: "[Code Management] Create a comment on a change request", | ||
inputSchema: zodToJsonSchema(types.CreateChangeRequestCommentSchema), | ||
@@ -154,3 +160,3 @@ }, | ||
name: "list_change_request_comments", | ||
description: "List comments on a change request", | ||
description: "[Code Management] List comments on a change request", | ||
inputSchema: zodToJsonSchema(types.ListChangeRequestCommentsSchema), | ||
@@ -160,3 +166,3 @@ }, | ||
name: "list_change_request_patch_sets", | ||
description: "List patch sets for a change request", | ||
description: "[Code Management] List patch sets for a change request", | ||
inputSchema: zodToJsonSchema(types.ListChangeRequestPatchSetsSchema), | ||
@@ -167,3 +173,3 @@ }, | ||
name: "get_current_organization_info", | ||
description: "Get information about the current user and organization based on the token", | ||
description: "Get information about the current user and organization based on the token. In the absence of an explicitly specified organization ID, this result will take precedence.", | ||
inputSchema: zodToJsonSchema(z.object({})), | ||
@@ -179,3 +185,3 @@ }, | ||
name: "get_project", | ||
description: "Get information about a project", | ||
description: "[Project Management] Get information about a Yunxiao project", | ||
inputSchema: zodToJsonSchema(types.GetProjectSchema), | ||
@@ -185,3 +191,8 @@ }, | ||
name: "search_projects", | ||
description: "Search projects with various filter conditions", | ||
description: "[Project Management] Search for Yunxiao Project List. A Project is a project management unit that includes work items and sprints, and it is different from a code repository (Repository).\n" + | ||
"\n" + | ||
"Use Cases:\n" + | ||
"\n" + | ||
"Query projects I am involved in\n" + | ||
"Query projects I have created", | ||
inputSchema: zodToJsonSchema(types.SearchProjectsSchema), | ||
@@ -203,3 +214,3 @@ }, | ||
name: "get_work_item", | ||
description: "Get information about a work item", | ||
description: "[Project Management] Get information about a work item", | ||
inputSchema: zodToJsonSchema(types.GetWorkItemSchema), | ||
@@ -209,3 +220,3 @@ }, | ||
name: "search_workitems", | ||
description: "Search work items with various filter conditions", | ||
description: "[Project Management] Search work items with various filter conditions", | ||
inputSchema: zodToJsonSchema(types.SearchWorkitemsSchema), | ||
@@ -216,3 +227,3 @@ }, | ||
name: "get_pipeline", | ||
description: "Get details of a specific pipeline in an organization", | ||
description: "[Pipeline Management] Get details of a specific pipeline in an organization", | ||
inputSchema: zodToJsonSchema(types.GetPipelineSchema), | ||
@@ -222,7 +233,7 @@ }, | ||
name: "list_pipelines", | ||
description: "Get a list of pipelines in an organization with filtering options", | ||
description: "[Pipeline Management] Get a list of pipelines in an organization with filtering options", | ||
inputSchema: zodToJsonSchema(types.ListPipelinesSchema), | ||
}, | ||
{ | ||
name: "smart_list_pipelines", | ||
name: "[Pipeline Management] smart_list_pipelines", | ||
description: "Intelligently search pipelines with natural language time references (e.g., 'today', 'this week')", | ||
@@ -239,3 +250,3 @@ inputSchema: zodToJsonSchema(z.object({ | ||
{ | ||
name: "create_pipeline_run", | ||
name: "[Pipeline Management] create_pipeline_run", | ||
description: "Run a pipeline with optional parameters", | ||
@@ -245,3 +256,3 @@ inputSchema: zodToJsonSchema(types.CreatePipelineRunSchema), | ||
{ | ||
name: "get_latest_pipeline_run", | ||
name: "[Pipeline Management] get_latest_pipeline_run", | ||
description: "Get information about the latest pipeline run", | ||
@@ -251,3 +262,3 @@ inputSchema: zodToJsonSchema(types.GetLatestPipelineRunSchema), | ||
{ | ||
name: "get_pipeline_run", | ||
name: "[Pipeline Management] get_pipeline_run", | ||
description: "Get details of a specific pipeline run instance", | ||
@@ -257,3 +268,3 @@ inputSchema: zodToJsonSchema(types.GetPipelineRunSchema), | ||
{ | ||
name: "list_pipeline_runs", | ||
name: "[Pipeline Management] list_pipeline_runs", | ||
description: "Get a list of pipeline run instances with filtering options", | ||
@@ -264,3 +275,3 @@ inputSchema: zodToJsonSchema(types.ListPipelineRunsSchema), | ||
{ | ||
name: "list_package_repositories", | ||
name: "[Packages Management] list_package_repositories", | ||
description: "List package repositories in an organization with filtering options", | ||
@@ -272,3 +283,3 @@ inputSchema: zodToJsonSchema(types.ListPackageRepositoriesSchema), | ||
name: "list_artifacts", | ||
description: "List artifacts in a repository with filtering options", | ||
description: "[Packages Management] List artifacts in a package repository with filtering options", | ||
inputSchema: zodToJsonSchema(types.ListArtifactsSchema), | ||
@@ -278,3 +289,3 @@ }, | ||
name: "get_artifact", | ||
description: "Get information about a single artifact in a repository", | ||
description: "[Packages Management] Get information about a single artifact in a package repository", | ||
inputSchema: zodToJsonSchema(types.GetArtifactSchema), | ||
@@ -281,0 +292,0 @@ } |
@@ -0,1 +1,10 @@ | ||
/** | ||
* 代码库(Repository)相关操作 | ||
* | ||
* 概念说明: | ||
* - 代码库(Repository)是云效平台中的代码管理单元,属于CodeUp产品 | ||
* - 代码库与项目(Project)是不同的概念,项目属于项目管理领域 | ||
* - 代码库用于存储和管理源代码,而项目用于管理工作项、迭代等 | ||
* - 请勿混淆这两个概念,它们是不同的资源类型 | ||
*/ | ||
import { yunxiaoRequest, buildUrl, handleRepositoryIdEncoding } from "../../common/utils.js"; | ||
@@ -2,0 +11,0 @@ import { RepositorySchema } from "../../common/types.js"; |
@@ -0,1 +1,9 @@ | ||
/** | ||
* 项目(Project)相关操作 | ||
* | ||
* 概念说明: | ||
* - 项目(Project)是云效平台中的项目管理单元,包含工作项、迭代等管理概念 | ||
* - 项目与代码库(Repository)是不同的概念,代码库属于CodeUp产品,用于代码管理 | ||
* - 一个项目可以关联多个代码库,但两者是不同的资源类型 | ||
*/ | ||
import { yunxiaoRequest } from "../../common/utils.js"; | ||
@@ -2,0 +10,0 @@ import { ProjectInfoSchema } from "../../common/types.js"; |
{ | ||
"name": "alibabacloud-devops-mcp-server", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"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", |
Sorry, the diff of this file is too big to display
186467
1.55%3319
1.1%