

MCP Cli
Overview :
mcp-cli is a command-line interface (CLI) checker for the Model Context Protocol (MCP). It allows users to run MCP servers, list tools, resources, and prompts, and invoke tools, read resources, and access prompts. This tool is crucial for developers as it simplifies the development and interaction processes with MCP servers, enabling more efficient management and debugging. mcp-cli is written in JavaScript, fully open-source, and its source code can be found on GitHub.
Target Users :
The primary target audience is developers and technical personnel, especially those who need to manage and debug MCP servers. mcp-cli provides a command-line interface that allows users to interact with MCP servers more quickly and flexibly, enhancing the efficiency of development and debugging.
Use Cases
Developers use mcp-cli to quickly start and test their developed MCP servers.
System administrators utilize mcp-cli to manage and monitor the operating status of multiple MCP servers.
Developers directly invoke tools and resources on the MCP server through mcp-cli's CLI interface to implement automation scripts.
Features
Run MCP servers: Supports running MCP servers from various sources.
List tools, resources, and prompts: Allows users to view available tools, resources, and prompts.
Invoke tools, read resources, access prompts: Enables direct interaction with MCP servers through the CLI.
Direct execution with npx or node commands: Simplifies the server startup process.
Configuration file compatibility: Can use the same configuration files as Claude Desktop.
Supports running local development servers: Facilitates testing and debugging of developers' own MCP servers.
How to Use
1. Install Node.js and npm, as mcp-cli is based on the Node.js environment.
2. Enter `npm install -g @wong2/mcp-cli` in the command line to install mcp-cli globally.
3. Run mcp-cli using `npx @wong2/mcp-cli`, which will use the configuration file from Claude Desktop.
4. If a specific configuration file is available, specify it with `npx @wong2/mcp-cli -c config.json`.
5. To run a server from NPM, use `npx @wong2/mcp-cli npx <package-name> <args>`.
6. For locally developed servers, run it with `npx @wong2/mcp-cli node path/to/server/index.js args...`.
7. Through the CLI interface, you can execute commands to list tools, resources, and prompts, as well as invoke tools, read resources, and access prompts.
Featured AI Tools

Pseudoeditor
PseudoEditor is a free online pseudocode editor. It features syntax highlighting and auto-completion, making it easier for you to write pseudocode. You can also use our pseudocode compiler feature to test your code. No download is required, start using it immediately.
Development & Tools
3.8M

Coze
Coze is a next-generation AI chatbot building platform that enables the rapid creation, debugging, and optimization of AI chatbot applications. Users can quickly build bots without writing code and deploy them across multiple platforms. Coze also offers a rich set of plugins that can extend the capabilities of bots, allowing them to interact with data, turn ideas into bot skills, equip bots with long-term memory, and enable bots to initiate conversations.
Development & Tools
3.8M