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

aeroly-mcp

v1.0.7

Published

MCP server for Aeroly component knowledge retrieval and documentation guidance.

Readme

中文 | English

aeroly-mcp

为 AI 编码工作流设计的 MCP Server,提供 Aeroly 组件检索与文档指引能力。

官网文档 | GitHub | npm

版本策略

[email protected] 起,aeroly-mcpaeroly 采用 1:1 版本映射

请使用相同版本号,避免 API/文档不匹配。

使用方式

在 Kiro 中配置

Kiro 通过 mcpServers 配置 MCP Server。

工作区级别配置(推荐):.kiro/settings/mcp.json

{
  "mcpServers": {
    "aeroly": {
      "command": "npx",
      "args": [
        "aeroly-mcp@latest"
      ],
      "autoApprove": [
        "list_components",
        "search_components",
        "get_component_doc",
        "refresh_component_index"
      ]
    }
  }
}

用户级别配置(所有项目生效):~/.kiro/settings/mcp.json

{
  "mcpServers": {
    "aeroly": {
      "command": "npx",
      "args": [
        "aeroly-mcp@latest"
      ],
      "autoApprove": [
        "list_components",
        "search_components",
        "get_component_doc",
        "refresh_component_index"
      ]
    }
  }
}

如果你的环境会阻止 npm 交互提示,使用:

{
  "mcpServers": {
    "aeroly": {
      "command": "npx",
      "args": [
        "-y",
        "aeroly-mcp@latest"
      ],
      "autoApprove": [
        "list_components",
        "search_components",
        "get_component_doc",
        "refresh_component_index"
      ]
    }
  }
}

如需严格匹配 Aeroly 版本,将 latest 替换为具体版本号:

{
  "mcpServers": {
    "aeroly": {
      "command": "npx",
      "args": [
        "[email protected]"
      ],
      "autoApprove": [
        "list_components",
        "search_components",
        "get_component_doc",
        "refresh_component_index"
      ]
    }
  }
}

配置加载后,可以让 AI 调用以下工具:

  • list_components
  • search_components
  • get_component_doc
  • refresh_component_index

Token 优化(可选):

  • get_component_doc 默认行为是 level: "brief"(无需额外设置)
  • 仅需 API 信息时使用 level: "brief"(更少 token,更快响应)
  • 需要完整文档和示例时使用 level: "full"

npm 包内容

本包内置了预构建的文档和索引,用户项目中无需 Aeroly 源码:

  • data/docs/*.md(快照文档,从 src/*/index.md 生成)
  • data/docs-api/*.md(API 精简文档:组件标题 + API 部分)
  • data/component-index.json

<code src="..."> 示例在构建时已内联,demo 代码可直接阅读。

本地开发

cd mcp
npm install
npm run build:all
npm run smoke
npm start

工具一览

  • list_components:列出组件元数据(支持 group/query/offset/limit,返回 hasMore/nextOffset
  • search_components:按意图/关键词检索最匹配的组件
  • get_component_doc:返回纯 markdown 文本;支持 level="brief"(默认,仅 API)和 level="full"(完整文档含示例)
  • refresh_component_index:重建索引并热加载到服务器内存