mcp-cli
by wong2
A CLI inspector for the Model Context Protocol. It enables users to interact with MCP servers from various sources.
Last updated: N/A
What is mcp-cli?
mcp-cli is a command-line interface tool for inspecting and interacting with Model Context Protocol (MCP) servers. It allows users to run, connect to, and interact with MCP servers.
How to use mcp-cli?
mcp-cli can be run with or without a config file. It supports running servers from NPM, locally developed servers, and connecting to running servers over SSE. Refer to the usage examples in the README for specific commands.
Key features of mcp-cli
Run MCP servers from various sources
List Tools, Resources, Prompts
Call Tools, Read Resources, Read Prompts
Connect to servers via SSE
Use cases of mcp-cli
Inspecting MCP servers
Testing MCP server implementations
Automating interactions with MCP servers
Debugging MCP server issues
FAQ from mcp-cli
What is Model Context Protocol (MCP)?
What is Model Context Protocol (MCP)?
Model Context Protocol (MCP) is a protocol for communication between applications and AI models that allows applications to provide additional context to models.
How do I run mcp-cli with a config file?
How do I run mcp-cli with a config file?
Use the command npx @wong2/mcp-cli -c config.json
.
Can I connect to a server running over SSE?
Can I connect to a server running over SSE?
Yes, use the command npx @wong2/mcp-cli --sse http://localhost:8000/sse
after starting an MCP server running over SSE transport.
What is LiteMCP?
What is LiteMCP?
LiteMCP is a TypeScript library that simplifies MCP server development.
Where can I find a list of MCP servers?
Where can I find a list of MCP servers?
Check out mcpservers.org for a curated list of MCP servers.