MCP.so
登录

MCP-CLI

@winterfx

关于 MCP-CLI

cli tool for inspect mcp server

基本信息

分类

开发工具

运行时

go

传输方式

stdio

发布者

winterfx

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP-CLI?

MCP-CLI is a command-line tool for managing and interacting with MCP (Machine Conversation Protocol) servers. It enables users to view and call server Tools, view Prompts and Resources, and invoke tools through an interactive shell.

How to use MCP-CLI?

Install with go install github.com/yourusername/mcp-cli@latest, then create a configuration file at ~/.mcp-cli.json listing MCP servers. Launch the tool with commands like mcp-cli server list to list servers or mcp-cli server inspect -n <name> to enter an interactive shell for a specific server.

Key features of MCP-CLI

  • Manage multiple MCP servers
  • Interactive command-line interface
  • View and call server Tools
  • View server Prompts and Resources
  • Support for tool invocation

Use cases of MCP-CLI

  • Inspect available tools on a remote MCP server
  • Test tool calls interactively before integrating into workflows
  • List all configured MCP servers and their arguments
  • Discover prompts and resources exposed by a server

FAQ from MCP-CLI

How do I install MCP-CLI?

Install using Go: go install github.com/yourusername/mcp-cli@latest.

How do I configure MCP-CLI?

Create a JSON configuration file at ~/.mcp-cli.json with a mcpServers object mapping server names to their command and args.

What interactive commands are available in the shell?

Inside the interactive shell, use tools to list tools, prompts for prompts, resources for resources, call <tool-name> <json-params> to invoke a tool, help for help, and exit to quit.

Can I list all configured servers?

Yes, run mcp-cli server list to display a table of server names, commands, and args.

How do I inspect a specific server?

Run mcp-cli server inspect -n <server-name> to enter an interactive shell for that server, showing its tools, prompts, and resources.

评论

开发工具 分类下的更多 MCP 服务器