CLI tool for Model Context Protocol inspection
Top 78.9% on sourcepulse
This project provides a command-line interface (CLI) for inspecting and interacting with the Model Context Protocol (MCP). It targets developers working with AI models and their contextual data, enabling them to easily list tools, resources, and prompts, and to call tools or read resources and prompts.
How It Works
The mcp-cli
acts as a client for MCP servers. It supports connecting to servers via Streamable HTTP or Server-Sent Events (SSE) using specified URLs. Additionally, it can run MCP servers directly from NPM packages or local Node.js files, allowing for flexible server management and testing.
Quick Start & Requirements
npx @wong2/mcp-cli
npx @wong2/mcp-cli
(uses Claude Desktop config)npx @wong2/mcp-cli -c config.json
(uses a specified config file)npx @wong2/mcp-cli --url http://localhost:8000/mcp
(connects via Streamable HTTP)npx @wong2/mcp-cli --sse http://localhost:8000/sse
(connects via SSE)Highlighted Details
Maintenance & Community
wong2
.Licensing & Compatibility
Limitations & Caveats
The project's license is not specified, which may impact commercial use or integration into closed-source projects. Community support channels and a clear roadmap are also not detailed.
2 weeks ago
1 day