huawei-lts-skill
Integrates with Huawei Cloud Log Tank Service (LTS) to manage log groups, log streams, and perform log searches and analysis.
Click on "Install 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., "@huawei-lts-skilllist my log groups"
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.
Huawei LTS Skill + MCP
A portable Agent Skill and lightweight stdio MCP server for Huawei Cloud Log Tank Service (LTS). It supports Cursor, Claude Code, OpenCode, and Codex without cloning the full upstream Huawei Cloud MCP repository.
What is included
Root
SKILL.mdwith progressive references and safe LTS workflows.A Python MCP server exposing 92 LTS operations backed by the official Huawei Cloud Python SDK.
Automatic macOS/Linux installers for four coding agents.
Locked runtime dependencies and tests that require no cloud credentials.
The runtime dependencies are limited to MCP Python SDK v1,
huaweicloudsdkcore, and huaweicloudsdklts, plus their required transitive
packages.
Related MCP server: aliyun-sls-mcp
Requirements
macOS or Linux
Python 3.10 or newer
At least one supported client
Huawei Cloud AK/SK with permissions appropriate to the operations you use
Install
git clone https://github.com/<owner>/huawei-lts-skill.git
cd huawei-lts-skill
./install.shInstall selected clients only:
./install.sh --platforms cursor,claude
./install.sh --platforms opencode,codexThe installer deploys the runtime to ~/.local/share/huawei-lts-skill, creates
an isolated .venv, installs the Skill, backs up existing client configs, and
merges the huawei-lts MCP entry. Override the deployment location with
HUAWEI_LTS_INSTALL_DIR=~/some/subdirectory.
Configure credentials
After installation, replace these placeholders in every selected client's MCP configuration:
HUAWEI_ACCESS_KEY=REPLACE_WITH_YOUR_AK
HUAWEI_SECRET_KEY=REPLACE_WITH_YOUR_SK
HUAWEI_REGION=REPLACE_WITH_YOUR_REGION
HUAWEI_PROJECT_ID=REPLACE_WITH_YOUR_PROJECT_IDConfiguration locations:
Client | Skill directory | MCP configuration |
Cursor |
|
|
Claude Code |
|
|
OpenCode |
|
|
Codex |
|
|
Do not commit client configurations containing real credentials. Restart the client after editing its configuration.
Use
Use huawei-lts to list log groups in {region}, project_id={project_id}.Search {log_group_id}/{log_stream_id} for {keyword} during the last hour.
Give me a concise conclusion and redacted examples.The Skill defaults to read-only inspection. Update, Delete, enable/disable, and batch Create operations require an explicit impact summary and user confirmation.
Upgrade and uninstall
Pull or download the new repository version and rerun ./install.sh. Installation
is idempotent and backs up affected client configs before updating them.
./uninstall.sh
./uninstall.sh --platforms cursor,codexUninstall removes only this Skill, its MCP entries, and its deployed runtime. It does not touch Huawei Cloud resources or unrelated client configuration.
Development
uv sync --extra dev
uv run pytest
uv run python scripts/generate_tools.py --checkThe checked-in tool manifest matches the current 92-tool MCP surface. When the Huawei LTS SDK changes, update the manifest deliberately and run the catalog validation before release.
Troubleshooting
uv is required: install uv and rerun the installer.MCP does not start: confirm the configured command exists under the deployed
.venv/bin/directory and restart the client.Missing credential/scope error: replace all four
HUAWEI_*placeholders.Empty resource list: verify that region and project ID belong together.
Permission error: grant only the LTS permissions required for the intended use.
The MCP never prints AK/SK. Cloud errors are normalized with an error category, request ID when available, and a retryability hint.
License
MIT. Huawei Cloud SDK packages retain their respective licenses.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jkrandom-sudo/huawei-lts-skill'
If you have feedback or need assistance with the MCP directory API, please join our Discord server