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-ts

v0.3.4

Published

Create a new MCP server in TypeScript, batteries included.

Downloads

12

Readme

Getting started with your MCP server

This project was bootstrapped with create-mcp-ts.

It provides a basic template for building an MCP (Model Context Protocol) server using TypeScript.

Quick start

npm run setup
npm run dev

Available scripts

In the project directory, you can run:

npm run dev

Builds the MCP server to the dist folder and watches source files for changes.
Changes will trigger a rebuild of the server.

npm run build

Builds the MCP server to the dist folder.
It bundles your code for production use e.g. publishing to npm.

npm run setup

This script helps configure your MCP server in Cursor, Windsurf, and Claude Desktop.
It checks the respective configuration files (.json) and adds an entry for your server if it doesn't exist, pointing to the server script (dist/index.js).

{
  "mcpConfig": {
    "your-mcp-server": {
      "command": "node",
      "args": ["/path/to/your-mcp-server/dist/index.js"]
    }
  }
}

Note: You might need to adjust the "command" if your Node.js installation is not in the default system PATH, especially when using version managers like nvm or nodenv. See the Troubleshooting section in the create-mcp-ts README for details.

npm run eject

This is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the included build tools (mcp-scripts), you can eject at any time. This command will remove the mcp-scripts dependency from your project.

Instead, it will copy any configuration files and the transitive dependencies right into your project so you have full control over them. All commands except eject will still work, but they will point to the copied configurations. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for many deployments. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Publishing your MCP server

If you plan to share your MCP server, you can publish it to npm:

  1. Set "version" in package.json and ensure "private" is set to false.
  2. Run npm install.
  3. Run npm run build.
  4. Run npm login (if needed).
  5. Run npm publish.

Troubleshooting

See the Troubleshooting section in the create-mcp-ts README for common issues.

Learn more

  • Model Context Protocol (MCP): Learn more about the protocol at modelcontextprotocol.io.
  • create-mcp-ts: Check out the tool that created this template here.
  • TypeScript: Learn more about TypeScript here.