Alibabacloud Observability MCP Server

阿里云可观测 MCP Server 的 Go 语言实现,为 AI 模型提供对阿里云日志服务(SLS)和云监控(CMS)的结构化数据访问能力。基于 [Model Context Protocol](https://modelcontextprotocol.io/) 协议,可与

Local serverstdioPython

What is the Alibabacloud Observability MCP server?

If you want an AI assistant working directly with Alibabacloud Observability, the alibabacloud observability mcp server is the bridge. 阿里云可观测 MCP Server 的 Go 语言实现,为 AI 模型提供对阿里云日志服务(SLS)和云监控(CMS)的结构化数据访问能力。基于 Model Context Protocol 协议,可与 Cursor、Kiro、Cline、Windsurf 等 AI 工具无缝集成。.

What Alibabacloud Observability does

阿里云可观测 MCP Server 的 Go 语言实现,为 AI 模型提供对阿里云日志服务(SLS)和云监控(CMS)的结构化数据访问能力。基于 Model Context Protocol 协议,可与 Cursor、Kiro、Cline、Windsurf 等 AI 工具无缝集成。

Tools it exposes

Once connected, the assistant can call these 6 tools directly:

  • alibabacloud-observability-mcp-server — 可执行文件
  • config.yaml — 默认配置文件
  • sls_text_to_sql — 自然语言转 SQL
  • sls_text_to_spl — 自然语言转 SPL
  • sls_sop — SLS 智能运维助手
  • cms_natural_language_query — 自然语言数据查询

Installing the alibabacloud observability mcp server

The server is distributed via npm as skills, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 2 environment variables: ALIBABA_CLOUD_ACCESS_KEY_ID, ALIBABA_CLOUD_ACCESS_KEY_SECRET. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Monitoring servers replace the paste-the-stack-trace ritual with an assistant that reads the real event, with all its surrounding context intact. Alibabacloud Observability sits in that group, and the shape of its toolset — alibabacloud-observability-mcp-server, config.yaml, sls_text_to_sql among others — tells you what it is really for. Worth comparing against the other monitoring security servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by aliyun, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the alibabacloud observability mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
alibabacloud-observability-mcp-server可执行文件
config.yaml默认配置文件
sls_text_to_sql自然语言转 SQL
sls_text_to_spl自然语言转 SPL
sls_sopSLS 智能运维助手
cms_natural_language_query自然语言数据查询

How to install the Alibabacloud Observability MCP server

### stdio 模式

```json
{
  "mcpServers": {
    "alibaba_cloud_observability": {
      "command": "./bin/alibabacloud-observability-mcp-server",
      "args": ["start", "--stdio"],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "<your_access_key_id>",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<your_access_key_secret>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ALIBABA_CLOUD_ACCESS_KEY_IDCredential the server authenticates with.Yes
ALIBABA_CLOUD_ACCESS_KEY_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Alibabacloud Observability to alibabacloud-observability-mcp-server.
  • Use Alibabacloud Observability to config.yaml.
  • Use Alibabacloud Observability to sls text to sql.

Frequently asked questions

It connects Alibabacloud Observability to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (alibabacloud-observability-mcp-server, config.yaml, sls_text_to_sql, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Alibabacloud Observability directly.