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

@meta-boltz/mcp-gen

v1.0.1

Published

Quickly scaffold MCP (Model Context Protocol) projects with a single command

Readme

mcp-gen

🚀 Quickly scaffold MCP (Model Context Protocol) projects with a single command!

What is this?

mcp-gen is a CLI tool that helps you quickly create new MCP projects by copying a pre-configured template with all the necessary files and dependencies.

Features

  • Quick Setup: Generate a complete MCP project structure in seconds
  • 🎯 Interactive CLI: Uses Clack.js for a beautiful, user-friendly interface
  • 📁 Flexible Location: Choose where to create your project
  • 🔧 Auto-install: Optionally install dependencies automatically
  • 📝 Template-based: Based on a proven MCP project structure
  • 🎨 Modern Stack: TypeScript, ES modules, and latest MCP SDK

Installation

npm install -g @meta-boltz/mcp-gen

Or use it directly with npx (recommended):

npx -y @meta-boltz/mcp-gen

Usage

Basic Usage

npx -y @meta-boltz/mcp-gen

This will start an interactive CLI that asks you:

  1. MCP Project Name: What to name your MCP project (e.g., cool-mcp)
  2. Target Directory: Where to create the project (e.g., ./my-mcp-project)
  3. Install Dependencies: Whether to run npm install automatically

Example Session

$ npx -y @meta-boltz/mcp-gen

🚀 MCP Project Generator

? What would you like to name your MCP project? cool-mcp
? Where would you like to create your MCP project? ./cool-mcp
? Would you like to install dependencies after creating the project? Yes

Generating MCP project...
✅ Project generated successfully!
Installing dependencies...
✅ Dependencies installed successfully!

🎉 Your MCP project "cool-mcp" has been created at /path/to/cool-mcp

Next steps:
  cd ./cool-mcp
  npm run build
  npm start

What Gets Generated

The tool creates a complete MCP project structure:

your-project/
├── package.json          # Configured with MCP dependencies
├── tsconfig.ts          # TypeScript configuration
├── main.ts              # Main MCP server entry point
├── tools/               # MCP tools directory
│   ├── index.ts        # Tools export file
│   ├── tool1.ts        # Example tool 1
│   └── tool2.ts        # Example tool 2
└── helper/              # Helper utilities
    ├── index.ts        # Helper exports
    └── register.ts     # Tool registration helper

Dependencies Included

  • @modelcontextprotocol/sdk - Official MCP SDK
  • zod - Schema validation
  • typescript - TypeScript compiler
  • tsx - TypeScript execution
  • @types/node - Node.js type definitions

Development

Local Development

# Clone the repository
git clone <your-repo>
cd mcp-template

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Test the built version
npm start

Publishing

# Build the project
npm run build

# Publish to npm
npm publish

Project Structure

mcp-template/
├── src/                 # Source code
│   └── index.ts        # Main CLI entry point
├── templates/           # Template files to copy
│   ├── package.json    # Package configuration
│   ├── tsconfig.ts     # TypeScript config
│   ├── main.ts         # MCP server
│   ├── tools/          # MCP tools
│   └── helper/         # Helper utilities
├── dist/               # Built output (generated)
├── package.json        # Package configuration
└── tsconfig.json       # TypeScript configuration

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details

Support

If you encounter any issues or have questions:

  1. Check the MCP documentation
  2. Open an issue on GitHub
  3. Check existing issues for solutions

Made with ❤️ for the MCP community