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

@kevinwatt/shell-mcp

v0.4.17

Published

Shell command execution MCP server

Readme

shell-mcp

Shell command execution MCP server

Version License

An MCP server implementation that provides secure shell command execution capabilities for LLMs.

Features

  • Secure Execution: Whitelisted commands and arguments only
  • Resource Control: Memory and CPU usage monitoring
  • Timeout Control: Automatic termination of long-running commands
  • Size Limits: Output size restrictions for safety
  • MCP Integration: Works with Claude and other MCP-compatible LLMs

Installation

npm install @kevinwatt/shell-mcp

Configuration with Dive Desktop

  1. Click "+ Add MCP Server" in Dive Desktop
  2. Copy and paste this configuration:
{
  "mcpServers": {
    "shell": {
      "command": "npx",
      "args": [
        "-y",
        "@kevinwatt/shell-mcp"
      ]
    }
  }
}

Tool Documentation

  • shell_ls, shell_pwd, shell_df, etc.
    • Execute whitelisted shell commands
    • Inputs:
      • command (string, required): Command to execute
      • args (array, optional): Command arguments
      • timeout (number, optional): Execution timeout in ms

Usage Examples

Ask your LLM to:

"Show current directory using shell_pwd"
"List files using shell_ls with -l argument"
"Check disk usage using shell_df with -h argument"

Manual Start

If needed, start the server manually:

npx @kevinwatt/shell-mcp

Requirements

  • Node.js 18+
  • MCP-compatible LLM service

Development

# Install dependencies
npm install

# Watch mode
npm run watch

# Run tests
npm test

# Lint
npm run lint

License

MIT © Dewei Yen

Keywords

  • mcp
  • shell
  • command
  • claude
  • llm
  • automation

Available Commands

The following shell commands are available:

| Command | Description | Allowed Arguments | |------------|-------------------------------------------------------|-------------------------------------| | ls | List directory contents | -l, -a, -h, -R, --help, * | | cat | Concatenate and display file contents | -n, -b, --help, * | | pwd | Show current working directory | None | | df | Show disk usage | -h, -T, --help | | echo | Display text | Any text | | ps | Show process status | -e, -f, -u, --help | | free | Show memory usage | -h, -m, -g, --help | | uptime | Show system uptime | None | | date | Show system date and time | +%Y-%m-%d, +%H:%M:%S, --help | | grep | Search text patterns in files | -i, -v, -n, -r, -l, --color, * | | w | Show who is logged on and what they are doing | -h, -s, --no-header, --help | | whois | Query WHOIS domain registration information | -H, * | | find | Search for files in a directory hierarchy | -name, -type, -size, -mtime, * | | netstat | Network connection information | -a, -n, -t, -u, -l, -p, --help | | lspci | List PCI devices | -v, -k, -mm, -nn, --help | | lsusb | List USB devices | -v, -t, -d, -s, --help | | dig | DNS lookup utility | +short, +trace, +dnssec, @, * | | nslookup | Query DNS records | -type=, -query=*, * | | ip | Show network devices and interfaces | addr, link, route, neigh, -br, * | | whereis | Locate binary, source and manual files | -b, -m, -s, * |