Skip to main content
Glama
nailuoGG

Aliyun MCP Server

by nailuoGG

Aliyun MCP Server

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

Features

  • Query SLS (Simple Log Service) logs

  • (Future) Manage ECS instances

  • (Future) Deploy serverless functions

Related MCP server: CLS MCP Server

Configuration

  1. Build the server:

npm install
npm run build

Usage with Claude Desktop

Add the server to your claude_desktop_config.json:

{
  "mcpServers": {
    "aliyun": {
      "command": "node",
      "args": ["/path/to/aliyun-mcp-server/build/index.js"],
      "env": {
        "ALIYUN_ACCESS_KEY_ID": "your-access-key-id",
        "ALIYUN_ACCESS_KEY_SECRET": "your-access-key-secret",
        "SLS_ENDPOINT": "cn-hangzhou.log.aliyuncs.com"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Configuration for Cline

Add the server to your Cline MCP settings file inside VSCode's settings cline_mcp_settings.json

{
  "mcpServers": {
    "aliyun": {
      "command": "node",
      "args": ["/path/to/aliyun-mcp-server/build/index.js"],
      "env": {
        "ALIYUN_ACCESS_KEY_ID": "your-access-key-id",
        "ALIYUN_ACCESS_KEY_SECRET": "your-access-key-secret",
        "SLS_ENDPOINT": "cn-hangzhou.log.aliyuncs.com"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Replace /path/to/aliyun-mcp-server with the actual path to this repository, and provide your Aliyun credentials.

Usage

Once configured, you can ask Claude to query SLS logs:

Query SLS logs from project "my-project" and logstore "my-logstore" with the query "error" for the last hour.

Claude will use the MCP server to execute the query and return the results.

Available Tools

querySLSLogs

Query Aliyun SLS (Simple Log Service) logs.

Parameters:

  • 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): End time in milliseconds (defaults to now)

  • limit (optional): Maximum number of logs to return (default: 100, max: 1000)

  • offset (optional): Offset for pagination (default: 0)

  • reverse (optional): Whether to return results in reverse order (default: false)

Example:

{
  "project": "my-project",
  "logstore": "my-logstore",
  "query": "error",
  "limit": 10
}
Install Server
F
license - not found
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to query and analyze Alibaba Cloud SLS logs using natural language, supporting multiple log sources like Function Compute and ECS. It provides tools for searching logs, performing SQL analysis, and visualizing log distributions directly within Cursor or Claude.
    6
    69
    10
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides a suite of 33 tools for interacting with Tencent Cloud Log Service (CLS), enabling log analysis, PromQL metrics queries, and resource management. It allows AI assistants to perform CQL/SQL retrieval, manage alarm strategies, and handle data processing tasks with tiered permission controls.
    24
    6
    Apache 2.0
  • F
    license
    B
    quality
    D
    maintenance
    Enables log analysis, searching, counting, and system metrics retrieval (CPU, memory, disk) via natural language, using 5 tools that can be integrated with Claude Code.
    5
  • A
    license
    -
    quality
    B
    maintenance
    Enables large language models to directly access Tencent Cloud Log Service for log search, metric queries, and alarm management without code.
    279
    10
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Connect Claude to Fathom meeting recordings, transcripts, and summaries

  • Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.

  • Live SEO workflow tools for Claude Code, Codex, and AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nailuoGG/aliyun-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server