Skip to main content

A MCP server for Alibaba Cloud

Project description

Alibaba Cloud Ops MCP Server

GitHub stars

中文版本

Alibaba Cloud Ops MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Alibaba Cloud APIs, enabling AI assistants to operate resources on Alibaba Cloud, supporting ECS, Cloud Monitor, OOS, OSS, VPC, RDS and other widely used cloud products. It also enables AI assistants to analyze, build, and deploy applications to Alibaba Cloud ECS instances.

MCP Maketplace Integration

Features

  • ECS Management: Create, start, stop, reboot, delete instances, run commands, view instances, regions, zones, images, security groups, and more
  • VPC Management: View VPCs and VSwitches
  • RDS Management: List, start, stop, and restart RDS instances
  • OSS Management: List, create, delete buckets, and view objects
  • Cloud Monitor: Get CPU usage, load average, memory usage, and disk usage metrics for ECS instances
  • Application Deployment: Deploy applications to ECS instances with automatic application and application group management
  • Project Analysis: Automatically identify project technology stack and deployment methods (npm, Python, Java, Go, Docker, etc.)
  • Local File Operations: List directories, run shell scripts, and analyze project structures
  • Dynamic API Tools: Support for Alibaba Cloud OpenAPI operations

Prepare

Install uv

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh

Configuration

Use VS Code + Cline to config MCP Server.

To use alibaba-cloud-ops-mcp-server MCP Server with any other MCP Client, you can manually add this configuration and restart for changes to take effect:

{
  "mcpServers": {
    "alibaba-cloud-ops-mcp-server": {
      "timeout": 600,
      "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"
      }
    }
  }
}

For detailed parameter description, see MCP startup parameter document

Know More

Tools

Product Tool Function Implementation Status
ECS RunCommand Run Command OOS Done
StartInstances Start Instances OOS Done
StopInstances Stop Instances OOS Done
RebootInstances Reboot Instances OOS Done
DescribeInstances View Instances API Done
DescribeRegions View Regions API Done
DescribeZones View Zones API Done
DescribeAvailableResource View Resource Inventory API Done
DescribeImages View Images API Done
DescribeSecurityGroups View Security Groups API Done
RunInstances Create Instances OOS Done
DeleteInstances Delete Instances API Done
ResetPassword Modify Password OOS Done
ReplaceSystemDisk Replace Operating System OOS Done
VPC DescribeVpcs View VPCs API Done
DescribeVSwitches View VSwitches API Done
RDS DescribeDBInstances List RDS Instances API Done
StartDBInstances Start the RDS instance OOS Done
StopDBInstances Stop the RDS instance OOS Done
RestartDBInstances Restart the RDS instance OOS Done
OSS ListBuckets List Bucket API Done
PutBucket Create Bucket API Done
DeleteBucket Delete Bucket API Done
ListObjects View object information in the bucket API Done
CloudMonitor GetCpuUsageData Get CPU Usage Data for ECS Instances API Done
GetCpuLoadavgData Get CPU One-Minute Average Load Metric Data API Done
GetCpuloadavg5mData Get CPU Five-Minute Average Load Metric Data API Done
GetCpuloadavg15mData Get CPU Fifteen-Minute Average Load Metric Data API Done
GetMemUsedData Get Memory Usage Metric Data API Done
GetMemUsageData Get Memory Utilization Metric Data API Done
GetDiskUsageData Get Disk Utilization Metric Data API Done
GetDiskTotalData Get Total Disk Partition Capacity Metric Data API Done
GetDiskUsedData Get Disk Partition Usage Metric Data API Done
Application Management OOS_CodeDeploy Deploy applications to ECS instances with automatic artifact upload to OSS OOS Done
OOS_GetDeployStatus Query deployment status of application groups API Done
OOS_GetLastDeploymentInfo Retrieve information about the last deployment API Done
Local LOCAL_ListDirectory List files and subdirectories in a directory Local Done
LOCAL_RunShellScript Execute shell scripts or commands Local Done
LOCAL_AnalyzeDeployStack Identify project deployment methods and technology stack Local Done

Deployment Workflow

The typical deployment workflow includes:

  1. Project Analysis: Use LOCAL_AnalyzeDeployStack to identify the project's technology stack and deployment method
  2. Build Artifacts: Build or package the application locally (e.g., create tar.gz or zip files)
  3. Deploy Application: Use OOS_CodeDeploy to deploy the application to ECS instances
    • Automatically creates application and application group if they don't exist
    • Uploads artifacts to OSS
    • Deploys to specified ECS instances
  4. Monitor Deployment: Use OOS_GetDeployStatus to check deployment status

Contact us

If you have any questions, please join the Alibaba Cloud Ops MCP discussion group (DingTalk group: 113455011677) for discussion.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alibaba_cloud_ops_mcp_server-0.9.26.tar.gz (268.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alibaba_cloud_ops_mcp_server-0.9.26-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

Details for the file alibaba_cloud_ops_mcp_server-0.9.26.tar.gz.

File metadata

  • Download URL: alibaba_cloud_ops_mcp_server-0.9.26.tar.gz
  • Upload date:
  • Size: 268.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.20 {"installer":{"name":"uv","version":"0.9.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for alibaba_cloud_ops_mcp_server-0.9.26.tar.gz
Algorithm Hash digest
SHA256 a18bdb46f0e96670cd08456e84012d62082684d4bdf97447aef5b730fae4bd12
MD5 038e81fcd6086daecd04e9e8fcb4efbc
BLAKE2b-256 0b498009191db6f570bb244ca1c40206feeb197bf371d92369208ab31b2fc89e

See more details on using hashes here.

File details

Details for the file alibaba_cloud_ops_mcp_server-0.9.26-py3-none-any.whl.

File metadata

  • Download URL: alibaba_cloud_ops_mcp_server-0.9.26-py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.20 {"installer":{"name":"uv","version":"0.9.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for alibaba_cloud_ops_mcp_server-0.9.26-py3-none-any.whl
Algorithm Hash digest
SHA256 b8fb3c1cae9af9a7bd0ee6db46a3885d5c884e10d6bcc8bf5f84cefc2665d5c7
MD5 efca2cd76cfd22e2b7eca272c1c54aec
BLAKE2b-256 bce4808c1bfaa4b6907f393f6abc9b8782fc551080eb47bf4fe4c983957a340e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page