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

@llxxbb/mcp-prototype

v0.1.9

Published

基于Model Context Protocol(MCP)协议开发的AI辅助工具,旨在帮助开发者快速构建软件原型。

Readme

MCP-Prototype

可以让 AI 基于HTML直接进行原型设计的 MCP 工具,即使没有 figma、axure也可以快速构建软件原型。

工具能力:

  • 提供导航栏。

  • 标记与原型解耦。

  • 支持页面附加说明

配置方法

AI MCP 配置增加下面的内容

{
  "mcpServers": {
    "mcp-prototype": {
      "command": "npx",
      "args": [
        "-y",
        "@llxxbb/mcp-prototype"
      ]
    }
  }
}

本地调试

    "mcp-prototype": {
      "command": "npm",
      "args": [
        "--prefix",
        "path/to/mcp-prototype",
        "start:mcp"
      ]
    }

AI 提示词建议

在原型设计前:

要求:

  • 请按原型工具规范进行原型设计。

  • 需求:abcd...

使用过程中,如想展示原型,直接输入:

展示原型

原型展示会启动一个后台,所以不需要多次输入指令,否则会启动多个实例。

如想关闭,可输入:

停止展示

关闭原型

使用规范

  • 导航栏:

    • 层级定义:与原型所在文件系统的目录结构一一对应。

    • 原型名称:来源于原型页面标签的 data-nav-name 数据属性值,如省略则使用文件名。

  • 功能注入,MCP-Prototype 会为每个 HTML 页面注入:

    • mcp-prototype-inject.js 文件,用于展示标记。
  • 标记:通过设置 UI 元素的 data-marker 数据属性来增强使用者对UI元素的理解,可选。如相关界面元素的意义已经非常明显,则不建议配置。

                         

  • 页面的附加说明,用于表达原型页面无法表达的内容,如设计理念,元素拖拽,注意事项等。markdown 格式,文件名格式为[原型页面文件名].annotation.md

具体参考:src\mcp\tool\getSpec.ts 文件

技术栈

  • nodejs, SvelteKit, Vite,ts