mcp-cli

not supported by this SDK version (yet — coming soon in future versions of the SDK)

1.2k|163|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/philschmid/mcp-cli --skill mcp-cli-philschmid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-cli
Source: https://github.com/philschmid/mcp-cli/tree/main
Command: npx skills add https://github.com/philschmid/mcp-cli --skill mcp-cli-philschmid

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

MCP CLI streamlines interactions with MCP servers by providing a lightweight, scriptable command-line interface that avoids embedding full tool schemas in AI prompts and context.

Core Features & Use Cases

  • Discover and inspect MCP server tools from the shell.
  • Call tools and stream results for automation and AI workflows across HTTP and stdio servers.
  • Apply per-server filtering and config to scale tool access.

Quick Start

Run mcp-cli to discover servers, inspect tool schemas, and execute tools from the shell.

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 without embedding full tool schemas in context?

You can interact with MCP servers from the command line using a CLI that supports on-demand schema discovery, server-wide tool listings, and direct tool invocation across http and stdio transports.

How do I call tools on MCP servers and stream results for automation workflows?

You can call tools and stream results for automation workflows by invoking the CLI to execute deterministic tools directly on MCP servers over http and stdio transports.

Does the MCP CLI support retry logic for transient errors during tool invocation?

Yes, the MCP CLI implements robust retry on transient errors during tool invocation, ensuring reliable execution across servers without manual retry scripting.

Can I filter accessible tools and resolve environment-variable config for specific MCP servers?

Yes, you can apply optional per-server tool filtering and resolve environment-variable configurations to scale and manage tool access across multiple MCP servers.

What is the best way to discover and inspect MCP server tools from the shell?

The best way to discover and inspect MCP server tools from the shell is using a scriptable CLI that queries servers for available tools and retrieves their schemas on demand.

Why does invoking MCP tools from shell scripts help AI workflows?

Invoking MCP tools from shell scripts helps AI workflows by avoiding the embedding of full tool schemas in AI prompts and context, freeing up context space for reasoning.