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

yun-elp-mcp

v1.8.0

Published

yun-elp MCP server

Readme

yun-elp MCP Server

yun-elp 的 MCP(Model Context Protocol)服务。面向 Cursor 等 AI IDE,提供组件列表、API 文档和示例代码查询。

yun-elp 是基于 Element Plus 的 Vue 3 业务组件库,模板中使用 y- 前缀标签(如 y-buttony-table)。

功能

  • 列出所有 yun-elp 组件
  • 按关键词搜索组件
  • 获取组件 Props、Events、Slots、Methods 及示例索引
  • 按需获取组件使用示例源码

安装与配置

npm 包名:yun-elp-mcp

在 Cursor 等 MCP 客户端中配置:

{
  "mcpServers": {
    "yun-elp": {
      "command": "npx",
      "args": ["-y", "yun-elp-mcp"]
    }
  }
}

推荐使用 npx,自动拉取最新版本。

工具说明

1. list_components

列出所有可用的 yun-elp 组件(标签名、描述、文档 URL)。

2. search_components

按关键词搜索组件(匹配标签名与描述)。

参数:

  • keyword:搜索词
  • limit(可选):最大返回数量

3. get_component

获取指定组件的详细信息。

参数:

  • tagName:组件标签名,例如 y-buttony-table

返回:

  • tagNamedescriptiondetailedDescriptiondocUrl
  • propseventsslotsmethods
  • examples:示例索引,不包含源码

4. get_component_examples

获取组件的使用示例索引;需要源码时可按需读取。

参数:

  • tagName:组件标签名,例如 y-dialog
  • exampleName(可选):示例名称
  • includeSource(可选):是否返回示例源码,默认 false

使用示例

配置完成后,可在 AI 对话中直接提问,例如:

  • 「列出所有 yun-elp 组件」
  • 「获取 y-button 的 API」
  • 「搜索表格相关组件」
  • 「给我 y-dialog 的使用示例」

数据来源

组件 API 元数据由仓库内 docs/components/*/index.mddist/web-types.json 抽取生成。示例源码不提交到仓库,发布构建时从 docs/components/*/*.vue 生成到 MCP 包的 dist/examples

相关链接

许可证

MIT