npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dong_tech/aliyun-sls-mcp

v0.1.8

Published

MCP Server for Alibaba Cloud SLS (Log Service)

Downloads

970

Readme

@dong_tech/aliyun-sls-mcp

npm version

MCP Server for Alibaba Cloud SLS (Log Service).

安装

前置要求

  • uv - Python 包管理器
# 安装 uv
curl -LsSf https://astral.sh/uv/install.sh | sh

使用 npx(推荐)

无需安装,直接使用:

{
  "mcpServers": {
    "aliyun-sls": {
      "command": "npx",
      "args": ["-y", "@dong_tech/aliyun-sls-mcp"],
      "env": {
        "SLS_ENDPOINT": "cn-hangzhou.log.aliyuncs.com",
        "SLS_ACCESS_KEY_ID": "your-access-key-id",
        "SLS_ACCESS_KEY_SECRET": "your-access-key-secret",
        "SLS_PROJECT": "your-project",
        "SLS_LOGSTORE": "your-logstore"
      }
    }
  }
}

全局安装

npm install -g @dong_tech/aliyun-sls-mcp

配置

| 环境变量 | 必填 | 说明 | 示例 | |---------|------|------|------| | SLS_ENDPOINT | ✅ | SLS 服务端点 | cn-hangzhou.log.aliyuncs.com | | SLS_ACCESS_KEY_ID | ✅ | 阿里云 AccessKey ID | LTAI5t... | | SLS_ACCESS_KEY_SECRET | ✅ | 阿里云 AccessKey Secret | abc123... | | SLS_PROJECT | ✅ | SLS 项目名称 | my-log-project | | SLS_LOGSTORE | ❌ | 默认日志库 | my-logstore |

可用工具

| 工具 | 说明 | |------|------| | list_logstores | 列出所有日志库 | | query_logs | 查询日志(支持分页) | | analyze_errors | 分析错误日志 | | search_keyword | 搜索关键字(支持分页) |

资源

  • sls://config - 获取配置信息
  • sls://help - 查询语法帮助

相关链接

License

MIT