Skip to main content
Glama

Aliyun MCP Server

by nailuoGG

阿里云MCP服务器

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

特征

  • 查询SLS(简单日志服务)日志
  • (未来)管理 ECS 实例
  • (未来)部署无服务器功能

配置

  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
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

一个 Claude 集成工具,使用户能够通过自然语言命令查询和分析阿里云简单日志服务日志。

  1. 特征
    1. 配置
      1. 与 Claude Desktop 一起使用
      2. Cline 的配置
    2. 用法
      1. 可用工具
        1. 查询SLSLogs

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A simple server that integrates with Claude to allow querying and manipulating Notion pages and databases through natural language prompts.
        Last updated -
        706
        JavaScript
      • -
        security
        A
        license
        -
        quality
        A modular server implementation for Claude AI assistants with integrated tools, enabling Claude to perform actions and access external resources like file systems, web searches, browser automation, financial data, and document generation.
        Last updated -
        86
        Python
        MIT License
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        Integrates with Claude to enable intelligent querying of documentation data, transforming crawled technical documentation into an actionable resource that LLMs can directly interact with.
        Last updated -
        1,776
        TypeScript
        Apache 2.0
        • Apple
        • Linux
      • -
        security
        F
        license
        -
        quality
        An integration tool that connects Claude AI with Odoo database, allowing users to explore Odoo models, search data, and create reports through natural language commands.
        Last updated -
        Python

      View all related MCP servers

      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