mcp-cli

List MCP servers and tools, inspect schemas, and execute tools with JSON payloads.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Interact with MCP servers from the CLI to manage external tools and data sources.

Core Features & Use Cases

  • Discover MCP servers and tools with a simple query.
  • Inspect a tool's JSON schema and required parameters.
  • Execute tools from the terminal by passing JSON payloads to MCP commands.
  • Use grep-like searching to filter tools and servers.

Quick Start

Run mcp-cli to list available MCP servers and tools, then invoke a tool with mcp-cli <server>/<tool> '<json>'.

Frequently Asked Questions about mcp-cli

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

FAQPage Schema
How do I execute MCP tools from the terminal?

Execute MCP tools from the terminal by running the command mcp-cli <server>/<tool> '<json>', passing your JSON payload directly as an argument to invoke the target tool.

What is the best way to discover available MCP servers and tools in my environment?

Discover available MCP servers and tools by running the mcp-cli command, which lists all accessible external data sources and tools, and supports grep-like searching to filter the results.

How can I inspect a tool's JSON schema and required parameters before running it?

Inspect a tool's JSON schema and required parameters by querying the specific server and tool through the CLI interface, allowing you to validate your JSON payload structure before execution.

Do I need jq installed to interact with MCP servers via the command line?

Yes, you need jq installed as a dependency to use this CLI solution, because it processes the JSON payloads required to inspect tool schemas and execute commands against MCP servers.

Can I integrate MCP server management into my existing DevOps automation scripts?

You can integrate MCP server management into DevOps automation scripts by calling the CLI commands within your scripts to programmatically discover servers, inspect tool schemas, and execute tools with JSON payloads.

Why use a CLI approach instead of other methods for interacting with MCP servers?

Use a CLI approach for interacting with MCP servers to enable quick terminal-based discovery, schema inspection, and tool execution, streamlining external data source management without requiring a graphical interface.