Wong2 CLI

Developer tools

A CLI inspector for the Model Context Protocol.

Your AI app calls the Wong2 CLI MCP server, which does the developer tools work and sends the result back to the chat.

About Wong2 CLI

Wong2 CLI is a community MCP server from wong2, filed in our directory under developer tools. A CLI inspector for the Model Context Protocol.

Wong2 CLI runs on your own machine: your AI app starts it with the command npx -y @wong2/mcp-cli and talks to it over standard input and output.

At a glance

Publisher
wong2 (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @wong2/mcp-cli
Written in
JavaScript
License
GPL-3.0
GitHub stars
446

How to set up Wong2 CLI

  1. Install Node.js on the machine that runs your AI app, because Wong2 CLI starts with npx and downloads its package on first run.
  2. Check the Wong2 CLI README for keys or settings; the registry lists none that Wong2 CLI requires.
  3. Add Wong2 CLI to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Wong2 CLI tools to confirm the connection.
  5. Run one read-only task with Wong2 CLI first, and keep your app asking before each tool call until the results look right.

Wong2 CLI compared with similar servers

  • Optics Framework by mozarkai has fewer GitHub stars than Wong2 CLI (444 against 446); both are community servers, and both run locally.
  • mcptoon by activeing123 has more GitHub stars than Wong2 CLI (447 against 446); both are community servers, and both run locally.
  • Agent Bridge by raysonmeng has fewer GitHub stars than Wong2 CLI (443 against 446); both are community servers, and both run locally.

Before you connect Wong2 CLI

  • Give Wong2 CLI its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Wong2 CLI tool call until you trust what it does with them.
  • Treat text that Wong2 CLI fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Wong2 CLI on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Wong2 CLI

How marketing and sales teams put Wong2 CLI to work, by company size. Pick the size closest to yours and start Wong2 CLI on one use case.

Small business

  • A small business with a developer can use Wong2 CLI to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Wong2 CLI to explain and fix a marketing site issue without context switching between tools.
  • Wong2 CLI runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Wong2 CLI to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Wong2 CLI to keep scripts and automations documented and versioned as they change.
  • Start Wong2 CLI on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Wong2 CLI with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Wong2 CLI so web and marketing engineering share one reviewed way of working with AI.
  • Wong2 CLI is a community server, so have security review the code and pin a version before Wong2 CLI touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Wong2 CLI README

From wong2/mcp-cli on GitHub, shared under its GPL-3.0 license. Images are left out; the original has them.

README.md

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

Questions about Wong2 CLI

What is the Wong2 CLI MCP server?

A CLI inspector for the Model Context Protocol. Wong2 CLI is maintained by wong2 on GitHub at wong2/mcp-cli, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Wong2 CLI MCP server?

Add Wong2 CLI to your AI app's MCP config with the command npx -y @wong2/mcp-cli. In Claude Code, run claude mcp add --transport stdio wong2-mcp-cli -- npx -y @wong2/mcp-cli. To run Wong2 CLI this way you need Node.js installed.

Does Wong2 CLI need an API key?

The registry lists no required keys for Wong2 CLI. Check the Wong2 CLI README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Wong2 CLI an official MCP server?

No. Wong2 CLI is a community server maintained by wong2. Community servers can be excellent; read the code and the open issues before you give Wong2 CLI access to company data.

What license is Wong2 CLI under?

Wong2 CLI is released under the GPL-3.0 license, according to its GitHub repository. The license covers the code of Wong2 CLI; the service it connects to has its own terms.