mcp-cli

Interact with MCP servers to discover, inspect, and execute tools via CLI.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/alexandereiseghohi/comicr --skill mcp-cli-alexandereiseghohi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-cli
Source: https://github.com/alexandereiseghohi/comicr/tree/main/skills/mcp-cli
Command: npx skills add https://github.com/alexandereiseghohi/comicr --skill mcp-cli-alexandereiseghohi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to interact with Model Context Protocol (MCP) servers, enabling seamless integration with external tools, APIs, and data sources directly from your terminal.

Core Features & Use Cases

  • Discover Servers & Tools: List available MCP servers and the tools they expose.
  • Inspect Tool Schemas: View detailed JSON schemas for tool inputs and outputs.
  • Execute Tools: Call MCP tools with JSON arguments and retrieve results.
  • Use Case: You need to read a specific file from a remote server managed by an MCP server. You can use mcp-cli filesystem/read_file '{"path": "/remote/path/to/file.txt"}' to fetch the content directly.

Quick Start

Use the mcp-cli command to list all available servers and tool names.

Frequently Asked Questions about mcp-cli

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

FAQPage Schema
How do I interact with MCP servers from the command line?

To execute external tools exposed by MCP servers, you call the CLI with the server and tool names, passing arguments as a JSON string to retrieve deterministic execution results directly in your terminal output.

How do I retrieve JSON schemas for MCP server tools?

You can retrieve JSON schemas for MCP server tools by using the CLI's inspection feature to view detailed input and output requirements before executing the target API or external tool.

Can I read remote files using a filesystem MCP server via CLI?

Yes, you can read remote files by executing the filesystem tool via the CLI, passing the file path inside a JSON argument to fetch the content directly from the MCP server.

Does the MCP CLI require any external dependencies?

No, the MCP CLI operates without external dependencies, allowing you to perform command line tool execution and API interaction immediately without installing additional prerequisite packages.