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

@nithish611/mcp-inspector

v0.1.1

Published

A modern Model Context Protocol (MCP) client with beautiful UI, HTTP logging, and OAuth 2.1 support

Readme

MCP Client

A modern, feature-rich Model Context Protocol (MCP) client with a beautiful UI, comprehensive HTTP logging, and OAuth 2.1 support.

MCP Client License Node

Features

  • 🎨 Beautiful Modern UI - Clean, Postman-like interface for interacting with MCP servers
  • 🔐 OAuth 2.1 Support - Full OAuth 2.1 with PKCE and Dynamic Client Registration (DCR)
  • 📡 Multiple Server Connections - Connect to and manage multiple MCP servers simultaneously
  • 📝 Comprehensive Logging - View detailed HTTP request/response logs with headers
  • 🛠️ Tools, Resources & Prompts - Full support for all MCP capabilities
  • 🔍 Search & Filter - Quickly find servers and tools
  • 💾 Persistent State - Remembers your server configurations and tool inputs
  • ⌨️ Keyboard Shortcuts - Execute tools with Cmd+Enter

Installation

Using npx (Recommended)

npx @nithish611/mcp-inspector

Global Installation

npm install -g @nithish611/mcp-inspector
mcp-client

From Source

git clone https://github.com/nithish611/mcp-inspector.git
cd mcp-inspector
npm install
npm run build
npm start

Usage

Basic Usage

# Start on default port 3000
mcp-client

# Start on a custom port
mcp-client --port 8080
mcp-client -p 4000

Command Line Options

| Option | Description | Default | |--------|-------------|---------| | -p, --port <number> | Port to run the server on | 3000 | | -h, --help | Show help message | - | | -v, --version | Show version number | - |

Environment Variables

| Variable | Description | |----------|-------------| | PORT | Server port (overridden by --port flag) | | OAUTH_ENCRYPTION_KEY | Encryption key for OAuth tokens | | AUTH_ENCRYPTION_SECRET | Alternative encryption key for OAuth tokens | | OAUTH_REDIRECT_URI | OAuth redirect URI |

Connecting to MCP Servers

HTTP/SSE Servers

  1. Click "Add" to add a new server
  2. Enter a name and the server URL
  3. For OAuth-protected servers, enable OAuth and configure scopes
  4. Click "Connect"

Stdio Servers

  1. Click "Add" to add a new server
  2. Select "Stdio" transport type
  3. Enter the command and arguments
  4. Click "Connect"

OAuth 2.1 Support

MCP Client supports OAuth 2.1 with:

  • PKCE (Proof Key for Code Exchange) for enhanced security
  • Dynamic Client Registration (RFC 7591) for automatic client setup
  • Protected Resource Metadata (RFC 9728) for server discovery
  • Authorization Server Metadata (RFC 8414) for auth server discovery

Connecting to OAuth-Protected Servers

  1. Add a new server with the MCP server URL
  2. Enable OAuth in the server configuration
  3. (Optional) Add custom scopes
  4. Click "Connect" - you'll be redirected to the authorization server
  5. After authorization, you'll be redirected back and connected

Development

Prerequisites

  • Node.js >= 18.0.0
  • npm >= 8.0.0

Setup

# Install dependencies
npm install

# Start development servers (client + server with hot reload)
npm run dev

# Build for production
npm run build

# Start production server
npm start

Project Structure

mcp-client/
├── bin/              # CLI entry point
├── client/           # React frontend (Vite + TypeScript)
│   ├── src/
│   │   ├── components/   # UI components
│   │   ├── hooks/        # React hooks
│   │   ├── stores/       # Zustand stores
│   │   └── lib/          # Utilities
│   └── ...
├── server/           # Express backend (TypeScript)
│   ├── src/
│   │   ├── oauth/        # OAuth 2.1 implementation
│   │   └── ...
│   └── ...
├── scripts/          # Build scripts
└── dist/             # Production build output

API Reference

The server exposes the following API endpoints:

Connection

  • POST /api/connect - Connect to an MCP server
  • POST /api/disconnect - Disconnect from an MCP server
  • GET /api/status - Get connection status
  • GET /api/servers/connected - List connected servers

MCP Operations

  • GET /api/tools - List available tools
  • POST /api/tools/call - Execute a tool
  • GET /api/resources - List available resources
  • POST /api/resources/read - Read a resource
  • GET /api/prompts - List available prompts
  • POST /api/prompts/get - Get a prompt

OAuth

  • POST /api/oauth/authorize - Initiate OAuth flow
  • GET /api/oauth/callback - OAuth callback handler
  • GET /api/oauth/status - Get OAuth status
  • POST /api/oauth/revoke - Revoke authorization

Logs

  • GET /api/logs - Get all logs
  • DELETE /api/logs - Clear logs

WebSocket

  • ws://localhost:PORT/ws - Real-time updates

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE for details.

Acknowledgments