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

create-mcp-cli

v1.0.0

Published

CLI工具用于创建基于Model Context Protocol的项目结构

Readme

Create MCP CLI

一个用于快速创建基于Model Context Protocol (MCP)项目的命令行工具

功能特点

  • 提供多种模板项目选择:OSS上传服务、自定义MCP服务
  • 交互式命令行界面,简化创建过程
  • 预配置的TypeScript开发环境
  • 自动安装依赖
  • 包含示例工具和服务实现

安装

npm install -g create-mcp-cli

使用方法

创建新项目

# 交互式创建项目
create-mcp

# 快速创建指定类型的项目
create-mcp my-project --type=oss

命令行选项

  • create [project-name]: 创建新的MCP项目
    • -t, --type <type>: 项目类型 (oss 或 custom)
    • -d, --dir <directory>: 指定目标目录
    • --desc <description>: 项目描述
    • --author <author>: 项目作者
    • --force: 强制创建(覆盖已存在的目录)
    • --skip-install: 跳过依赖安装
    • --examples: 包含示例代码 (默认: true)

可用项目模板

OSS 模板

阿里云对象存储(OSS)上传服务,基于MCP协议。提供文件上传工具,支持HTTP和stdio两种通信模式。

特点:

  • 阿里云OSS集成
  • 多配置源支持
  • 支持多种认证方式

自定义模板

可以自定义的MCP服务,提供基础框架和示例工具实现。支持HTTP和stdio两种通信模式。

特点:

  • 完全可自定义的工具实现
  • 预配置的SSE通信实现
  • 示例计算器和问候工具实现

开发

安装依赖

git clone https://github.com/yourusername/create-mcp-cli.git
cd create-mcp-cli
pnpm install

构建

pnpm run build

开发模式

pnpm run dev

自定义模板

  1. templates 目录创建新的模板文件夹
  2. 更新 src/index.ts 中的项目类型选项
  3. 为新模板添加必要的文件结构

许可证

MIT