- Explore MCP Servers
- aliyun-mcp-server
Aliyun Mcp Server
What is Aliyun Mcp Server
aliyun-mcp-server is a server that provides tools for interacting with Aliyun (Alibaba Cloud) services, enabling users to query logs and manage cloud resources through Claude.
Use cases
Use cases include querying logs for error monitoring, managing cloud resources, and deploying serverless applications in a streamlined manner.
How to use
To use aliyun-mcp-server, you need to configure it in your claude_desktop_config.json or Cline MCP settings file by specifying the command, arguments, and environment variables including your Aliyun access keys and SLS endpoint.
Key features
Key features include querying SLS (Simple Log Service) logs, future capabilities to manage ECS instances, and the ability to deploy serverless functions.
Where to use
aliyun-mcp-server can be used in cloud computing environments, particularly for applications that require log management and resource management on Alibaba Cloud.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Aliyun Mcp Server
aliyun-mcp-server is a server that provides tools for interacting with Aliyun (Alibaba Cloud) services, enabling users to query logs and manage cloud resources through Claude.
Use cases
Use cases include querying logs for error monitoring, managing cloud resources, and deploying serverless applications in a streamlined manner.
How to use
To use aliyun-mcp-server, you need to configure it in your claude_desktop_config.json or Cline MCP settings file by specifying the command, arguments, and environment variables including your Aliyun access keys and SLS endpoint.
Key features
Key features include querying SLS (Simple Log Service) logs, future capabilities to manage ECS instances, and the ability to deploy serverless functions.
Where to use
aliyun-mcp-server can be used in cloud computing environments, particularly for applications that require log management and resource management on Alibaba Cloud.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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:
npm install npm run build
Usage 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
}
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










