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

@yuelou/mcp-server-starter

v0.1.4

Published

An educational MCP server providing English learning tools and basic math functions

Downloads

17

Readme

MCP Server Starter (SSE Version)

这是一个基于 Node.js 的 Model Context Protocol (MCP) 服务脚手架工程,已配置为使用 SSE (Server-Sent Events) 进行通信。

功能

  • 包含基本的 MCP Server 配置。
  • 使用 TypeScript 开发。
  • 包含一个示例工具 calculate_sum
  • 支持通过 SSE (HTTP) 进行通信
  • 配置了 bin 入口,支持 npx 启动。

快速开始

1. 安装依赖

在项目根目录下运行:

npm install

2. 构建项目

npm run build

3. 启动服务

npm start

服务启动后,将运行在 http://localhost:3000/sse

部署与使用

通过 npx 使用

npx <your-package-name>

在 MCP 客户端中使用

由于使用了 SSE,你需要配置客户端通过 SSE 连接。

在 Claude Desktop 或其他 MCP 客户端的配置中,SSE 服务的配置方式可能略有不同,或者你需要使用支持 SSE 的代理。

如果客户端支持 sse 类型的连接,配置可能如下(示例):

{
  "mcpServers": {
    "my-server": {
      "url": "http://localhost:3000/sse"
    }
  }
}

注意:Claude Desktop 目前主要通过 stdio 连接本地进程。如果要连接 SSE 服务,通常需要一个网关或者使用支持 SSE 的客户端。

项目结构

  • src/index.ts: 服务入口,配置了 Express 服务器和 SSE Transport。
  • package.json: 项目配置和依赖。
  • tsconfig.json: TypeScript 配置。

API 端点

  • GET /sse: 建立 SSE 连接。
  • POST /messages: 发送 JSON-RPC 消息。