mcpField
M
MCP-CLI

MCP-CLI

Local
github.com/winterfxDeveloper Tools0Updated 80w ago

About MCP-CLI

MCP-CLI is a command-line tool for managing and inspecting multiple MCP servers. It lets developers browse tools, prompts, and resources, then invoke server tools interactively.

Key features

  1. 01Manage multiple MCP servers
  2. 02Interactive command-line interface
  3. 03Inspect server tools
  4. 04View prompts and resources
  5. 05Invoke tools with arguments

Use cases

  1. 01List configured MCP servers
  2. 02Inspect a server’s available tools
  3. 03Call a tool with supplied parameters

MCP support

Acts as an MCP client: it connects to configured servers, inspects their tools, prompts, and resources, and invokes tools interactively.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP-CLI

MCP-CLI is a command-line tool for managing and interacting with MCP (Machine Conversation Protocol) servers.

Features

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

Installation

go install github.com/yourusername/mcp-cli@latest

Configuration

Create configuration file ~/.mcp-cli.json:

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
    ...
  }
}

Usage

List All Servers
$ mcp-cli server list
Server NameCommandArgsEnvironment
playwrightnpx@playwright/mcp@latest
Inspect Server
$ ./mcp-cli server inspect -n playwright
Inspecting server: {Command:npx Args:[@playwright/mcp@latest] Env:map[]}
Initializing MCP client...
Entering interactive shell for server: playwright
Type 'help' for available commands, 'exit' to quit

playwright> tools
total 21 tools
NAMEDESCRIPTIONPARAMETERS
browser_closeClose the page{"type": "object", "properties": {}}
browser_waitWait for a specified time in seconds{"type": "object", "properties": {"time": {"description": "The time to wait in seconds", "type": "number"}}, "required": ["time"]}
Interactive Commands
> tools     # Show available tools
> prompts   # Show available prompts
> resources # Show available resources
> call tool-name {"param": "value"}  # Call a tool
> help      # Show help information
> exit      # Exit
Tool Call Example

README image

License

MIT License

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.