Aliyun MCP Server

interacting with Aliyun (Alibaba Cloud) services through This MCP server provides tools.

Local serverstdio

What is the Aliyun MCP server?

Most monitoring and observability work still happens through a UI a human drives. Aliyun MCP server moves it into the conversation instead. interacting with Aliyun (Alibaba Cloud) services through This MCP server provides tools.

The short version

  • Query SLS (Simple Log Service) logs
  • (Future) Manage ECS instances
  • (Future) Deploy serverless functions

The tools it exposes

The server publishes 1 tool. What each one is for:

  • querySLSLogs — Parameters: - project (required): SLS project name - logstore (required): SLS logstore name - query (required): SLS query statement - from

What it needs from you

Configuration is passed through the environment: ALIYUN_ACCESS_KEY_ID, ALIYUN_ACCESS_KEY_SECRET, SLS_ENDPOINT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Getting it running

npm on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

How it compares

Plenty of monitoring and observability servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Aliyun's toolset — querySLSLogs — is a fair guide to whether it matches your workflow. It is maintained by butterfly.liu; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
querySLSLogsParameters: - project (required): SLS project name - logstore (required): SLS logstore name - query (required): SLS query statement - from (optional): Start time in milliseconds (defaults to 1 hour ago) - to (optional):

How to install the Aliyun MCP server

{
  "mcpServers": {
    "aliyun": {
      "command": "npx",
      "args": ["-y", "npm"],
      "env": {
        "ALIYUN_ACCESS_KEY_ID": "your-value",
        "ALIYUN_ACCESS_KEY_SECRET": "your-value",
        "SLS_ENDPOINT": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ALIYUN_ACCESS_KEY_IDCredential the server authenticates with.Yes
ALIYUN_ACCESS_KEY_SECRETCredential the server authenticates with.Yes
SLS_ENDPOINTConfiguration value read at startup.Optional

Example prompts to try

  • Use Aliyun to querySLSLogs.

Frequently asked questions

It connects Aliyun to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (querySLSLogs) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Aliyun directly.