Alibaba Cloud MCP Server
This repository contains two Model Context Protocol (MCP) servers that provide seamless integration with Alibaba Cloud services:
- Alibaba Cloud Ops MCP Server - Enables AI assistants to operate resources on Alibaba Cloud, supporting ECS, Cloud Monitor, OOS, OSS, VPC, RDS and other widely used cloud products.
- Alibaba Cloud Application Management MCP Server - Enables AI assistants to analyze, build, and deploy applications to Alibaba Cloud ECS instances.
Features
Alibaba Cloud Ops MCP Server
- ECS Management: Create, start, stop, reboot, delete instances, run commands, view instances, regions, zones, images, security groups, and more
- VPC Management: View VPCs and VSwitches
- RDS Management: List, start, stop, and restart RDS instances
- OSS Management: List, create, delete buckets, and view objects
- Cloud Monitor: Get CPU usage, load average, memory usage, and disk usage metrics for ECS instances
- Dynamic API Tools: Support for Alibaba Cloud OpenAPI operations
Alibaba Cloud Application Management MCP Server
- Application Deployment: Deploy applications to ECS instances with automatic application and application group management
- Project Analysis: Automatically identify project technology stack and deployment methods (npm, Python, Java, Go, Docker, etc.)
- Environment Installation: Install deployment environments (Docker, Java, Python, Node.js, Go, Nginx, Git) on ECS instances
- Deployment Management: Query deployment status and retrieve last deployment information
- OSS Integration: Upload deployment artifacts to OSS buckets
- Local File Operations: List directories, run shell scripts, and analyze project structures
- Dynamic API Tools: Support for Alibaba Cloud OpenAPI operations
Prepare
Install uv
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
Configuration
Use VS Code + Cline to config MCP Server.
Alibaba Cloud Ops MCP Server
To use alibaba-cloud-ops-mcp-server MCP Server with any other MCP Client, you can manually add this configuration and restart for changes to take effect:
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"timeout": 600,
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server@latest"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "Your Access Key ID",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "Your Access Key SECRET"
}
}
}
}
Alibaba Cloud Application Management MCP Server
To use alibaba-cloud-application-management-mcp-server MCP Server with any other MCP Client, you can manually add this configuration and restart for changes to take effect:
{
"mcpServers": {
"alibaba-cloud-application-management-mcp-server": {
"timeout": 600,
"command": "uvx",
"args": [
"alibaba-cloud-application-management-mcp-server@latest"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "Your Access Key ID",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "Your Access Key SECRET"
}
}
}
}
MCP Marketplace Integration
Know More
- Alibaba Cloud Ops MCP Server is ready to use out of the box!
- Setup Alibaba Cloud Ops MCP Server on Bailian
- Build your own Alibaba Cloud OpenAPI MCP Server with 10 lines of code
- Alibaba Cloud Ops MCP Server is officially available on the Alibaba Cloud Model Studio Platform MCP Marketplace
Tools
Alibaba Cloud Ops MCP Server Tools
| Product | Tool | Function | Implementation | Status |
|---|---|---|---|---|
| ECS | RunCommand | Run Command | OOS | Done |
| StartInstances | Start Instances | OOS | Done | |
| StopInstances | Stop Instances | OOS | Done | |
| RebootInstances | Reboot Instances | OOS | Done | |
| DescribeInstances | View Instances | API | Done | |
| DescribeRegions | View Regions | API | Done | |
| DescribeZones | View Zones | API | Done | |
| DescribeAvailableResource | View Resource Inventory | API | Done | |
| DescribeImages | View Images | API | Done | |
| DescribeSecurityGroups | View Security Groups | API | Done | |
| RunInstances | Create Instances | OOS | Done | |
| DeleteInstances | Delete Instances | API | Done | |
| ResetPassword | Modify Password | OOS | Done | |
| ReplaceSystemDisk | Replace Operating System | OOS | Done | |
| VPC | DescribeVpcs | View VPCs | API | Done |
| DescribeVSwitches | View VSwitches | API | Done | |
| RDS | DescribeDBInstances | List RDS Instances | API | Done |
| StartDBInstances | Start the RDS instance | OOS | Done | |
| StopDBInstances | Stop the RDS instance | OOS | Done | |
| RestartDBInstances | Restart the RDS instance | OOS | Done | |
| OSS | ListBuckets | List Bucket | API | Done |
| PutBucket | Create Bucket | API | Done | |
| DeleteBucket | Delete Bucket | API | Done | |
| ListObjects | View object information in the bucket | API | Done | |
| CloudMonitor | GetCpuUsageData | Get CPU Usage Data for ECS Instances | API | Done |
| GetCpuLoadavgData | Get CPU One-Minute Average Load Metric Data | API | Done | |
| GetCpuloadavg5mData | Get CPU Five-Minute Average Load Metric Data | API | Done | |
| GetCpuloadavg15mData | Get CPU Fifteen-Minute Average Load Metric Data | API | Done | |
| GetMemUsedData | Get Memory Usage Metric Data | API | Done | |
| GetMemUsageData | Get Memory Utilization Metric Data | API | Done | |
| GetDiskUsageData | Get Disk Utilization Metric Data | API | Done | |
| GetDiskTotalData | Get Total Disk Partition Capacity Metric Data | API | Done | |
| GetDiskUsedData | Get Disk Partition Usage Metric Data | API | Done |
Alibaba Cloud Application Management MCP Server Tools
Application Management Tools
| Tool | Function | Status |
|---|---|---|
| CodeDeploy | Deploy applications to ECS instances with automatic artifact upload to OSS | Done |
| GetDeployStatus | Query deployment status of application groups | Done |
| GetLastDeploymentInfo | Retrieve information about the last deployment | Done |
Local Tools
| Tool | Function | Status |
|---|---|---|
| ListDirectory | List files and subdirectories in a directory | Done |
| RunShellScript | Execute shell scripts or commands | Done |
| AnalyzeDeployStack | Identify project deployment methods and technology stack | Done |
OOS Tools
| Tool | Function | Status |
|---|---|---|
| InstallDeploymentEnvironment | Install deployment environments (Docker, Java, Python, Node.js, Go, Nginx, Git) on ECS instances | Done |
| ListExecutions | Query OOS execution status by execution ID | Done |
Deployment Workflow
The typical deployment workflow includes:
- Project Analysis: Use
AnalyzeDeployStackto identify the project's technology stack and deployment method - Build Artifacts: Build or package the application locally (e.g., create tar.gz or zip files)
- Deploy Application: Use
CodeDeployto deploy the application to ECS instances- Automatically creates application and application group if they don't exist
- Uploads artifacts to OSS
- Deploys to specified ECS instances
- Install Environment (Optional): Use
InstallDeploymentEnvironmentto install required runtime environments on ECS instances - Monitor Deployment: Use
GetDeployStatusto check deployment status
Contact us
If you have any questions, please join the Alibaba Cloud Ops MCP discussion group (DingTalk group: 113455011677) for discussion.
Recommend MCP Servers 💡
esxi-mcp-server
A VMware ESXi/vCenter management server based on MCP, providing REST API interfaces for virtual machine management.
secureframe-mcp-server
This Model Context Protocol server provides read-only access to Secureframe's compliance automation platform for AI assistants like Claude and Cursor. It allows querying security controls, monitoring compliance tests, and accessing audit data across various frameworks such as SOC 2, ISO 27001, CMMC, and FedRAMP.
aws-mcp-server
A lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
apisix-mcp
APISIX Model Context Protocol (MCP) server is used to bridge large language models (LLMs) with the APISIX Admin API.
@confluentinc/mcp-confluent
An MCP server implementation that enables AI assistants to interact with Confluent Cloud REST APIs. This server allows AI tools like Claude Desktop and Goose CLI to manage Kafka topics, connectors, and Flink SQL statements through natural language interactions.
heroku
Facilitates seamless interaction between large language models (LLMs) and the Heroku Platform, enabling LLMs to read, manage, and operate Heroku Platform resources.