The mcp-cli is a command-line tool for inspecting and interacting with Model Context Protocol (MCP) servers, allowing users to list, call, and read various components from different sources.
A CLI tool for inspecting and interacting with servers implementing the Model Context Protocol (MCP).
npx @wong2/mcp-cli
This uses the default configuration file, typically from Claude Desktop.
npx @wong2/mcp-cli -c config.json
The config file should adhere to the format used by Claude Desktop.
npx @wong2/mcp-cli npx <package-name> <args>
npx @wong2/mcp-cli node path/to/server/index.js args...
npx @wong2/mcp-cli --sse http://localhost:8000/sse
Requires an MCP server running over Server-Sent Events (SSE).
wong2/mcp-cli
December 5, 2024
March 28, 2025
JavaScript