A CLI inspector for the Model Context Protocol
A CLI inspector for the Model Context Protocol
https://github.com/user-attachments/assets/4cd113e9-f097-4c9d-b391-045c5f213183
- Run MCP servers from various sources
- List Tools, Resources, Prompts
- Call Tools, Read Resources, Read Prompts
- OAuth support for SSE and Streamable HTTP servers
``bash`
npx @wong2/mcp-cli
This will use the config file of Claude Desktop.
`bash`
npx @wong2/mcp-cli -c config.json
The config file has the same format as the Claude Desktop config file.
`bash`
npx @wong2/mcp-cli npx
`bash`
npx @wong2/mcp-cli node path/to/server/index.js args...
`bash`
npx @wong2/mcp-cli --url http://localhost:8000/mcp
`bash`
npx @wong2/mcp-cli --sse http://localhost:8000/sse
Run a specific tool, resource, or prompt without interactive prompts:
`bash`
npx @wong2/mcp-cli [--config config.json]
Examples:
`bashCall a tool without arguments
npx @wong2/mcp-cli -c config.json call-tool filesystem:list_files
This mode is useful for scripting and automation, as it bypasses all interactive prompts and executes the specified primitive directly.
$3
`bash
npx @wong2/mcp-cli purge
``- mcpservers.org - A curated list of MCP servers