mcp-cli
by wong2
A CLI inspector for the Model Context Protocol. It allows you to interact with and inspect MCP servers from various sources.
Last updated: N/A
What is mcp-cli?
mcp-cli is a command-line interface for inspecting and interacting with servers that implement the Model Context Protocol (MCP). It provides tools to list, call, and read data from MCP servers.
How to use mcp-cli?
mcp-cli can be used directly from the command line using npx @wong2/mcp-cli
. It supports running without a config file (using Claude Desktop's config), with a custom config file, running servers from NPM, running locally developed servers, and connecting to running servers over SSE.
Key features of mcp-cli
Run MCP servers from various sources
List Tools, Resources, Prompts
Call Tools, Read Resources, Read Prompts
Connect to servers over SSE
Use cases of mcp-cli
Inspecting and debugging MCP servers
Testing MCP server implementations
Interacting with MCP servers programmatically
Exploring available tools and resources on an MCP server
FAQ from mcp-cli
What is MCP?
What is MCP?
The Model Context Protocol (MCP) is a protocol for interacting with AI models and services.
How do I install mcp-cli?
How do I install mcp-cli?
You can run it directly using npx @wong2/mcp-cli
without installation.
Can I use a custom configuration file?
Can I use a custom configuration file?
Yes, you can specify a config file using the -c
option: npx @wong2/mcp-cli -c config.json
.
How do I connect to a server over SSE?
How do I connect to a server over SSE?
Use the --sse
option followed by the SSE endpoint: npx @wong2/mcp-cli --sse http://localhost:8000/sse
.
Where can I find more MCP servers?
Where can I find more MCP servers?
Check out mcpservers.org for a curated list of MCP servers.