tencentcloud-lighthouse-skillManage Tencent Cloud Lighthouse (轻量应用服务器) — auto-setup mcporter + MCP, query instances, monitoring & alerting, self-diagnostics, firewall, snapshots, remote command execution (TAT). Use when user asks about Lighthouse or 轻量应用服务器. NOT for CVM or other cloud server types.
Install via ClawdBot CLI:
clawdbot install lhanyun/tencentcloud-lighthouse-skill通过 mcporter + lighthouse-mcp-server 管理腾讯云轻量应用服务器。
当用户首次要求管理云服务器时,按以下流程操作:
{baseDir}/scripts/setup.sh --check-only
如果输出显示一切 OK(mcporter 已安装、config 已配置、lighthouse 已就绪),跳到「调用格式」。
告诉用户:
我需要你的腾讯云 API 密钥来连接 Lighthouse 服务器。请提供:
1. SecretId — 腾讯云 API 密钥 ID
2. SecretKey — 腾讯云 API 密钥 Key
>
你可以在 腾讯云控制台 > 访问管理 > API密钥管理 获取。
{baseDir}/scripts/setup.sh --secret-id "<用户提供的SecretId>" --secret-key "<用户提供的SecretKey>"
脚本会自动:
~/.mcporter/mcporter.json 配置文件设置完成后即可开始使用。
所有 mcporter 命令必须使用以下格式:
mcporter call lighthouse.<tool_name> --config ~/.mcporter/mcporter.json --output json [--args '<JSON>']
列出可用工具:
mcporter list lighthouse --config ~/.mcporter/mcporter.json --schema
本 MCP Server 包含以下工具类别:
| 类别 | 说明 |
|------|------|
| 地域查询 | 获取可用地域列表(唯一不需要 Region 参数的操作) |
| 实例管理 | 查询、启动实例,查看流量包/套餐/配额等(需要 Region) |
| 监控与告警 | 获取多指标监控数据、设置告警策略、服务器自检(需要 Region) |
| 防火墙 | 规则增删改查、防火墙模板管理(需要 Region) |
| 远程命令(TAT) | 在实例上执行命令、查询任务状态(需要 Region) |
以下所有示例省略了公共前缀mcporter call lighthouse.和--config ~/.mcporter/mcporter.json --output json。
完整命令格式:mcporter call lighthouse. --config ~/.mcporter/mcporter.json --output json --args ''
# 查询所有可用地域 — 唯一不需要 Region 参数的操作
# 首次使用时应先调用此接口获取可用 Region 列表
mcporter call lighthouse.describe_regions --config ~/.mcporter/mcporter.json --output json
# 查询实例列表(Region 必填,可选参数: InstanceIds, Offset, Limit)
mcporter call lighthouse.describe_instances --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","Limit":20,"Offset":0}'
# 查询指定实例
mcporter call lighthouse.describe_instances --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceIds":["lhins-xxxxxxxx"]}'
# 启动实例
mcporter call lighthouse.start_instances --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceIds":["lhins-xxxxxxxx"]}'
# 获取实例登录终端地址
mcporter call lighthouse.describe_instance_login_url --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx"}'
# 查询所有应用镜像
mcporter call lighthouse.describe_all_applications --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou"}'
# BlueprintType 可选: APP_OS | PURE_OS | DOCKER | ALL(默认ALL)
# 获取监控数据(支持多指标同时查询,默认最近6小时)
mcporter call lighthouse.get_monitor_data --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","Indicators":["CPU利用率","内存利用率"]}'
# 获取监控数据(指定时间范围)
mcporter call lighthouse.get_monitor_data --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","Indicators":["公网出带宽","公网入带宽"],"StartTime":"2026-02-09 00:00:00","EndTime":"2026-02-10 00:00:00"}'
# 支持的监控指标(中文名称):
# CPU利用率 | 内存利用率 | 公网出带宽 | 公网入带宽
# 系统盘读IO | 系统盘写IO | 公网流量包
# 设置告警策略
# Alarms 中的 Frequency/Points/Size 均为字符串类型
mcporter call lighthouse.set_alerting_strategy --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","Indicator":"CPU利用率","Alarms":[{"Frequency":"300","Threshold":"80%","Level":"严重","Points":"3","Size":"60"}],"PolicyName":"CPU高负载告警"}'
# Frequency(秒): "300"|"600"|"900"|"1800"|"3600"|"7200"|"10800"|"21600"|"43200"|"86400"
# Level: "提示"|"严重"|"紧急" Points: "1"-"5" Size: "60"|"300"
# 服务器自检(检测网络、防火墙、存储、状态、性能)
mcporter call lighthouse.self_test --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx"}'
# 查询防火墙规则
mcporter call lighthouse.describe_firewall_rules --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx"}'
# 添加防火墙规则
mcporter call lighthouse.create_firewall_rules --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","FirewallRules":[{"Protocol":"TCP","Port":"8080","CidrBlock":"0.0.0.0/0","Action":"ACCEPT","FirewallRuleDescription":"开放8080端口"}]}'
# 删除防火墙规则
mcporter call lighthouse.delete_firewall_rules --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","FirewallRules":[{"Protocol":"TCP","Port":"8080"}]}'
# 在 Linux 实例上执行命令
mcporter call lighthouse.execute_command --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","Command":"uptime && df -h && free -m","SystemType":"Linux"}'
# 在 Windows 实例上执行命令
mcporter call lighthouse.execute_command --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InstanceId":"lhins-xxxxxxxx","Command":"Get-Process | Sort-Object CPU -Descending | Select-Object -First 10","SystemType":"Windows"}'
# 查询命令执行任务详情(自动轮询直到完成)
mcporter call lighthouse.describe_command_tasks --config ~/.mcporter/mcporter.json --output json --args '{"Region":"ap-guangzhou","InvocationTaskId":"invt-xxxxxxxx"}'
# 注意: Command 最大 2048 字符,超长命令建议登录实例手动执行
--config ~/.mcporter/mcporter.json--output json 获取结构化输出describe_regions 外,所有操作都必须传入 Region 参数。如果用户未指定 Region,应先调用 describe_regions 获取可用地域列表,再让用户选择或根据上下文确定describe_regions 获取地域列表 → 再调用 describe_instances 获取实例列表 → 记住 InstanceId 和 Region 供后续使用lhins-xxxxxxxx(先通过 describe_instances 获取)get_monitor_data 的 Indicators 参数使用中文名称(CPU利用率、内存利用率等)execute_command 的 Command 参数最大 2048 字符,超长建议登录实例执行{baseDir}/scripts/setup.sh --check-only 诊断问题,或用 self_test 检测实例状态Generated Mar 1, 2026
Small businesses or developers hosting websites on Tencent Cloud Lighthouse can use this skill to monitor server performance, manage firewall rules for security, and execute maintenance commands. The monitoring tools help track CPU and memory usage to prevent downtime, while remote command execution allows quick troubleshooting without direct server access.
E-commerce sites running on Lighthouse servers can utilize this skill for performance monitoring during peak sales periods and managing snapshots for data backup. The alerting system helps maintain uptime by notifying administrators of high resource usage, ensuring smooth customer transactions and preventing revenue loss.
Game developers hosting multiplayer servers on Lighthouse can use this skill to manage instances, monitor network bandwidth, and execute commands for server updates. Firewall management helps secure game ports, while self-diagnostics tools identify network or performance issues affecting player experience.
DevOps teams can automate server management tasks like starting instances, deploying applications via remote commands, and configuring firewall rules for new services. The skill integrates with MCP tools to streamline workflows, reducing manual intervention and improving deployment efficiency in cloud environments.
Educational institutions hosting online learning platforms on Lighthouse can use this skill to monitor server health during high-traffic exam periods and manage access via firewall rules. Remote command execution allows administrators to update content or troubleshoot issues without disrupting student access.
Agency offers managed hosting services using Lighthouse, charging clients a monthly fee for server setup, monitoring, and maintenance. This skill enables automated management tasks, reducing operational costs and allowing the agency to scale services across multiple clients efficiently.
SaaS providers host their applications on Lighthouse and use this skill to monitor performance, manage instances for scalability, and ensure security via firewall rules. The tools help maintain service level agreements (SLAs) by proactively addressing issues, supporting a pay-per-user revenue model.
IT consultants offer support services for businesses using Lighthouse, leveraging this skill for diagnostics, monitoring, and remote management. They charge hourly or project-based fees for optimizing server performance, security configurations, and troubleshooting, enhancing client retention.
💬 Integration Tip
Ensure mcporter is installed and API keys are securely configured before use; start by fetching region lists to verify connectivity and set up monitoring alerts early to prevent issues.
Automate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.
Feishu-integrated wrapper for the capability-evolver. Manages the evolution loop lifecycle (start/stop/ensure), sends rich Feishu card reports, and provides...
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Draft and publish posts to 小红书 (Xiaohongshu/RED). Use when creating content for 小红书, drafting posts, generating cover images, or publishing via browser automation. Covers the full workflow from content creation to browser-based publishing, including cover image generation with Pillow.
AI-assisted creation, rendering, and automated publishing of Xiaohongshu-style content with support for Markdown to image cards and data tracking.
小红书全能助手 — 文案生成、封面制作、内容发布与管理。当用户要求写小红书笔记、生成小红书文案/标题/封面、发小红书、搜索小红书、评论点赞收藏等任何小红书相关操作时使用。支持一站式从文案创作到自动发布的完整流程。封面AI生图需配置可选环境变量(GEMINI_API_KEY 或 IMG_API_KEY 或 HUNY...