loading…
Search for a command to run...
loading…
Enables AI assistants to manage Alibaba Cloud resources via natural language, with explicit tools for common services and a universal API invoker for full cloud
Enables AI assistants to manage Alibaba Cloud resources via natural language, with explicit tools for common services and a universal API invoker for full cloud coverage.
A comprehensive, high-performance Model Context Protocol (MCP) server for managing Alibaba Cloud resources.
This server enables AI assistants (like Claude, Cursor, and others) to seamlessly interact with Alibaba Cloud infrastructure using natural language. It features a Hybrid Architecture:
@alicloud/pop-core that can invoke any of the 10,000+ API endpoints across all Alibaba Cloud services, giving you true 100% cloud management coverage.ecs_list_instances, ecs_start_instance)vpc_list, vpc_create)rds_list_instances)ram_list_users)ack_list_clusters)slb_list)Clone the repository and install dependencies:
npm install
Build the TypeScript source:
npm run build
Create a .env file in the root directory:
ALIBABA_CLOUD_ACCESS_KEY_ID="your_access_key"
ALIBABA_CLOUD_ACCESS_KEY_SECRET="your_access_secret"
ALIBABA_CLOUD_REGION_ID="cn-hangzhou"
docker build -t alibaba-cloud-mcp .
To integrate this server with Claude Desktop, add the following to your claude_desktop_config.json (usually located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on Mac):
If using Node.js locally:
{
"mcpServers": {
"alibaba-cloud": {
"command": "node",
"args": ["/absolute/path/to/Alibaba_cloud_MCP_server/dist/index.js"],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your_access_key",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your_access_secret",
"ALIBABA_CLOUD_REGION_ID": "cn-hangzhou"
}
}
}
}
If using Docker:
{
"mcpServers": {
"alibaba-cloud": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "ALIBABA_CLOUD_ACCESS_KEY_ID",
"-e", "ALIBABA_CLOUD_ACCESS_KEY_SECRET",
"-e", "ALIBABA_CLOUD_REGION_ID",
"alibaba-cloud-mcp"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your_access_key",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "your_access_secret",
"ALIBABA_CLOUD_REGION_ID": "cn-hangzhou"
}
}
}
}
Note: Restart Claude Desktop after updating the configuration.
⚠️ IMPORTANT: This MCP server is incredibly powerful, especially due to the
aliyun_invoke_apitool which can manage any resource. Always adhere to the Principle of Least Privilege. Ensure that the IAM/RAM user associated with your Access Keys only has the minimum permissions necessary for the tasks you intend the AI to perform.
Built using:
@modelcontextprotocol/sdk@alicloud/pop-corezod for validationTypeScriptRun in your terminal:
claude mcp add alibaba-cloud-mcp-server -- npx