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

mcp-list-tools

v1.0.3

Published

A simplified command-line tool to list available tools, resources, and prompts from MCP (Model Context Protocol) servers

Readme

mcp-list-tools

A simplified command-line tool to list available tools, resources, and prompts from MCP (Model Context Protocol) servers.

Why This Tool?

The official MCP Inspector requires remembering a complex command structure:

npx @modelcontextprotocol/inspector --cli <server_command> --method tools/list

With mcp-list-tools, you can simply use:

npx mcp-list-tools <server_command>

Installation

No installation required! Use it directly with npx:

npx mcp-list-tools --help

Usage

Basic Usage

# List tools from a local Node.js server
npx mcp-list-tools node build/index.js

# List tools from an NPM package server
npx mcp-list-tools npx @modelcontextprotocol/server-filesystem /path/to/directory

# List tools from a Python server
npx mcp-list-tools python -m my_mcp_server

# List tools from a remote server
npx mcp-list-tools https://my-mcp-server.example.com

Advanced Options

# List resources instead of tools
npx mcp-list-tools node build/index.js --resources

# List prompts instead of tools
npx mcp-list-tools node build/index.js --prompts

# Use HTTP transport for remote servers (default is SSE)
npx mcp-list-tools https://my-server.com --transport http

# Show verbose output (displays the underlying inspector command)
npx mcp-list-tools node build/index.js --verbose

Command Reference

Options

  • --help, -h: Show help message
  • --version, -v: Show version information
  • --transport <type>: Specify transport type for remote servers (default: sse)
  • --verbose: Show verbose output including the full inspector command
  • --resources: List resources instead of tools
  • --prompts: List prompts instead of tools

Examples

Local Development

# TypeScript/JavaScript server
npx mcp-list-tools node dist/index.js
npx mcp-list-tools node build/server.js --port 3000

# Python server
npx mcp-list-tools python -m my_mcp_server
npx mcp-list-tools python server.py --config config.json

NPM Package Servers

# Filesystem server
npx mcp-list-tools npx @modelcontextprotocol/server-filesystem /Users/username/Documents

# GitHub server
npx mcp-list-tools npx @modelcontextprotocol/server-github --token YOUR_TOKEN

# Slack server
npx mcp-list-tools npx @modelcontextprotocol/server-slack --token YOUR_SLACK_TOKEN

Remote Servers

# Default SSE transport
npx mcp-list-tools https://api.example.com/mcp

# HTTP transport
npx mcp-list-tools https://api.example.com/mcp --transport http

# With authentication (if supported by the server)
npx mcp-list-tools https://api.example.com/mcp --transport http

Different Content Types

# List available tools (default)
npx mcp-list-tools node server.js

# List available resources
npx mcp-list-tools node server.js --resources

# List available prompts
npx mcp-list-tools node server.js --prompts

What This Tool Does

This tool is a simple wrapper around the official @modelcontextprotocol/inspector CLI tool. It:

  1. Simplifies the command syntax
  2. Provides sensible defaults
  3. Offers convenient shortcuts for common operations
  4. Maintains full compatibility with the underlying inspector

Requirements

  • Node.js 14.0.0 or higher
  • The @modelcontextprotocol/inspector package (automatically installed via npx)

Troubleshooting

Common Issues

  1. "Command not found" errors: Make sure you have Node.js installed and npx is available
  2. Server connection issues: Verify your server is running and accessible
  3. Permission errors: Ensure your server command has proper permissions

Verbose Mode

Use the --verbose flag to see the exact inspector command being executed:

npx mcp-list-tools node server.js --verbose

This will show:

Running: npx @modelcontextprotocol/inspector --cli node server.js --method tools/list
---
[inspector output follows]

Contributing

This tool is designed to be simple and focused. If you have suggestions for improvements:

  1. Keep it simple - the goal is to reduce complexity, not add features
  2. Maintain compatibility with the underlying inspector
  3. Focus on common use cases

License

MIT License - see LICENSE file for details.

Related Projects