Skip to main content
Glama
nailuoGG

Aliyun MCP Server

by nailuoGG

阿里云MCP服务器

该MCP服务器提供了通过Claude与阿里云服务交互的工具。

特征

  • 查询SLS(简单日志服务)日志

  • (未来)管理 ECS 实例

  • (未来)部署无服务器功能

Related MCP server: CLS MCP Server

配置

  1. 构建服务器:

npm install
npm run build

与 Claude Desktop 一起使用

将服务器添加到您的 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": []
    }
  }
}

Cline 的配置

将服务器添加到 VSCode 设置cline_mcp_settings.json中的 Cline MCP 设置文件中

{
  "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": []
    }
  }
}

/path/to/aliyun-mcp-server替换为此存储库的实际路径,并提供您的阿里云凭据。

用法

配置完成后,您可以要求 Claude 查询 SLS 日志:

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

Claude 将使用 MCP 服务器执行查询并返回结果。

可用工具

查询SLSLogs

查询阿里云SLS(简单日志服务)日志。

参数:

  • project (必填):SLS 项目名称

  • logstore (必填):SLS日志库名称

  • query (必需):SLS查询语句

  • from (可选):开始时间(以毫秒为单位)(默认为 1 小时前)

  • to (可选):结束时间(以毫秒为单位)(默认为现在)

  • limit (可选):返回的最大日志数量(默认值:100,最大值:1000)

  • offset (可选):分页偏移量(默认值:0)

  • reverse (可选):是否以相反的顺序返回结果(默认值:false)

例子:

{
  "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
    71
    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
    Not graded
    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