Aliyun MCP Server
Provides tools for querying SLS (Simple Log Service) logs, with planned future support for managing ECS instances and deploying serverless functions on Alibaba Cloud.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Aliyun MCP Server show me error logs from my-project/my-logstore for the last 30 minutes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: CLS MCP Server
Configuration
Build the server:
npm install
npm run buildUsage with Claude Desktop
Add the server to your 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": []
}
}
}Configuration for Cline
Add the server to your Cline MCP settings file inside VSCode's settings cline_mcp_settings.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": []
}
}
}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:
Query SLS logs from project "my-project" and logstore "my-logstore" with the query "error" for the last hour.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:
{
"project": "my-project",
"logstore": "my-logstore",
"query": "error",
"limit": 10
}Available Tools
1 toolquerySLSLogsC
Query Aliyun SLS (Simple Log Service) logs
Inputs: logstore (required), project (required), query (required), from, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as querying Aliyun SLS logs, making it distinct by default.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'querySLSLogs' follows a clear verb_noun pattern, and there are no other tools to compare it against for inconsistency.
A single tool is too few for a server named 'Aliyun MCP Server', which implies broader cloud service functionality. This minimal toolset severely limits the server's scope and utility, making it feel incomplete and underpowered for its apparent purpose.
The server appears to target Aliyun cloud services, but with only a log querying tool, there are significant gaps in coverage. Missing are core operations like managing resources (e.g., creating/deleting instances), monitoring, or other SLS functions beyond querying, making the surface severely incomplete.
Maintenance
Related MCP Connectors
Query your app's logs, metrics and incidents from your AI assistant.
Read-only Google Ads, GA4 and Search Console data for Claude, with no Google Cloud setup.
Ingest and search LogsLoom logs from coding agents.
Read and write Sage Intacct from Claude or ChatGPT. Write tools are flagged for approval.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.6120 npm11MIT
- AlicenseAqualityDmaintenanceProvides 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.2424 PyPI6Apache 2.0
- FlicenseBqualityDmaintenanceEnables 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-

Tencent Cloud Log Serviceofficial
AlicenseNot gradedqualityAmaintenanceEnables large language models to directly access Tencent Cloud Log Service for log search, metric queries, and alarm management without code.896 npm18Apache 2.0