Alibaba Cloud MCP Server
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.
README
Alibaba Cloud MCP Server
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:
- Explicit Service Tools: Pre-configured, typed handlers for the most common services (ECS, VPC, RDS, RAM, ACK, SLB) to ensure rapid, error-free AI interactions.
- Universal API Invoker: A dynamic tool built on
@alicloud/pop-corethat can invoke any of the 10,000+ API endpoints across all Alibaba Cloud services, giving you true 100% cloud management coverage.
Features
- 🚀 Zero-Config Universal Management: Dynamically call any Alibaba Cloud RPC/ROA API.
- 📦 Explicit Typed Tools:
- ECS: Manage Compute Instances (
ecs_list_instances,ecs_start_instance) - VPC: Manage Networking (
vpc_list,vpc_create) - RDS: Manage Databases (
rds_list_instances) - RAM: Manage IAM & Security (
ram_list_users) - ACK: Manage Kubernetes Clusters (
ack_list_clusters) - SLB: Manage Load Balancers (
slb_list)
- ECS: Manage Compute Instances (
- 🐳 Docker Ready: Run safely in an isolated container.
- 🛡️ Secure: Uses Zod for strict parameter validation and environment variables for credentials.
Prerequisites
- Node.js 18+ (if running locally)
- Docker (optional, for containerized execution)
- Alibaba Cloud Access Key ID and Secret with appropriate IAM permissions.
Setup & Installation
Option 1: Running Locally
-
Clone the repository and install dependencies:
npm install -
Build the TypeScript source:
npm run build -
Create a
.envfile 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"
Option 2: Running with Docker
- Build the Docker image:
docker build -t alibaba-cloud-mcp .
Configuring Your MCP Client
Claude Desktop
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.
Security Warning
⚠️ 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.
Architecture
Built using:
@modelcontextprotocol/sdk@alicloud/pop-corezodfor validationTypeScript
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.