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

@operatorkit/mcp2win

v0.2.1

Published

Convert MCP server configs to Windows-compatible format

Readme

mcp2win

Finally, MCP servers & commands that just work on Windows.

Every MCP server README assumes macOS or Linux. You copy the config, paste it in, and nothing happens — because npx, uvx, and friends are .cmd batch shims on Windows, not real executables. mcp2win fixes this by wrapping commands with cmd.exe /c so your MCP servers actually start.

Works with Claude Code/Desktop, VS Code, Cursor, Zed, Amazon Q, and Gemini CLI

Alternatively convert online at mcp2win.sh.

Quick start

No install needed — just prefix with npx. Copy any MCP server's install command, add npx @operatorkit/mcp2win in front, confirm, done:

# Converts and runs after confirmation
npx @operatorkit/mcp2win claude mcp add github-server -- npx -y @modelcontextprotocol/server-github
# Execute? [y]es / [n]o / [a]lways: y

# Fix a config file (confirms before writing)
npx @operatorkit/mcp2win claude_desktop_config.json

npx @operatorkit/mcp2win '{"command":"npx","args":["-y","@pkg"]}'

Install globally

npm i -g @operatorkit/mcp2win

Then use directly:

mcp2win claude mcp add github-server -- npx -y @modelcontextprotocol/server-github
mcp2win claude_desktop_config.json
mcp2win '{"command":"npx","args":["-y","@pkg"]}'

Usage

Translate & run CLI commands (confirms before executing):

mcp2win claude mcp add srv -- npx -y @pkg
mcp2win code --add-mcp '{"name":"srv","command":"npx","args":["-y","@pkg"]}'
mcp2win qchat mcp add -- npx -y @pkg
mcp2win gemini mcp add srv -- npx -y @pkg
mcp2win -y claude mcp add srv -- npx -y @pkg      # skip confirmation
mcp2win --dry-run claude mcp add srv -- npx -y @pkg  # preview only

Transform config files (confirms before writing):

mcp2win config.json                        # confirm + write (creates .bak backup)
mcp2win -y config.json                     # skip confirmation
mcp2win -o windows_config.json config.json # write to different file
mcp2win --dry-run config.json              # preview only

Convert JSON (inline or stdin):

mcp2win '{"command":"npx","args":["-y","@pkg"]}'
cat config.json | mcp2win

Update:

mcp2win update                                  # update to latest version

Preferences:

mcp2win config get                              # show preferences
mcp2win config set always_exec_cli true         # skip CLI confirmation
mcp2win config set always_write_file true       # skip file confirmation
mcp2win config reset                            # reset all

Flags

| Flag | Description | |---|---| | --yes, -y | Skip confirmation prompt | | --dry-run | Preview only, no action | | --quiet | Suppress preview output | | --no-backup | Skip .bak when writing files | | -o <path> | Write to a different file | | --unwrap | Reverse: remove cmd.exe /c wrapping | | --resolve | Resolve commands to absolute paths via PATH/PATHEXT | | --no-color | Disable colored output |

What it does

  • Wraps shim commands (npx, uvx, pnpx, bunx, yarn, tsx, etc.) with cmd.exe /c
  • Skips native executables (node, python, deno, bun)
  • Skips HTTP/SSE transports and already-wrapped commands
  • Preserves all extra fields (env, disabled, etc.)
  • Idempotent — safe to run multiple times

Full documentation on GitHub

License

MIT