8000 GitHub - wong2/mcp-cli: A CLI inspector for the Model Context Protocol
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wong2/mcp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcp-cli

A CLI inspector for the Model Context Protocol

demo.mp4

Features

  • Run MCP servers from various sources
  • List Tools, Resources, Prompts
  • Call Tools, Read Resources, Read Prompts
  • OAuth support for SSE and Streamable HTTP servers

Usage

Run without arguments

npx @wong2/mcp-cli

This will use the config file of Claude Desktop.

Run with a config file

npx @wong2/mcp-cli -c config.json

The config file has the same format as the Claude Desktop config file.

Run servers from NPM

npx @wong2/mcp-cli npx <package-name> <args>

Run locally developed server

npx @wong2/mcp-cli node path/to/server/index.js args...

Connect to a running server over Streamable HTTP

npx @wong2/mcp-cli --url http://localhost:8000/mcp

Connect to a running server over SSE

npx @wong2/mcp-cli --sse http://localhost:8000/sse

Purge stored data (OAuth tokens, etc.)

npx @wong2/mcp-cli purge

Related

About

A CLI inspector for the Model Context Protocol

Resources

License

Stars

Watchers

Forks

0