home / mcp / alibaba cloud ops mcp server
Provides MCP access to Alibaba Cloud APIs for managing ECS, RDS, OSS, Cloud Monitor, and related resources.
Configuration
View docs{
"mcpServers": {
"aliyun-alibaba-cloud-ops-mcp-server": {
"url": "https://example-mcp-endpoint.local/mcp",
"headers": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "AKIDEXAMPLE",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLE"
}
}
}
}Alibaba Cloud Ops MCP Server provides seamless Model Context Protocol integration with Alibaba Cloud APIs, enabling your AI assistants to operate resources such as ECS, Cloud Monitor, and OOS across Alibaba Cloud.
You connect a client to the Alibaba Cloud Ops MCP Server to perform cloud operations through a consistent MCP interface. Start the MCP server process locally or remotely, then configure your MCP client to target this server. Once connected, you can issue supported operations such as listing ECS instances, starting or stopping instances, managing VPCs, and querying monitoring data. All actions are exposed through the MCP endpoints described in the server’s toolset.
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | shPrepare the server by installing the runtime and then run the MCP server via the standard MCP launcher. You can provide credentials to access Alibaba Cloud APIs through environment variables. The following configuration snippet shows how to register the server under MCP config with a local runtime.
{
"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"
}
}
}
}The server is designed to be ready to use out of the box and accepts credentials through environment variables. Treat your access keys as sensitive data and rotate them periodically. When running in shared or production environments, follow your organization’s security guidelines for secret management and least-privilege access.
The server exposes a comprehensive set of cloud operations across Alibaba Cloud products. You can perform actions such as managing ECS instances, VPCs, RDS, OSS buckets, and Cloud Monitor metrics. The full list of exposed operations includes actions like RunCommand, StartInstances, StopInstances, RebootInstances, DescribeInstances, DescribeRegions, DescribeZones, DescribeImages, DescribeSecurityGroups, RunInstances, DeleteInstances, ResetPassword, ReplaceSystemDisk, DescribeVpcs, DescribeVSwitches, DescribeDBInstances, StartDBInstances, StopDBInstances, RestartDBInstances, OSS bucket and object management, and Cloud Monitor metric queries for CPU, memory, and disk usage.
If you encounter connectivity or authentication issues, verify that your ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET are correctly set in the server’s environment. Ensure the uvx runtime is installed and that the server process is running with the configured timeout. Check your MCP client configuration to confirm it references the correct server name and startup parameters.
Execute a command on a remote ECS instance via Alibaba Cloud RunCommand integration.
Start one or more ECS instances.
Stop one or more ECS instances.
Reboot one or more ECS instances.
List and view details of ECS instances.
List available regions for resources.
List availability zones within a region.
Query resource inventory to understand what is available for use.
List available machine images.
View security group configurations.
Create new ECS instances.
Terminate ECS instances.
Modify the password on an ECS instance.
Replace the OS disk for an ECS instance.
View VPC configurations.
View VSwitch configurations.
List RDS instances.
Start an RDS instance.
Stop an RDS instance.
Restart an RDS instance.
List OSS buckets.
Create an OSS bucket.
Delete an OSS bucket.
View objects in an OSS bucket.
Get CPU usage data for ECS instances.
Get 1-minute CPU load average.
Get 5-minute CPU load average.
Get 15-minute CPU load average.
Get memory usage data.
Get memory utilization data.
Get disk utilization data.
Get total disk capacity data.
Get disk usage data.