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

mcpp-ui

v3.0.0

Published

代码模板搜索下载工具 - 功能模块、页面模板、代码片段

Readme

mcpp-ui

前端 UI 开发辅助工具 - UI 模板搜索、素材获取、组件库查询

安装

npm install -g mcpp-ui

配置

在 MCP 配置文件中添加:

{
  "mcpServers": {
    "ui": {
      "command": "npx",
      "args": ["-y", "mcpp-ui@latest"],
      "env": {
        "MCP_ACCESS_KEY": "your-access-key",
        "UI_DOWNLOAD_DIR": "./src"
      }
    }
  }
}

环境变量

| 变量 | 说明 | 默认值 | |------|------|--------| | MCP_ACCESS_KEY | 访问密钥 | 必填 | | UI_DOWNLOAD_DIR | 下载目录 | .mcpp-ui-downloads |

工具列表

| 工具 | 功能 | |------|------| | search_ui_pattern | 搜索 UI 组合方案(登录页、表格页、表单页等) | | get_ui_template | 获取 UI 模板代码 | | get_template_files | 获取模板包含的所有文件列表 | | download_template | 批量下载整个模板到本地 | | download_file | 下载单个文件到本地 | | search_assets | 搜索素材(图标、图片、插画) | | download_asset | 下载素材 | | search_components | 搜索组件库组件(TDesign、Ant Design、Element Plus) | | get_component_usage | 获取组件使用示例 | | get_color_palette | 获取配色方案 | | generate_layout | 根据描述生成布局代码 |

使用示例

搜索 UI 模板

search_ui_pattern({ keyword: "登录", framework: "vue" })

获取组件用法

get_component_usage({ componentName: "Table", library: "tdesign" })

搜索图标

search_assets({ keyword: "用户", type: "icon" })

生成布局

generate_layout({ description: "左侧菜单右侧内容区域", framework: "vue" })

支持的组件库

  • TDesign (tdesign)
  • Ant Design (antd)
  • Element Plus (element)

支持的框架

  • Vue 3 (vue)
  • React (react)
  • HTML (html)

获取 Access Key

访问 https://mcp.hxstudio.website 注册获取