================== /// MCP /// /// ALI /// ================== [server:online] [protocol:ready]
alibaba-cloud-ops-mcp-server
by aliyun
Alibaba Cloud Ops MCP Server – a Model Context Protocol (MCP) server that exposes Alibaba Cloud OpenAPI/OOS/CloudMonitor operations so AI-agents can manage cloud resources.
63
14
EnterpriseInstallation
1. Prerequisites
• Linux/macOS or Windows subsystem capable of running Python 3.8+
• Git client
• (Optional) Alibaba-Cloud RAM user with access-key pair for CloudOps APIs
2. Clone the repository
git clone https://github.com/aliyun/alibaba-cloud-ops-mcp-server.git
cd alibaba-cloud-ops-mcp-server
3. Create and activate a virtual environment (recommended)
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
4. Install Python dependencies
pip install -r requirements.txt
5. Configure credentials and server settings
• Export environment variables or fill the provided config.yaml/.env file:
• Adjust MCP-specific parameters (port, logging level, plug-in list) in config.yaml.
ALIBABA_CLOUD_ACCESS_KEY_ID=<your-ak>
ALIBABA_CLOUD_ACCESS_KEY_SECRET=<your-sk>
REGION_ID=<cn-hangzhou | etc.>
6. Launch the MCP server
python main.py # or: python -m mcp_server
7. Verify
Open http://localhost:8000/healthz – should return OK.
Documentation
License: Apache License 2.0
Updated 7/30/2025