mcp-cli

Created at 2 months ago

by wong2

starstarstarstarstar

A CLI inspector for the Model Context Protocol

Categories

developer-tools

Tags

[]

mcp-cli

what is mcp-cli?

mcp-cli is a command-line interface (CLI) inspector designed for the Model Context Protocol (MCP), providing users with tools to interact with and manage MCP servers.

how to use mcp-cli?

To use mcp-cli, you can run it with or without a configuration file.

  • To run without a config file, use: npx @wong2/mcp-cli (this will use the default config).
  • To specify a config file, use: npx @wong2/mcp-cli -c config.json.
  • You can also run MCP servers from NPM or locally developed servers with the provided commands in the documentation.

key features of mcp-cli?

  • Ability to run MCP servers from multiple sources.
  • Lists available Tools, Resources, and Prompts.
  • Facilitates calling Tools, reading Resources, and accessing Prompts.

use cases of mcp-cli?

  1. Inspecting and managing various MCP servers in a development environment.
  2. Testing and launching tools and resources integrated with the Model Context Protocol.
  3. Assisting developers in working with the Claude Desktop system and its configurations.

FAQ from mcp-cli?

  • Does mcp-cli work with any MCP server?

Yes, as long as the server adheres to the Model Context Protocol.

  • Is there a default configuration for mcp-cli?

Yes, it can run with a default config file used by Claude Desktop if none is specified.

  • Can I develop my own servers with mcp-cli?

Yes, you can run locally developed servers by providing the path to the server script.

View More