返回 MCP 目录
public公开cloud托管运行

腾讯云弹性伸缩AS MCP Server

腾讯云 AS MCP 服务器是一个用于管理腾讯云自动伸缩组及相关资源的工具。其主要功能包括自动伸缩组的全生命周期管理(创建、修改、启用和禁用)、伸缩策略的执行(支持手动扩容和缩容)以及容量管理(修改期望容量)。

article

README

Tencent Cloud AS MCP Server

Implementation of Tencent Cloud Auto Scaling (AS) MCP server for managing Tencent Cloud auto scaling groups and related resources.

Features

  • Auto Scaling Group Management: Full lifecycle management including creating, modifying, enabling, and disabling auto scaling groups
  • Scaling Policy Execution: Support manual execution of scale-out and scale-in operations
  • Capacity Management: Support modifying the desired capacity of auto scaling groups

API List

🏗️ Auto Scaling Group Management

| Tool Name | Description | |---|---| | CreateAutoScalingGroup | Create an auto scaling group | | DescribeAutoScalingGroups | Query auto scaling groups | | ModifyAutoScalingGroup | Modify an auto scaling group | | EnableAutoScalingGroup | Enable an auto scaling group | | DisableAutoScalingGroup | Disable an auto scaling group |

⚡ Scaling Operations

| Tool Name | Description | |---|---| | ExecuteScalingPolicy | Execute a scaling policy | | ModifyDesiredCapacity | Modify the desired capacity |

Configuration

Set Tencent Cloud Credentials

  1. Obtain SecretId and SecretKey from Tencent Cloud Console
  2. Set default region (optional)

Environment Variables

Configure the following environment variables:

  • TENCENTCLOUD_SECRET_ID: Tencent Cloud SecretId
  • TENCENTCLOUD_SECRET_KEY: Tencent Cloud SecretKey
  • TENCENTCLOUD_REGION: Default region (optional)

Usage in Claude Desktop

Add the following configuration to claude_desktop_config.json:

{
  "mcpServers": {
    "tencent-as": {
      "command": "uv",
      "args": [
        "run",
        "mcp-server-as"
      ],
      "env": {
        "TENCENTCLOUD_SECRET_ID": "YOUR_SECRET_ID_HERE",
        "TENCENTCLOUD_SECRET_KEY": "YOUR_SECRET_KEY_HERE",
        "TENCENTCLOUD_REGION": "YOUR_REGION_HERE"
      }
    }
  }
}

Installation

pip install mcp-server-as

License

MIT License. See LICENSE file for details.

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端