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
Configuration
- Build the server:
Copy
Usage with Claude Desktop
Add the server to your claude_desktop_config.json:
Copy
Configuration for Cline
Add the server to your Cline MCP settings file inside VSCode's settings cline_mcp_settings.json
Copy
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:
Copy
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 namelogstore
(required): SLS logstore namequery
(required): SLS query statementfrom
(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:
Copy
This server cannot be installed
A Claude integration tool that enables users to query and analyze Aliyun (Alibaba Cloud) Simple Log Service logs through natural language commands.