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

zhicun2-mcp

v0.3.2

Published

智存 2.0 MCP — 阻塞等待用户在 Cursor 扩展侧边栏中交互

Downloads

23

Readme

zhicun2-mcp

智存 2.0 的 MCP 服务:AI 通过 zhi 工具在扩展侧边栏与用户交互,并阻塞等待回复。

需配合 智存 2.0 Cursor 扩展.vsix)使用。

安装(给最终用户)

1. 安装扩展

Cursor → 扩展...从 VSIX 安装… → 选择 zhicun2-x.x.x.vsix

2. 配置 MCP

~/.cursor/mcp.json(Windows: C:\Users\<用户名>\.cursor\mcp.json)或项目 .cursor/mcp.json 中加入:

{
  "mcpServers": {
    "zhicun2": {
      "command": "npx",
      "args": ["-y", "zhicun2-mcp"],
      "env": {
        "ZHICUN2_WORKSPACE": "${workspaceFolder}"
      }
    }
  }
}

3. 重载 Cursor

Developer: Reload Window,确认 MCP 面板中 zhicun2 已连接。

4. 验证

让 Agent 调用 ping,应返回 ✅ 智存扩展在线

环境变量(可选)

| 变量 | 说明 | |------|------| | ZHICUN2_WORKSPACE | 当前工作区路径,多窗口时路由到对应扩展(推荐 ${workspaceFolder}) | | ZHICUN2_PORT | 强制指定扩展 HTTP 端口 | | ZHICUN2_WINDOW_ID | 强制指定 Cursor 窗口 ID |

工具

  • zhi — 向侧边栏发消息并阻塞等待用户回复
  • ping — 检测扩展是否在线
  • mem_read / mem_write — 读写工作区 .zhicun2/memory/

开发

npm install
npm run build
npm publish   # 需 npm 登录