Back to Home
aliyun icon

alibaba-cloud-ops-mcp-server

by aliyun

Overview

The server provides a Model Context Protocol (MCP) interface for AI assistants to manage Alibaba Cloud resources such as ECS, RDS, VPC, OSS, and CloudMonitor through API and OOS integrations.

Installation

Run Command
uv run src/alibaba_cloud_ops_mcp_server/server.py --transport sse --port 8080 --host 0.0.0.0 --services ecs,vpc

Environment Variables

  • ALIBABA_CLOUD_ACCESS_KEY_ID
  • ALIBABA_CLOUD_ACCESS_KEY_SECRET
  • ALIBABA_CLOUD_SECURITY_TOKEN

Security Notes

The `OOS_RunCommand` tool allows executing arbitrary commands on Alibaba Cloud ECS instances. When used in an AI assistant context, this poses a critical Remote Code Execution (RCE) risk if the AI generates unexpected or malicious commands, or if a user provides such input. While this functionality is intended for operations, the server itself does not implement content-based command validation or stringent AI safety guards, relying heavily on external policy enforcement (e.g., IAM roles, prompt engineering, human in the loop) which are not part of this codebase. Credentials are handled via environment variables or HTTP headers (x-acs-accesskey-id, x-acs-accesskey-secret, x-acs-security-token), which requires secure management by the user or client.

Similar Servers

Stats

Interest Score52
Security Score4
Cost ClassMedium
Avg Tokens1000
Stars85
Forks31
Last Update2025-11-28

Tags

Alibaba CloudMCPAI AssistantCloud ManagementAPI Integration