
How to add Alibaba Cloud Ops MCP Server to Cursor
Operate Alibaba Cloud resources (ECS, VPC, RDS, OSS, CloudMonitor, OOS) from AI assistants via MCP. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 119★ · stdio · apikey · official
Cursor 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 Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the Alibaba Cloud Ops MCP Server config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of Alibaba Cloud Ops MCP Server's tools to confirm it's connected.
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 Cursor
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 + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.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 Cursor?
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.