Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort number for SSE mode (only applicable when using SSE transport)3000
MCP_TRANSPORTNoTransport mode for MCP server (sse for SSE mode, stdio for standard input/output mode)stdio
DEVOPS_TOOLSETSNoComma-separated list of toolsets to enable. Available toolsets: organization-management, code-management, project-management, pipeline-management, packages-management, application-delivery, test-management. If not specified, all tools will be enabled by default.
YUNXIAO_ACCESS_TOKENYesYour AlibabaCloud Devops (Yunxiao) 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.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_current_organization_info

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.

get_user_organizations

Get the list of organizations the current user belongs to

get_current_user

Get information about the current user based on the token. In the absence of an explicitly specified user ID, this result will take precedence.

list_organization_departments

Get the list of departments in an organization

get_organization_department_info

Get information about a department in an organization

get_organization_department_ancestors

Get the ancestors of a department in an organization

list_organization_members

list user members in an organization

get_organization_member_info

Get information about a member in an organization

get_organization_member_info_by_user_id

Get information about a member in an organization by user ID

search_organization_members

[Organization Management] Search for organization members

list_organization_roles

[Organization Management] List organization roles

get_organization_role

[Organization Management] Get information about an organization role

create_branch

[Code Management] Create a new branch in a Codeup repository

get_branch

[Code Management] Get information about a branch in a Codeup repository

delete_branch

[Code Management] Delete a branch from a Codeup repository

list_branches

[Code Management] List branches in a Codeup repository

get_file_blobs

[Code Management] Get file content from a Codeup repository

create_file

[Code Management] Create a new file in a Codeup repository

update_file

[Code Management] Update an existing file in a Codeup repository

delete_file

[Code Management] Delete a file from a Codeup repository

list_files

[Code Management] List file tree from a Codeup repository

compare

[Code Management] Query code to compare content

get_repository

[Code Management] Get information about a Codeup repository

list_repositories

[Code Management] Get the CodeUp Repository List.

A Repository serves as a unit for managing source code and is distinct from a Project.

Use Case:

View my repositories

create_repository

[Code Management] Create a new Codeup repository.

Creates an empty code repository that can then be pushed to via git.

Use Cases:

Create a new repository for a project

get_change_request

[Code Management] Get detailed information about a specific change request (merge request) by its local ID.

list_change_requests

[Code Management] List change requests with multi-condition filtering, pagination and sorting. Supports filtering by repository, author, reviewer, state (opened/merged/closed), search keywords, and creation time range.

create_change_request

[Code Management] Create a new change request (merge request). Supports specifying source/target branches, reviewers, associated work items, and optional AI review trigger.

create_change_request_comment

[Code Management] Create a comment on a change request. Supports two types: GLOBAL_COMMENT (global comment on the entire merge request) and INLINE_COMMENT (inline comment on specific code lines). For INLINE_COMMENT, you must provide file_path, line_number, from_patchset_biz_id, and to_patchset_biz_id parameters.

list_change_request_comments

[Code Management] List comments on a change request. Supports filtering by comment type (GLOBAL_COMMENT or INLINE_COMMENT), state (OPENED or DRAFT), resolved status, and file path (for inline comments).

update_change_request_comment

[Code Management] Update a comment on a change request. Can update the comment content and/or resolved status.

list_change_request_patch_sets

[Code Management] List patch sets (versions) for a change request. Patch sets represent different versions of the merge request as it evolves.

list_commits

[Code Management] List commits in a Codeup repository

get_commit

[Code Management] Get information about a commit

create_commit_comment

[Code Management] Create a comment on a commit

get_project

[Project Management] Get information about a Yunxiao project

search_projects

[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).

Use Cases:

Query projects I am involved in Query projects I have created

search_programs

[Project Management] Search for Yunxiao Program (Project Set) List. A Program is a collection of multiple related projects, used for unified management and coordination of large projects.

Use Cases:

Query programs by name Query programs by status Query programs by creator

list_program_versions

[Project Management] List versions for a Yunxiao Program (Project Set). Versions are used to manage release plans and track delivery progress.

Use Cases:

List all versions in a program Filter versions by status (TODO, DOING, ARCHIVED) Search versions by name

list_versions

[Project Management] List versions for a Yunxiao Project or Program. Versions are used to manage release plans and track delivery progress.

Use Cases:

List all versions in a project Filter versions by status (TODO, DOING, ARCHIVED) Search versions by name

create_version

[Project Management] Create a new version in a Yunxiao Project. Versions are used to manage release plans and track delivery progress.

Use Cases:

Create a new release version Plan project milestones Set version owners and dates

update_version

[Project Management] Update an existing version in a Yunxiao Project. Can update version name, owners, start date, and publish date.

Use Cases:

Update version name Change version owners Modify version dates

delete_version

[Project Management] Delete a version from a Yunxiao Project.

Use Cases:

Remove obsolete versions Clean up project versions

get_sprint

[Project Management] Get information about a sprint

list_sprints

[Project Management] List sprints in a project

create_sprint

[Project Management] Create a new sprint

update_sprint

[Project Management] Update an existing sprint

get_work_item

[Project Management] Get information about a work item

create_work_item

[Project Management] Create a work item. 描述字段使用提示:

  • description 支持 Markdown / 富文本,需配合 formatType("MARKDOWN" 或 "RICHTEXT")。

  • 描述中插入图片三步法:① 先建工作项(本工具, description 可先为空或占位);② 调 create_workitem_attachment 上传图片拿到返回值中的 embedMarkdown 或 embedHtml;③ 调 update_work_item 把拼好的 description 写回。✅ 报错点:不要使用 create_workitem_attachment 返回的 url 字段,那是 30 秒过期的 OSS 临时签名。

  • 实际工时(fieldId 101587)与预计工时(fieldId 101586)为云效受控系统字段,不能通过本工具的 customFieldValues 修改;请改用 create_effort_record / create_estimated_effort

search_workitems

[Project Management] Search work items with various filter conditions

get_work_item_types

[Project Management] Get the list of work item types for a project

update_work_item

[Project Management] Update a work item. 调用参数结构:除 organizationId / workItemId 外,所有要更新的字段必须放在 updateWorkItemFields 对象中(包括 subject / description / formatType / status / assignedTo / priority / labels / sprint / trackers / verifier / participants / versions / customFieldValues)。 描述中插入图片:先调 create_workitem_attachment 拿到返回值的 embedMarkdown(formatType="MARKDOWN")或 embedHtml(formatType="RICHTEXT"),拼进 updateWorkItemFields.description,同时 updateWorkItemFields.formatType 设为对应值。⚠️ 不要把 create_workitem_attachment 返回的 url 嵌入 description,那是 30 秒过期的 OSS 临时签名。 受控字段提醒:实际工时(fieldId 101587)与预计工时(fieldId 101586)为云效受控系统字段,不能通过 updateWorkItemFields.customFieldValues 修改;请改用 create_effort_record/update_effort_recordcreate_estimated_effort/update_estimated_effort

list_all_work_item_types

[Project Management] List all work item types in an organization

list_work_item_types

[Project Management] List work item types in a project space

get_work_item_type

[Project Management] Get details of a specific work item type

list_work_item_relation_work_item_types

[Project Management] List work item types that can be related to a specific work item

get_work_item_type_field_config

[Project Management] Get field configuration for a specific work item type

get_work_item_workflow

[Project Management] Get workflow information for a specific work item type

list_work_item_comments

[Project Management] List comments for a specific work item

create_work_item_comment

[Project Management] Create a comment for a specific work item

list_workitem_attachments

[Project Management] List attachments for a specific work item. Returns attachment information including file name, size, suffix, download URL, and creator/modifier details.

get_workitem_file

[Project Management] Get file information for a specific work item. Supports both file IDs (long hex for description-embedded images) and attachment IDs (numeric like 62487031). Returns file details including name, size, suffix, and a temporary download URL.

create_workitem_attachment

[Project Management] Upload a local file as an attachment to a work item via multipart/form-data. MCP Server reads the file at the given absolute path and uploads it. Supports any file type (单文件 ≤ 10MB,云效不支持 svg/tiff)。 返回 WorkitemFile 含以下关键字段:

  • id/name/size/suffix:文件基础信息

  • url:OSS 临时下载地址,约 30 秒过期。⚠️ 仅用于下载,不要嵌入工作项描述/评论

  • embedUrl:永久代理 URL,适用于在工作项描述/评论中嵌入图片

  • embedMarkdown:预拼好的 Markdown 图片标签,formatType=MARKDOWN 时拼接进 description 即可

  • embedHtml:预拼好的 HTML 标签,formatType=RICHTEXT 时拼接进 description 即可 在工作项描述中插入图片的标准三步法:① 创建工作项(如已有则跳过);② 调本工具上传图片、读出 embedMarkdown / embedHtml;③ 调 update_work_item,在 updateWorkItemFields.description 中拼入该 embed* 字段,同时设置 updateWorkItemFields.formatType 为 "MARKDOWN" 或 "RICHTEXT"。 应用 token 场景必传 operatorId,个人 token 必传可省略。

list_workitem_activities

[Project Management] List activity history for a specific work item. Returns changes including field updates, status transitions, association changes, and attachment changes, with operator and timestamp details.

list_current_user_effort_records

[Project Management] 获取用户的实际工时明细,结束时间和开始时间的间隔不能大于6个月

list_effort_records

[Project Management] 获取实际工时明细

create_effort_record

[Project Management] 登记实际工时。云效中实际工时(fieldId 101587)为受控字段,不能通过 update_work_item 的 customFieldValues 修改,必须调用本工具。

list_estimated_efforts

[Project Management] 获取预计工时明细

create_estimated_effort

[Project Management] 登记预计工时。云效中预计工时(fieldId 101586)为受控字段,不能通过 update_work_item 的 customFieldValues 修改,必须调用本工具。

update_effort_record

[Project Management] 更新已登记的实际工时(云效实际工时受控字段,不能走 update_work_item.customFieldValues)。

update_estimated_effort

[Project Management] 更新已登记的预计工时(云效预计工时受控字段,不能走 update_work_item.customFieldValues)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-devops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server