Mcp Cli

Mcp Cli

作成者 wong23 months ago

A CLI inspector for the Model Context Protocol

Developer Tools
inspectorModelContextProtocol

mcp-cli

A CLI inspector for the Model Context Protocol

demo

Usage

Run without config file

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 SSE

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

You need to first start an MCP server running over SSE transport.

Features

  • Run MCP servers from various sources
  • List Tools, Resources, Prompts
  • Call Tools, Read Resources, Read Prompts

Related

  • LiteMCP - A TypeScript library that simplifies MCP server development
  • mcpservers.org - A curated list of MCP servers

前提条件

  • サーバーのドメインに精通している
  • 関連技術の基本的な理解
  • Developer Toolsの知識

詳細

作成日

March 07, 2025

最終更新日

March 07, 2025

カテゴリー

Developer Tools

作成者

wong2

シェアする