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-xson-cline-app

v1.0.1

Published

Create XSON Cline applications with a single command

Readme

create-xson-cline-app

Create XSON Cline applications with a single command.

Quick Start

npx create-xson-cline-app my-app
cd my-app
npm run dev

Usage

Interactive Mode

npx create-xson-cline-app

The CLI will prompt you for:

  • Project name
  • Template selection
  • Package manager (npm, yarn, or pnpm)
  • Git initialization
  • Dependency installation

Command Line Mode

npx create-xson-cline-app <project-name> [options]

Options

  • -t, --template <template> - Template to use (default, mcp-server, cli-tool, vscode-extension)
  • -p, --package-manager <pm> - Package manager to use (npm, yarn, pnpm)
  • --no-git - Skip git initialization
  • --no-install - Skip dependency installation

Examples

# Create a default app
npx create-xson-cline-app my-app

# Create an MCP server
npx create-xson-cline-app my-mcp-server --template mcp-server

# Create a CLI tool with yarn
npx create-xson-cline-app my-cli --template cli-tool --package-manager yarn

# Create without installing dependencies
npx create-xson-cline-app my-app --no-install

Templates

Default

A basic Cline-integrated application. Perfect for getting started or building custom applications.

Use cases:

  • Learning Cline integration
  • Building custom applications
  • Rapid prototyping
npx create-xson-cline-app my-app --template default

MCP Server

A template for building custom Model Context Protocol (MCP) servers that extend Cline's capabilities.

Use cases:

  • Adding custom tools to Cline
  • Integrating external APIs
  • Building domain-specific assistants

Features:

  • Pre-configured MCP SDK
  • Example tools (hello, calculate)
  • TypeScript support
  • Ready for Cline integration
npx create-xson-cline-app my-mcp-server --template mcp-server

CLI Tool

A command-line tool template with common CLI patterns.

Use cases:

  • Building CLI applications
  • Task automation
  • Developer tools

Features:

  • Commander.js for CLI parsing
  • Chalk for colored output
  • Ora for spinners
  • Inquirer for prompts
npx create-xson-cline-app my-cli --template cli-tool

VS Code Extension

A template for building VS Code extensions integrated with Cline.

Use cases:

  • Extending VS Code with AI features
  • Custom editor commands
  • Workspace automation

Features:

  • VS Code extension scaffolding
  • TypeScript support
  • Example commands
  • Ready to debug (F5)
npx create-xson-cline-app my-extension --template vscode-extension

What's Included?

All templates include:

  • TypeScript - Type-safe development
  • Development mode - Hot reload with tsx watch
  • Build scripts - Production-ready builds
  • Git-friendly - Pre-configured .gitignore
  • Cline integration - .clinerules for AI assistance
  • Best practices - Recommended project structure

Project Structure

After creating a project, you'll have:

my-app/
├── src/
│   └── index.ts        # Main entry point
├── dist/               # Build output (generated)
├── node_modules/       # Dependencies
├── .gitignore
├── .clinerules         # Cline configuration
├── package.json
├── tsconfig.json
└── README.md

Development Workflow

  1. Create your project

    npx create-xson-cline-app my-app
    cd my-app
  2. Start development

    npm run dev
  3. Build for production

    npm run build
  4. Run tests

    npm test

MCP Server Integration

After creating an MCP server with this tool:

  1. Build your server: npm run build
  2. Open Cline settings in VS Code
  3. Navigate to MCP Servers
  4. Add your server configuration:
{
  "your-server-name": {
    "command": "node",
    "args": ["/absolute/path/to/your/server/dist/index.js"]
  }
}

Or if published to npm:

{
  "your-server-name": {
    "command": "npx",
    "args": ["your-package-name"]
  }
}

Requirements

  • Node.js >= 18.0.0
  • npm, yarn, or pnpm

Publishing to npm

To publish your package to npm:

  1. Update package.json

    • Change the name to your desired package name
    • Update description, author, and other metadata
  2. Build your project

    npm run build
  3. Login to npm

    npm login
  4. Publish

    npm publish

For MCP servers, consider publishing under the @xjson or your own npm scope.

Learn More

Contributing

Contributions are welcome! Please read our Contributing Guide for details.

License

Apache-2.0 © Cline Bot Inc.

Support


Made with ❤️ by the Cline team