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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-mcp-lite

v0.3.0

Published

An interactive CLI to create MCP (Model Context Protocol) projects with mcp-lite

Readme

create-mcp-lite

An interactive CLI to create MCP (Model Context Protocol) projects with mcp-lite.

Usage

npm create mcp-lite@latest [project-name]

Features

  • 🚀 Interactive project setup
  • 📦 Automatic dependency installation
  • 🤖 AI assistant integration (Cursor, Claude Code, VSCode, Windsurf)
  • 🔧 Git initialization
  • 🎯 Template selection (Bun or Cloudflare Workers)

Templates

Bun Template

  • Local development with Bun runtime
  • Hono for HTTP routing
  • Zod for schema validation
  • Simple sum tool example

Cloudflare Workers Template

  • Edge deployment with Cloudflare Workers
  • Hono for HTTP routing
  • Zod for schema validation
  • Same sum tool example
  • Ready for wrangler deploy

Flow

  1. Which runtime? - Choose between Bun or Cloudflare Workers
  2. Target directory? - Project directory name (default: "my-mcp-server")
  3. Who is your copilot? - Choose your preferred AI coding assistant
  4. Install dependencies? - Automatically install project dependencies (always yes)
  5. Initialize git? - Set up git repository (skipped if already in a git repo)

Debugging

The CLI includes comprehensive logging to help debug issues. Logs are automatically saved to:

  • macOS: ~/Library/Logs/create-mcp-lite/
  • Linux: ~/.local/state/create-mcp-lite/logs/
  • Windows: %LOCALAPPDATA%\create-mcp-lite\Logs\

View Debug Logs

All CLI operations are automatically logged to files for debugging:

# Check the logs (macOS example)
tail -f ~/Library/Logs/create-mcp-lite/create-mcp-lite-*.log

# Or view the latest log file
ls -t ~/Library/Logs/create-mcp-lite/ | head -1 | xargs -I {} cat ~/Library/Logs/create-mcp-lite/{}

Environment Variables

  • CFP_LOG_DIR=/custom/path - Override log directory (optional)

Note: All debug information is automatically logged to files to avoid interfering with the interactive CLI prompts.

Development

# Install dependencies
bun install

# Build the CLI
bun run build

# Test locally (downloads templates from GitHub)
bun run dev

# Test locally with local templates (no GitHub download)
bun run dev:local

# Type check
bun run typecheck

# Lint and format
bun run lint

Environment Variables

  • TEMPLATE_ROOT_PATH - Path to local templates directory for development (e.g., ../../templates). When set, templates are copied from the local filesystem instead of being downloaded from GitHub. Used by dev:local script.

License

MIT