alibabacloud-devops-mcp-server
alibabacloud-devops-mcp-server is an API integration tool built for Alibaba Cloud Yunxiao (Cloud Effectiveness) platform. Based on the Model Context Protocol (MCP), it provides AI assistants with the ability to interact with the Yunxiao platform, enabling them to deeply understand projects, work items, code repositories, and Merge Requests. This allows AI assistants to directly participate in development collaboration, helping teams optimize development processes and improve efficiency. With alibabacloud-devops-mcp-server, AI assistants can read work item content, understand requirements, automatically write code, execute code management tasks, and submit merge requests.
Enterprise development teams can use it to assist with code reviews, optimize task management, reduce repetitive operations, and focus on more important innovations 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
Tools
alibabacloud-devops-mcp-server integrates various tools, including:
Organization
get_current_organization_Info
: Get current user's organization information
get_user_organizations
: Get the list of organizations the current user has joined
Code Management Tools
create_branch
: Create a branch
delete_branch
: Delete a branch
get_branch
: Get branch information
list_branches
: Get branch list
create_file
: Create a file
delete_file
: Delete a file
get_file_blobs
: Get file content
list_files
: Query file tree
update_file
: Update file content
create_change_request
: Create a merge request
create_change_request_comment
: Create a comment on a merge request
get_change_request
: Query merge request
list_change_request_patch_sets
: Query merge request version list
list_change_request
: Query merge request list
list_change_request_comments
: Query merge request comment list
get_compare
: Compare code
get_repository
: Get repository details
list_repositories
: Get repository list
Project Management Tools
get_project
: Get project details
search_projects
: Search projects
get_work_item
: Get work item details
search_workitems
: Search work items
Usage
Prerequisites
- Alibaba Cloud Yunxiao Personal Access Token, click here to obtain. It is recommended to grant read and write permissions for all APIs.
Run MCP Server via NPX
{
"mcpServers": {
"yunxiao": {
"command": "npx",
"args": [
"-y",
"alibabacloud-devops-mcp-server"
],
"env": {
"YUNXIAO_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Run MCP Server via Docker Container
docker build -t alibabacloud/alibabacloud-devops-mcp-server .
{
"mcpServers": {
"yunxiao": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YUNXIAO_ACCESS_TOKEN",
"alibabacloud/alibabacloud-devops-mcp-server"
],
"env": {
"YUNXIAO_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}