
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server for Alibaba Cloud operations, supporting ECS, VPC, RDS, OSS, CloudMonitor and OOS services, configured for use with Amazon Q CLI.
Alibaba Cloud Operations MCP Server is cataloged as an MCP server attributed to radiumgu. An MCP server for Alibaba Cloud operations, supporting ECS, VPC, RDS, OSS, CloudMonitor and OOS services, configured for use with Amazon Q CLI. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Alibaba Cloud Operations MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports ECS, VPC, RDS, OSS, CloudMonitor and OOS.
It uses Alibaba Cloud access credentials configured through access key ID, access key secret and region environment variables.
README.md · b8610c3220b3 · 采集于 2026-11-13 08:45:45 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
一个用于 Amazon Q CLI 的阿里云操作 MCP 服务器,支持 ECS、VPC、RDS、OSS、CloudMonitor、OOS 等服务。
English | 中文
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# 或者使用 pip
pip install uv
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
git clone https://github.com/your-username/alicloud-ops-mcp.git
cd alicloud-ops-mcp
# 运行安装脚本(推荐)
./install.sh
# 或者手动安装
uv sync
cp .env.example .env
# 编辑 .env 文件,填入你的阿里云凭证
编辑 .env 文件:
ALIBABA_CLOUD_ACCESS_KEY_ID="your_access_key_id"
ALIBABA_CLOUD_ACCESS_KEY_SECRET="your_access_key_secret"
ALIBABA_CLOUD_REGION="cn-beijing"
# 运行验证脚本
uv run python verify_setup.py
# 测试服务器启动
uv run python complete_fastmcp_server.py
如果看到 "Server is ready to accept connections." 说明安装成功。
在 ~/.aws/amazonq/mcp.json 中添加以下配置:
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"timeout": 30000,
"command": "uv",
"args": [
"--directory",
"/绝对路径/to/alicloud-ops-mcp",
"run",
"python",
"complete_fastmcp_server.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
},
"disabled": false,
"autoApprove": []
}
}
}
重要提示: 将 /绝对路径/to/alicloud-ops-mcp 替换为项目的实际绝对路径。
假设项目位于 /home/user/alicloud-ops-mcp:
{
"mcpServers": {
"alibaba-cloud-ops-mcp-server": {
"timeout": 30000,
"command": "uv",
"args": [
"--directory",
"/home/user/alicloud-ops-mcp",
"run",
"python",
"complete_fastmcp_server.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
},
"disabled": false,
"autoApprove": []
}
}
}
| 服务 | 功能 | 状态 |
|---|---|---|
| ECS | 云服务器管理、实例操作、镜像管理 | ✅ |
| VPC | 虚拟私有云、网络配置、安全组 | ✅ |
| RDS | 关系型数据库管理、备份恢复 | ✅ |
| OSS | 对象存储、文件上传下载 | ✅ |
| CloudMonitor | 云监控、告警管理、指标查询 | ✅ |
| OOS | 运维编排、自动化任务 | ✅ |
alicloud-ops-mcp/
├── pyproject.toml # 项目配置和依赖
├── requirements.txt # 依赖列表(兼容性)
├── complete_fastmcp_server.py # 主服务器文件
├── alibaba_cloud_ops_mcp_server/
│ ├── __init__.py
│ ├── __main__.py
│ ├── server.py # 服务器核心逻辑
│ ├── config.py # 配置管理
│ └── tools/ # 各服务工具
│ ├── __init__.py
│ ├── api_tools.py # 通用 API 工具
│ ├── cms_tools.py # CloudMonitor 工具
│ ├── common_api_tools.py # 公共 API 工具
│ ├── oos_tools.py # OOS 工具
│ └── oss_tools.py # OSS 工具
├── .env.example # 环境变量模板
├── .env # 环境变量(需要创建)
├── install.sh # 安装脚本
├── verify_setup.py # 验证脚本
├── README.md # 中文文档
├── README_EN.md # 英文文档
└── LICENSE
# 安装开发依赖
uv sync --dev
# 运行测试
uv run pytest
# 运行服务器
uv run python complete_fastmcp_server.py
# 添加新依赖
uv add package-name
# 添加开发依赖
uv add --dev package-name
# 更新依赖
uv sync --upgrade
# 查看依赖树
uv tree
项目在 pyproject.toml 中指定了 Python 版本要求:
requires-python = ">=3.10"
uv 会自动:
原因: 配置错误或权限问题
解决方案:
# 确保使用 uv 命令而不是直接的 python 路径
uv run python complete_fastmcp_server.py
# 检查项目路径是否正确
pwd
# 确保脚本有执行权限
chmod +x complete_fastmcp_server.py
错误信息: Could not find a version that satisfies the requirement fastmcp>=2.8.0
解决方案:
# uv 会自动处理 Python 版本,无需手动安装
uv sync
# 如果仍有问题,清理并重新安装
uv clean
uv sync
解决方案:
# 清理缓存并重新安装
uv clean
uv sync
# 查看详细错误信息
uv sync --verbose
解决方案:
# 确保 .env 文件存在且格式正确
ls -la .env
cat .env
# 检查环境变量格式
uv run python -c "
import os
from dotenv import load_dotenv
load_dotenv()
print('Access Key ID:', os.getenv('ALIBABA_CLOUD_ACCESS_KEY_ID', 'Not found'))
print('Region:', os.getenv('ALIBABA_CLOUD_REGION', 'Not found'))
"
解决方案:
# 检查 Amazon Q CLI 配置
cat ~/.aws/amazonq/mcp.json
# 验证路径是否正确
ls -la /绝对路径/to/alicloud-ops-mcp/complete_fastmcp_server.py
# 测试服务器直接启动
cd /绝对路径/to/alicloud-ops-mcp
uv run python complete_fastmcp_server.py
启用详细日志:
# 设置环境变量启用调试
export FASTMCP_LOG_LEVEL=DEBUG
uv run python complete_fastmcp_server.py
# 或者在 .env 文件中设置
echo "FASTMCP_LOG_LEVEL=DEBUG" >> .env
运行完整的环境检查:
# 运行验证脚本
uv run python verify_setup.py
# 检查特定组件
uv run python -c "
import sys
print(f'Python version: {sys.version}')
try:
import fastmcp
print(f'FastMCP version: {fastmcp.__version__}')
except ImportError as e:
print(f'FastMCP import error: {e}')
try:
from alibaba_cloud_ops_mcp_server import server
print('Server module loaded successfully')
except ImportError as e:
print(f'Server module error: {e}')
"
# 预编译 Python 字节码
uv run python -m compileall .
# 使用更快的启动选项
uv run python -O complete_fastmcp_server.py
在 .env 文件中添加:
# 限制内存使用
PYTHONHASHSEED=0
PYTHONDONTWRITEBYTECODE=1
git checkout -b feature/amazing-feature)uv sync --dev)uv run pytest)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)# 克隆仓库
git clone https://github.com/your-username/alicloud-ops-mcp.git
cd alicloud-ops-mcp
# 安装开发依赖
uv sync --dev
# 设置 pre-commit hooks
uv run pre-commit install
# 运行测试
uv run pytest
# 代码格式化
uv run black .
uv run isort .
# 类型检查
uv run mypy .
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
如果遇到问题,请:
uv run python verify_setup.py 检查环境感谢所有贡献者和社区成员的支持!
⭐ 如果这个项目对你有帮助,请给个 Star!
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Alibaba Cloud Operations MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/alibaba-cloud-operations)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.