Aliyun MCP Server logo

Aliyun MCP Server

by nailuoGG

This MCP server provides tools for interacting with Aliyun (Alibaba Cloud) services through Claude. It currently supports querying SLS logs and has plans for future features like ECS instance management and serverless function deployment.

View on GitHub

Last updated: N/A

What is Aliyun MCP Server?

The Aliyun MCP Server is a tool designed to allow Claude to interact with Aliyun services. It acts as a bridge, enabling Claude to perform tasks such as querying logs from Aliyun's Simple Log Service (SLS).

How to use Aliyun MCP Server?

To use the server, you need to build it using npm install and npm run build. Then, configure it within your Claude Desktop or Cline MCP settings file (cline_mcp_settings.json) by providing the path to the built server and your Aliyun credentials (access key ID, access key secret, and SLS endpoint). Once configured, you can ask Claude to perform actions like querying SLS logs using natural language.

Key features of Aliyun MCP Server

  • Query SLS logs

  • Configuration for Claude Desktop

  • Configuration for Cline

  • (Future) Manage ECS instances

  • (Future) Deploy serverless functions

Use cases of Aliyun MCP Server

  • Troubleshooting applications by querying logs

  • Monitoring system performance through log analysis

  • Auditing security events using log data

  • Integrating Aliyun services with Claude for automated tasks

FAQ from Aliyun MCP Server

What Aliyun services are currently supported?

Currently, the server supports querying SLS (Simple Log Service) logs.

How do I configure the server for Claude Desktop?

Add the server configuration to your claude_desktop_config.json file, providing the command, arguments, and environment variables (including Aliyun credentials).

How do I configure the server for Cline?

Add the server configuration to your Cline MCP settings file (cline_mcp_settings.json) within VSCode's settings, providing the command, arguments, and environment variables (including Aliyun credentials).

What credentials are required to use the server?

You need to provide your Aliyun Access Key ID, Aliyun Access Key Secret, and the SLS Endpoint.

What is the querySLSLogs tool?

The querySLSLogs tool allows you to query Aliyun SLS logs. It requires parameters like project name, logstore name, and query statement. Optional parameters include time range, limit, offset, and reverse order.