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

greet-say-hi-mcp

v1.0.3

Published

MCP 问候服务:终端命令 greetSayHi,支持启动 MCP 服务与版本管理

Downloads

36

Readme

greetSayHi

MCP 问候服务:提供终端命令 greetSayHi,可启动 MCP 服务(供 Cursor 等客户端使用),并支持版本管理。

安装

# 全局安装(推荐,获得 greetSayHi 命令)
npm install -g greet-say-hi-mcp

# 或本地安装
npm install greet-say-hi-mcp

用法

| 命令 | 说明 | |------|------| | greetSayHi | 启动 MCP 服务(默认),供 Cursor 等通过 stdio 调用 | | greetSayHi update | 全局安装 npm 上的最新版本 | | greetSayHi --help / greetSayHi -h | 显示帮助 |

示例

# 查看帮助
greetSayHi --help

# 启动 MCP 服务(在 Cursor MCP 配置中可配置为此命令)
greetSayHi

# 当包发布新版本后,用户运行此命令即可更新到最新版
greetSayHi update

在 Cursor 中使用 MCP

在 Cursor 的 MCP 配置(如 .cursor/mcp.json)中,添加:

{
  "mcpServers": {
    "greetSayHi": {
      "command": "greetSayHi"
    }
  }
}

若未全局安装,可写绝对路径,例如:

"command": "node",
"args": ["/path/to/node_modules/greet-say-hi-mcp/dist/cli.js"]

发布到 npm

  1. 注册/登录 npm(未登录时):

    npm login
  2. 填写仓库地址(可选):在 package.json 中把 repository.url 改成你的 Git 地址。

  3. 编译并发布

    cd greetSayHi
    npm install
    npm run build
    npm version patch   # 或 minor / major,再 npm publish
    npm publish
  4. 首次发布若使用作用域包(如 @yourname/greet-say-hi-mcp):在 package.json 中把 name 改为 @yourname/greet-say-hi-mcp,发布时使用 npm publish --access public

发布后,用户可通过 npm install -g greet-say-hi-mcp 安装,使用 greetSayHi 命令。

开发

npm install
npm run build    # 编译 TS → dist/
npm run start    # 运行 dist/index.js(仅 MCP 服务)
npm run dev      # 使用 tsx 直接运行 index.ts

License

MIT