Back to MCP directory

mcp-server-as

腾讯云 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

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client