mcp-cli

List, inspect, and execute MCP server tools via command line with JSON inputs.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/javiertelioz/my-personal-marketplace --skill mcp-cli-javiertelioz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-cli
Source: https://github.com/javiertelioz/my-personal-marketplace/tree/main/plugins/mcp-cli/skills/mcp-cli
Command: npx skills add https://github.com/javiertelioz/my-personal-marketplace --skill mcp-cli-javiertelioz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interfaces with MCP servers to enable discovery of available servers/tools and to execute MCP tools from a command line.

Core Features & Use Cases

  • Discover MCP servers and tools from the CLI
  • Inspect tool details and required parameters
  • Execute tools with JSON inputs and receive structured outputs

Quick Start

Run mcp-cli to list MCP servers, then call a tool with mcp-cli <server>/<tool> '<json>' to execute it.

Frequently Asked Questions about mcp-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover available MCP servers and tools from the command line?

You can discover available MCP servers and tools from the command line by running mcp-cli. It interfaces with your working MCP environment to list available servers and inspect their specific tool details.

How do I execute MCP tools with JSON inputs using a CLI?

To execute MCP tools with JSON inputs, use the command syntax mcp-cli <server>/<tool> '<json>'. This interfaces with the MCP server and returns structured output in JSON format.

Can I inspect required parameters for MCP tools before execution?

Yes, you can inspect required parameters for MCP tools before execution. The CLI interfaces with your MCP environment to list tool details, allowing you to view exactly what inputs are needed.

Do I need a working MCP environment to use a CLI for server control?

Yes, a working MCP environment is required to use this CLI for server control. The tool acts as an interface to discover servers and execute tools, relying entirely on an existing MCP setup.

What is the best way to run MCP servers and tools via automation scripts?

The best way to run MCP servers and tools via automation scripts is using a CLI interface. It enables you to execute tools with JSON inputs and return structured JSON outputs for programmatic processing.

Why does my MCP tool execution return structured JSON output?

MCP tool execution returns structured JSON output because the CLI is designed to interface with servers and return results in a consistent, machine-readable format. This structured output facilitates integration with other automation tools.