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

jason-mcp-pwa-studio

v0.1.22

Published

Minimal Model Context Protocol server scaffold for Magento PWA Studio

Readme

pwa-mcp

面向 Magento 2 + PWA Studio 的 MCP 服务。

核心能力

  • getComponentContext:定位组件、关联 talon、GraphQL 查询
  • analyzeTalon:分析 talon 数据流与返回字段
  • validateQuery:按本地 schema 校验 GraphQL
  • runDevCommand:执行开发命令并返回结构化输出
  • runIssueClosureLoop / runIssueClosureLoopFromText:自动修复 + 自动测试闭环
  • contextBuilder/*:多项目上下文构建、压缩与缓存(L0/L1/L2)

快速开始

npm install
npm run build
npm run start

多项目上下文(Context Builder)

  • 项目清单:.mcp/projects.json
  • 缓存目录:.mcp/context-cache
  • 指纹策略:基于 package/lock/schema/config 哈希自动失效

更多见:CONTEXT_BUILDER.md

闭环模式说明

用户只需一句话 issue(尽量带 URL),即可进入闭环:

  1. 收集上下文(组件/talon/query/schema)
  2. 最小改动修复
  3. 可访问性确认
  4. 浏览器实测(交互、console、network、DOM)
  5. 失败回滚到下一轮,直到满足通过标准

适用场景

  • PDP/PLP 业务异常排查
  • GraphQL 字段不匹配
  • talon 返回值链路问题
  • 本地开发回归验证自动化