$ timeahead.in
/ servers/npm/cls-mcp-server
npm

cls-mcp-server

[![npm version](https://img.shields.io/npm/v/cls-mcp-server)](https://www.npmjs.com/package/cls-mcp-server) [![license](https://img.shields.io/npm/l/cls-mcp-server)](https://github.com/Tencent/cls-mcp

6 stars275/wkupdated 16d agogithub ↗
84good
▣ Overview
npm versionlicense

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_ID and TENCENTCLOUD_SECRET_KEY credentials; store these as environment variables or in an untracked .env file, never committed to version control.
  • VPC deployments must set TENCENTCLOUD_API_BASE_HOST to internal.tencentcloudapi.com; the default endpoint will fail from within a VPC.
  • Transport mode (stdio, http, or sse) 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.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
44
8.7
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
83.7
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "cls": {
      "command": "npx",
      "args": [
        "-y",
        "cls-mcp-server"
      ]
    }
  }
}
📈 Score historylast 48 snapshots
4/30/20267/6/2026 · 48 snapshots
⚙ Maintenance health
12/ 100 · is this project alive?
contributors (1y)1
top contributor share100%
releases (1y)0
ci✗ none
⛁ Raw data
weekly downloads275
github stars6
forks4
open issues4
license✓ present
readme length9901 chars
last publish1d ago
last commit16d ago
last updated5d ago
install verified✓ pass · 51d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points