🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@wong2/mcp-cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wong2/mcp-cli

A CLI inspector for the Model Context Protocol

1.10.0
latest
npm
Version published
Weekly downloads
3.1K
260.52%
Maintainers
1
Weekly downloads
 
Created
Source

mcp-cli

A CLI inspector for the Model Context Protocol

https://github.com/user-attachments/assets/4cd113e9-f097-4c9d-b391-045c5f213183

Features

  • Run MCP servers from various sources
  • List Tools, Resources, Prompts
  • Call Tools, Read Resources, Read Prompts
  • OAuth support for SSE and Streamable HTTP servers

Usage

Run without arguments

npx @wong2/mcp-cli

This will use the config file of Claude Desktop.

Run with a config file

npx @wong2/mcp-cli -c config.json

The config file has the same format as the Claude Desktop config file.

Run servers from NPM

npx @wong2/mcp-cli npx <package-name> <args>

Run locally developed server

npx @wong2/mcp-cli node path/to/server/index.js args...

Connect to a running server over Streamable HTTP

npx @wong2/mcp-cli --url http://localhost:8000/mcp

Connect to a running server over SSE

npx @wong2/mcp-cli --sse http://localhost:8000/sse

Purge stored data (OAuth tokens, etc.)

npx @wong2/mcp-cli purge

Keywords

MCP

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts