mcp-cli

Control MCP servers from the command line with JSON arguments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MCP servers can be controlled from the command line, enabling automation and scripting for repeated tasks.

Core Features & Use Cases

  • Discover MCP servers and their available tools.
  • Inspect tool schemas to understand inputs and outputs before execution.
  • Execute tools with arguments directly from scripts, and retrieve structured results.
  • Use cases include integrating MCP tools into CI pipelines, automating data fetches, and performing batch tool invocations across repositories.

Quick Start

Use mcp-cli to list servers, inspect tools, and execute actions:

  • mcp-cli
  • mcp-cli <server>
  • mcp-cli <server>/<tool> '<json>'
  • mcp-cli <server>/<tool> '<json>' --json

Frequently Asked Questions about mcp-cli

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

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

Use a command-line interface to discover MCP servers, inspect their tool schemas, and execute tools with JSON arguments to retrieve structured output directly from your terminal.

What is the best way to automate MCP tool invocations across repositories?

Executing MCP tools with JSON arguments directly from scripts enables batch invocations across repositories, returning structured results suitable for automated processing.

Can I inspect MCP tool schemas before executing commands?

Yes, you can inspect MCP tool schemas to understand required inputs and outputs before execution, ensuring you pass correct JSON arguments and retrieve valid structured results.

Does MCP CLI work with CI pipelines for automating data fetches?

MCP CLI integrates into CI pipelines by executing tools with JSON arguments in automated scripts, enabling data fetches and batch tool invocations with structured JSON output.

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

Specify the server and tool name followed by a JSON argument string in the terminal, adding a flag to retrieve structured JSON output if needed for your workflow.