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

@instacodeio/create-mcp-server

v0.1.0

Published

Scaffold a new MCP server with InstaCode's conventions

Readme

@instacodeio/create-mcp-server

Scaffold a new MCP (Model Context Protocol) server with the conventions used in InstaCode's MCP repos.

Usage

npm create @instacodeio/mcp-server my-mcp-server

You'll be prompted for package name, bin name, GitHub owner/repo, and author. Then:

cd my-mcp-server
npm install
npm run build
npm run inspect   # poke at the example "echo" tool in MCP Inspector

Non-interactive form (for CI or scripted use):

npm create @instacodeio/mcp-server my-mcp-server -- \
  --bin my-mcp-server \
  --description "MCP server for X" \
  --repo-owner InstaCode \
  --no-prompt

What it gives you

my-mcp-server/
├── package.json          # @instacodeio scope, OIDC publish ready
├── tsconfig.json         # strict TS, ES2022, NodeNext
├── README.md             # setup, MCP Inspector, Claude Desktop, publishing
├── LICENSE
├── SECURITY.md
├── CHANGELOG.md
├── CLAUDE.md             # conventions for AI agents adding tools
├── .env.example
├── .gitignore
├── .github/
│   ├── workflows/
│   │   ├── ci.yml        # typecheck + build + tools/list smoke test
│   │   └── publish.yml   # OIDC trusted publish on v* tags
│   └── expected-tools.json
└── src/
    ├── index.ts          # bootstrap (stdio, McpServer, registerTools)
    ├── env.ts            # getRequiredEnv helper
    ├── result.ts         # ok / fail / wrap — handlers stay short
    ├── schemas.ts        # zod input schemas, .strict() + .describe()
    └── tools/
        ├── index.ts      # registerTools(server)
        └── echo.ts       # example tool — replace with yours

Why this template

Both icloud-drive-mcp-server and icloud-calendar-mcp-server ended up with the same skeleton — same tsconfig, same scripts, same OIDC publish flow, same env-validation pattern. They each reinvented ok / fail / wrap slightly differently. This template promotes the better version of each pattern and gives Claude a CLAUDE.md that documents the conventions, so a generated tool lands in the right shape on the first try.

The CI smoke test reads .github/expected-tools.json instead of hard-coding tool names — adding a new tool means one JSON line, not a workflow edit.

License

MIT