What it does
This server bridges Claude and Tencent Cloud's logging, metrics, and alerting services via the Model Context Protocol. It exposes log search with natural-language-to-CQL translation (via TextToSearchLogQuery), metric queries in PromQL syntax, and alarm management tools—letting Claude analyze logs, monitor metrics, and investigate alerts without custom integrations or API wrapper code.
Who it's for
On-call engineers and DevOps teams running workloads on Tencent Cloud who want Claude to assist with log analysis, metric monitoring, and alert triage as part of incident response and troubleshooting workflows.
Common use cases
- Query application or infrastructure logs using natural language instead of learning CQL syntax.
- Retrieve surrounding context for a specific log entry during root-cause analysis.
- Monitor real-time and historical metric values to track system health.
- Analyze alarm policies and review alert trigger/recovery history.
Setup pitfalls
- Requires
TENCENTCLOUD_SECRET_IDandTENCENTCLOUD_SECRET_KEYcredentials; store these as environment variables or in an untracked.envfile, never committed to version control. - VPC deployments must set
TENCENTCLOUD_API_BASE_HOSTtointernal.tencentcloudapi.com; the default endpoint will fail from within a VPC. - Transport mode (
stdio,http, orsse) must match your MCP client configuration; mismatches will prevent the server from connecting. - Reads and writes local filesystem; run in an isolated environment if processing untrusted input.