阿里云运维 MCP Setup & Guide
io.github.aliyun/alibaba-cloud-ops-mcp-server
阿里云 CloudOps 官方 MCP 服务,支持 ECS 实例管理、命令执行与云资源运维操作。
Copy the install config on this page first, then verify docs and permissions upstream.
Popularity
Overview
阿里云 CloudOps 官方 MCP 服务,支持 ECS 实例管理、命令执行与云资源运维操作。 阿里云运维 MCP is a MCP Server listed from GitHub CN. Transports: stdio. This page includes an overview, setup tutorial, install commands, and use cases for Trae, Tongyi Lingma, Cursor, Claude Code, and VS Code.
Use cases
AgentHub Verified AvailabilityTested & Ready
Automated pipeline validated install commands, protocol & client compatibility
Copy by platform
Choose your platform
- Open or create .cursor/mcp.json in your project root
- Click Copy config and paste; merge only this mcpServers entry if others exist
- Replace <placeholders> in env with real secrets (see Environment variables below)
- Save, then Cmd+Shift+P → Reload Window
Pre-fill Environment Variables (Optional)
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Setup tutorial
- Open the 阿里云运维 MCP page and confirm this MCP Server (source: GitHub CN).
- Copy the Cursor, Claude Code, or VS Code snippet.
- Merge it into mcpServers and replace env placeholders with real secrets.
- Reload the window, then call the MCP tools from your agent chat.
Install commands
Install commands and setup steps are in the HTML so search engines and no-JS browsers can read them without running client JavaScript.
Claude Code (local)
- Install Claude Code CLI
- Copy the command below, replace <placeholders> with real env values, then run in terminal
- See Environment variables below if listed
claude mcp add alibaba-cloud-ops-mcp-server --env ALIBABA_CLOUD_ACCESS_KEY_ID=<ALIBABA_CLOUD_ACCESS_KEY_ID> --env ALIBABA_CLOUD_ACCESS_KEY_SECRET=<ALIBABA_CLOUD_ACCESS_KEY_SECRET> -- uvx alibaba-cloud-ops-mcp-serverCursor — .cursor/mcp.json (local)
- Open or create .cursor/mcp.json in your project root
- Click Copy config and paste; merge only this mcpServers entry if others exist
- Replace <placeholders> in env with real secrets (see Environment variables below)
- Save, then Cmd+Shift+P → Reload Window
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}VS Code — .vscode/mcp.json (local)
- Install GitHub Copilot in VS Code with MCP support
- Open or create .vscode/mcp.json in your project root
- Click Copy config and paste; merge only this mcpServers entry if others exist
- Replace <placeholders> in env with real secrets
- Save and Developer: Reload Window
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Claude Desktop — claude_desktop_config.json (local)
- Open Claude Desktop claude_desktop_config.json (see remote guide for paths)
- Click Copy config and merge under mcpServers
- Replace <placeholders> in env with real secrets
- Fully quit and restart Claude Desktop
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Trae — .trae/mcp.json (local)
- Trae → Settings → MCP, or edit .trae/mcp.json / global mcp.json
- Click Copy config and merge mcpServers
- Replace <placeholders> in env with real secrets
- Save and reload Trae
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Cherry Studio — MCP settings (local)
- Cherry Studio → Settings → MCP Servers → Add (STDIO)
- Or import JSON: click Copy config and merge mcpServers
- Replace <placeholders> in env; ensure Node.js / uv (npx, uvx) are installed
- Enable the server and check tools load
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Tongyi Lingma — MCP config (local)
- Lingma Settings → MCP → + → STDIO or config file
- Click Copy config and merge mcpServers
- Replace <placeholders> in env; need Node.js 18+ (npx) or uv (uvx)
- Confirm connected before using tools in agent chat
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Windsurf — mcp_config.json (local)
- Edit ~/.codeium/windsurf/mcp_config.json
- Click Copy config and merge mcpServers (stdio same as Cursor)
- Replace <placeholders> in env, save, refresh Cascade
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Cline — MCP Servers (local)
- Cline panel → Settings → MCP Servers
- Click Copy config and merge
- Replace <placeholders> in env, then save
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}WorkBuddy — .workbuddy/mcp.json (local)
- Edit ~/.workbuddy/mcp.json (user) or project .workbuddy/mcp.json
- Or Plugins → MCP Servers → Configure MCP and paste the JSON below
- Replace <placeholders> in env; on Windows prefer absolute paths for command/scripts
- Save, restart WorkBuddy, confirm connector status is green
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"command": "uvx",
"args": [
"alibaba-cloud-ops-mcp-server"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<ALIBABA_CLOUD_ACCESS_KEY_ID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<ALIBABA_CLOUD_ACCESS_KEY_SECRET>"
}
}
}
}Troubleshooting & Common ErrorsFAQ
Common connection errors and verified fixes for 阿里云运维 MCP
Getting 'connection closed' or exit code 1 in Cursor / Claude Code for 阿里云运维 MCP?
Usually caused by missing runtime paths or IDE environment inheritance. Fix steps: 1. Verify Node.js 18+ (npx) or Python 3.10+ (uvx) is installed; 2. Run 'which npx' or 'which uvx' in terminal, and replace 'command' with absolute path; 3. Reload or restart the client window after modifying config.
# Check binary path in terminal: which npx node -v
Getting 'spawn npx ENOENT' or 'command not found'?
The editor background process does not inherit your full terminal PATH. Solution: Globally install the package, or set the absolute binary path (e.g. C:\Program Files\nodejs\npx.cmd on Windows, or /usr/local/bin/npx on macOS).
Missing required environment variable or authentication failure?
阿里云运维 MCP requires environment variables (ALIBABA_CLOUD_ACCESS_KEY_ID、ALIBABA_CLOUD_ACCESS_KEY_SECRET). Ensure you have added valid keys under the 'env' object in your config file without trailing whitespace.
// .cursor/mcp.json 或 claude_desktop_config.json
{
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "your_actual_key_here"
}
}Tool Mock Playground
Sandbox阿里云运维 MCP Tool Interface Simulation · Preview tool schema & outputs without local runtime
{
"target": "阿里云运维 MCP",
"action": "execute",
"options": {
"mode": "standard",
"timeoutMs": 5000
}
}Click 'Run Mock' above
to preview the raw response returned to the LLM
Decision Guide: Why & When to Use
Assess suitability before installing to save trial-and-error time
- PR review
- Changelog generation
- Cross-repo issue search
- Replacing human security audit
- Unauthorized repo access
阿里云运维 MCP + Scenario Prompt → Complete Agent Automation
MCP hands-on: install to visible results
Follow the full lab (expected UI/output + contrast checks). After installing this item, verify with the tutorial prompts.
Related resources
腾讯云开发 CloudBase MCP
io.github.TencentCloudBase/CloudBase-AI-Toolkit
面向 AI 编程助手的云开发后端工具集:数据库、鉴权、云函数、静态托管与 AI 应用一键部署。
热点舆情监控
io.github.sansan0/TrendRadar
聚合微博、知乎、抖音、B站等平台热榜的自选舆情监控系统,内置 MCP 服务,可让 AI 客户端直接读取热点与关键词命中结果。
小红书 MCP
io.github.xpzouying/xiaohongshu-mcp
AI 客户端操控小红书后台的 MCP 服务:登录账号、搜索内容与笔记、查看详情、发布图文/视频,支持本地 stdio 与 streamable-http 两种接入。
微信开发者工具 MCP
io.github.WaterTian/wechat-devtools-mcp
把微信开发者工具接入编辑器 AI,支持小程序编译预览、调试、截图与自动化操作。
WPS 文档处理
io.github.ELDment/wps-mcp
面向 WPS/Office 文档的 MCP 服务,支持 Word、Excel、PPT 的读取、转换与批量处理。
金数据 MCP
io.github.jinshuju/mcp
金数据官方 MCP 服务,让 AI 读取表单结构与提交数据、创建表单并回收填写结果。
Often paired with
agent-bom discover aws
v0.111.0
io.clawhub.msaad00/agent-bom-discover-aws
Discover AWS-hosted AI agent and MCP-relevant assets from the operator's environment, emit canonical agent-bom inventory JSON, and scan it without giving agent-bom long-lived cloud credentials. Use when a user asks to inventory AWS Bedrock, ECS, SageMaker, Lambda, EKS, Step Functions, EC2, or agentic AWS infrastructure as canonical inventory. Passing that inventory to agent-bom is optional and operator-chosen.
agent-bom discover gcp
v0.111.0
io.clawhub.msaad00/agent-bom-discover-gcp
Discover GCP-hosted AI agent and MCP-relevant assets from the operator's environment, emit canonical agent-bom inventory JSON, and scan it without giving agent-bom long-lived GCP credentials. Use when a user asks to inventory Vertex AI, Cloud Run, Cloud Functions, GKE, or agentic GCP infrastructure as canonical inventory.
agent-bom ingest
v0.111.0
io.clawhub.msaad00/agent-bom-ingest
Validate and ingest operator-pushed agent-bom inventory JSON from AWS, Azure, GCP, Snowflake, CMDB, or endpoint collectors. Use when a user has canonical inventory JSON and wants local findings, graph, policy, provenance, or auditor-ready exports without giving agent-bom direct cloud credentials.
agent-bom discover snowflake
v0.111.0
io.clawhub.msaad00/agent-bom-discover-snowflake
Discover Snowflake Cortex, Snowpark, notebook, Streamlit, MCP, and AI-observability assets from the operator's environment, emit canonical agent-bom inventory JSON, and scan it without giving agent-bom long-lived Snowflake credentials. Use when a user asks to inventory Snowflake AI or Cortex infrastructure as canonical inventory.
Keep exploring AgentHub
Most people compare similar tools or check scenario guides before installing—start here.
Listing badge: put AgentHub on your site
Copy either snippet into your project homepage, docs, or GitHub README. The badge is a hotlinked SVG — nothing to host — and it links back to this page so visitors can find the install steps.
<a href="https://myagenthub.cn/p/io.github.aliyun/alibaba-cloud-ops-mcp-server" title="Listed on AgentHub: 阿里云运维 MCP" target="_blank" rel="noopener">
<img src="https://myagenthub.cn/badge/io.github.aliyun/alibaba-cloud-ops-mcp-server?lang=en" alt="Listed on AgentHub: 阿里云运维 MCP" height="20" style="border:0"/>
</a>[](https://myagenthub.cn/p/io.github.aliyun/alibaba-cloud-ops-mcp-server)Badges are generated on the fly from /badge/<package-id>, so name and listing changes propagate automatically. Keep the link target unchanged — it is what counts as the referral.
Unified Manifest
{
"id": "io.github.aliyun/alibaba-cloud-ops-mcp-server",
"type": "mcp-server",
"version": "latest",
"displayName": "阿里云运维 MCP",
"description": "阿里云 CloudOps 官方 MCP 服务,支持 ECS 实例管理、命令执行与云资源运维操作。",
"author": {
"name": "aliyun",
"url": "https://github.com/aliyun",
"image": "https://avatars.githubusercontent.com/u/941070?v=4"
},
"iconUrl": "https://avatars.githubusercontent.com/u/941070?v=4",
"license": "Apache-2.0",
"repository": {
"url": "https://github.com/aliyun/alibaba-cloud-ops-mcp-server",
"source": "github"
},
"homepage": "https://github.com/aliyun/alibaba-cloud-ops-mcp-server",
"distribution": {
"packages": [
{
"registryType": "pypi",
"identifier": "alibaba-cloud-ops-mcp-server",
"runtimeHint": "uvx",
"transport": "stdio",
"environmentVariables": [
{
"name": "ALIBABA_CLOUD_ACCESS_KEY_ID",
"description": "Your Access Key ID",
"isRequired": true,
"isSecret": true
},
{
"name": "ALIBABA_CLOUD_ACCESS_KEY_SECRET",
"description": "Your Access Key SECRET",
"isRequired": true,
"isSecret": true
}
]
}
],
"remotes": []
},
"dependencies": [],
"installTargets": [
"claude-code",
"claude-desktop",
"cursor",
"vscode",
"trae",
"cherry-studio",
"lingma",
"windsurf",
"cline",
"workbuddy"
],
"keywords": [
"stars:136",
"国内服务",
"阿里云",
"ECS",
"运维"
],
"provenance": {
"origin": "github-cn",
"originalId": "aliyun/alibaba-cloud-ops-mcp-server",
"originalUrl": "https://github.com/aliyun/alibaba-cloud-ops-mcp-server",
"isOfficial": true,
"status": "active"
}
}