1. Conduid
  2. Commerce
  3. wong2/mcp-cli
MCP server · Commerce

wong2/mcp-cli

A CLI inspector for the Model Context Protocol

Unclaimed GPL-3.0 commerce
67Good

Scored 14 hours ago · breakdown

About wong2/mcp-cli

wong2/mcp-cli is an MCP server published by wong2 in the Commerce category: a CLI inspector for the Model Context Protocol.

The repository has 446 stars and 40 forks, with the last commit 4 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add mcp-cli-wong2 -- npx -y @wong2/mcp-cli
npx
npx -y @wong2/mcp-cli

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about wong2/mcp-cli

Powered by Claude · Grounded in docs

I know everything about wong2/mcp-cli. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 14 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v2.0.0v2.0.0
v1.13.0v1.13.0
v1.12.0v1.12.0
v1.11.0v1.11.0
v1.10.0v1.10.0

README

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>

Add --pass-env if the server needs environment variables from your current shell.

Run locally developed server

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

Add --pass-env if the server needs environment variables from your current shell.

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

Non-interactive mode

Run a specific tool, resource, or prompt without interactive prompts:

npx @wong2/mcp-cli [--config config.json] <command> <server-name>:<target> [--args '{}']

Examples:

# Call a tool without arguments
npx @wong2/mcp-cli -c config.json call-tool filesystem:list_files

# Call a tool with arguments
npx @wong2/mcp-cli -c config.json call-tool filesystem:read_file --args '{"path": "package.json"}'

# Read a resource
npx @wong2/mcp-cli -c config.json read-resource filesystem:file://system/etc/hosts

# Use a prompt
npx @wong2/mcp-cli -c config.json get-prompt filesystem:create_summary --args '{"text": "Hello world"}'

This mode is useful for scripting and automation, as it bypasses all interactive prompts and executes the specified primitive directly.

Purge stored data (OAuth tokens, etc.)

npx @wong2/mcp-cli purge

Related

README fetched from the repository 14 hours ago. The original is authoritative.

Questions

About wong2/mcp-cli

How do I install wong2/mcp-cli?

Run claude mcp add mcp-cli-wong2 -- npx -y @wong2/mcp-cli, then add the server to your MCP client's configuration.

Is wong2/mcp-cli safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is wong2/mcp-cli still maintained?

Yes — the last commit was 4 months ago. The repository has 446 stars and 40 forks and 9 open issues.