
How to add Alibaba Cloud Ops MCP Server to Claude Desktop
Operate Alibaba Cloud resources (ECS, VPC, RDS, OSS, CloudMonitor, OOS) from AI assistants via MCP. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.
Last updated June 14, 2026 ยท 119โ ยท stdio ยท apikey ยท official
Claude Desktop config for Alibaba Cloud Ops MCP Server
uvx alibaba-cloud-ops-mcp-server@latest{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"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"
}
}
}
}Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.
Setup steps
- 1Open Claude Desktop โ Settings โ Developer โ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
- 2Paste the Alibaba Cloud Ops MCP Server config below under the top-level "mcpServers" key.
- 3Fill in any placeholder secrets (API keys, paths) in the snippet.
- 4Save the file, then fully quit and reopen Claude Desktop.
- 5Open a chat and confirm Alibaba Cloud Ops MCP Server's tools appear under the ๐ tools menu.
Before you start
- uv installed (curl -LsSf https://astral.sh/uv/install.sh | sh)
- An Alibaba Cloud account with an AccessKey ID and AccessKey Secret
- An MCP client (e.g. Cline, Cursor, Qoder)
What Alibaba Cloud Ops MCP Server can do in Claude Desktop
RunCommandECS: Run a command on instances (implemented via OOS).
StartInstancesECS: Start instances (via OOS).
StopInstancesECS: Stop instances (via OOS).
RebootInstancesECS: Reboot instances (via OOS).
DescribeInstancesECS: View instances (via API).
DescribeRegionsECS: View regions (via API).
DescribeZonesECS: View zones (via API).
DescribeAvailableResourceECS: View resource inventory (via API).
Security
Requires an Alibaba Cloud AccessKey ID and AccessKey Secret supplied via the ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET environment variables. These credentials grant access to operate (create, stop, delete) live cloud resources, so scope the AccessKey's RAM permissions to the minimum required and keep the secret out of source control.
Alibaba Cloud Ops MCP Server + Claude Desktop FAQ
Where is the Claude Desktop config file?
Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the Alibaba Cloud Ops MCP Server config there under the "mcpServers" key and restart the client.
Is Alibaba Cloud Ops MCP Server safe to use with Claude Desktop?
Requires an Alibaba Cloud AccessKey ID and AccessKey Secret supplied via the ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET environment variables. These credentials grant access to operate (create, stop, delete) live cloud resources, so scope the AccessKey's RAM permissions to the minimum required and keep the secret out of source control.
Is this an official Alibaba Cloud project?
Yes. It is published under the aliyun GitHub organization and licensed Apache-2.0.
How do I authenticate?
Provide your Alibaba Cloud AccessKey via the ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET environment variables in the MCP server config.
How is the server launched?
It runs over stdio using uvx, e.g. uvx alibaba-cloud-ops-mcp-server@latest. Install uv first.