mcp-cli

List MCP servers, inspect tool schemas, and call tools with JSON arguments.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/dhar174/langgraph_system_generator --skill mcp-cli-dhar174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-cli
Source: https://github.com/dhar174/langgraph_system_generator/tree/main/.github/skills/mcp-cli
Command: npx skills add https://github.com/dhar174/langgraph_system_generator --skill mcp-cli-dhar174

SYSTEM DOCUMENTATION & REQUIREMENTS

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 Tools: List available MCP servers and the tools they expose.
  • Inspect Tools: View tool parameters and JSON schemas for understanding input requirements.
  • Execute Tools: Call MCP tools with specified arguments in JSON format.
  • 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.

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 Model Context Protocol servers from the command line?

You can interact with Model Context Protocol servers from the command line using mcp-cli to discover, inspect, and execute external tools directly from your terminal.

How do I call an MCP tool with JSON arguments in the terminal?

You call an MCP tool with JSON arguments in the terminal by passing the server and tool name followed by a JSON payload to the mcp-cli command for execution.

Can I list available MCP servers and view their tool schemas via CLI?

Yes, you can list available MCP servers and view their exposed tool schemas via CLI to inspect tool parameters and understand required JSON input formats.

What is the best way to programmatically integrate external APIs exposed via MCP?

The best way to programmatically integrate external APIs exposed via MCP is using a CLI tool to execute server tools with specified JSON arguments for direct data access.

Do I need any dependencies to use mcp-cli for external tool execution?

No, you do not need any dependencies to use mcp-cli for external tool execution as it operates independently to facilitate API interaction and tool discovery.