MCP.so
登录

MCP CLI

@winterfx

基本信息

分类

开发工具

传输方式

stdio

作者

winterfx

关于 MCP CLI

cli tool for inspect mcp server

MCP CLI 配置

暂无标准配置

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

代码仓库

MCP CLI 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

How do I install MCP-CLI?

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

2

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.

3

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.

4

Can I list all configured servers?

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

5

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 服务器