Aliyun

This MCP server provides tools for interacting with Aliyun (Alibaba Cloud) services.
  • javascript

2

GitHub Stars

javascript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

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

This MCP server lets you interact with Aliyun (Alibaba Cloud) services through Claude, focusing on querying Simple Log Service (SLS) logs and enabling future extensions like managing ECS instances or deploying serverless functions. It integrates with your MCP client to run the server locally and process log queries efficiently.

How to use

You will run the MCP server locally and configure your MCP client to communicate with it. The server executes commands to query Aliyun SLS logs and returns results to Claude. Use it to fetch log entries from specific projects and logstores with your desired time range and limits.

How to install

prerequisites: Node.js and npm must be installed on your machine.

npm install
npm run build

Additional configuration and usage notes

Configure the MCP server in your Claude Desktop and Cline MCP settings to run the server as a local process.

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

Alternatively, in your VSCode settings for MCP, add the same configuration snippet under your cline_mcp_settings.json to enable the local server for the editor.

Notes:

  • Replace "/path/to/aliyun-mcp-server" with the actual path to the MCP server source on your machine.
  • Provide your Aliyun credentials and the correct SLS endpoint for your region.

Notes on security and environment

Keep your Aliyun credentials secure. Do not commit them to source control. Use environment variable management to load keys at runtime.

The MCP server relies on environment variables shown in the configuration block to connect to Aliyun SLS services.

Examples and troubleshooting

If you encounter issues querying logs, verify:

  • Your Aliyun credentials are correct and have permission to access the target SLS project and logstore.
  • The SLS_ENDPOINT matches your region.
  • The server process is running and IPC with the MCP client is active.

Available tools

querySLSLogs

Query Aliyun SLS (Simple Log Service) logs with parameters for project, logstore, query, time range, and pagination.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational