Basic information
About mcp-cli (MCP client)
A CLI inspector for the Model Context Protocol
mcp-cli is a MCP client in the Agent Framework category listed in the AddMCP.net directory, published by wong2. Runtime: node. License: GPL-3.0 license. The repository has 332 GitHub stars. Source code is hosted on github.com.
mcp-cli (MCP client) config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
mcp-cli (MCP client) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-cli?
mcp-cli is a command-line inspector for the Model Context Protocol (MCP). It is run via npx and requires Node.js/npm.
How to use mcp-cli?
You can run npx @wong2/mcp-cli without arguments to use the Claude Desktop config file, or specify a config file with -c config.json. Servers can also be started from NPM packages, locally developed scripts, or connected to running Streamable HTTP or SSE servers.
Key features of mcp-cli
- Run MCP servers from various sources
- List Tools, Resources, and Prompts
- Call Tools, Read Resources, and Read Prompts
- OAuth support for SSE and Streamable HTTP servers
- Connect to running servers over SSE or Streamable HTTP
Use cases of mcp-cli
- Inspect and interact with MCP servers directly from the terminal
- Test locally developed MCP servers before integrating them into an application
- Debug existing MCP servers by listing available tools, resources, and prompts
Frequently asked questions
1 What kinds of MCP servers can be used with mcp-cli?
mcp-cli supports servers defined in a Claude Desktop config file, NPM packages, local scripts (node path/to/server.js), and running servers over Streamable HTTP (--url) or SSE (--sse).
2 Does mcp-cli support OAuth?
Yes, mcp-cli has OAuth support for SSE and Streamable HTTP servers.
3 How do I clear stored data like OAuth tokens?
Run npx @wong2/mcp-cli purge to purge stored data.
4 Can I use mcp-cli without installing anything?
Yes, you can run it directly with npx @wong2/mcp-cli – no global install is required.
5 What is the connection format for a running server?
Use --url \x3Cendpoint> for Streamable HTTP servers or --sse \x3Cendpoint> for SSE servers, for example --url http://localhost:8000/mcp.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In