mcp-cli

Execute MCP server tools with JSON payloads via CLI.

37.6k|4.7k|Updated Jun 11, 2025
One-click install
npx skills add https://github.com/github/awesome-copilot --skill mcp-cli-github
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-cli
Source: https://github.com/github/awesome-copilot/tree/main/skills/mcp-cli
Command: npx skills add https://github.com/github/awesome-copilot --skill mcp-cli-github

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a lightweight, command-line interface to interact with MCP servers and their tools, enabling rapid automation of external tasks from a terminal.

Core Features & Use Cases

  • Discover MCP servers and tools: List available servers and tools and inspect their parameters.
  • Execute tools with arguments: Pass JSON payloads to tools and receive structured output for scripting.
  • Scripting and automation: Integrate mcp-cli into CI/CD, local workflows, and tailor commands to automate repetitive tasks.

Quick Start

Use the mcp-cli to view available servers and tools, inspect a tool's input schema, and execute a tool with a JSON payload.

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 server tools from the command line?

Use mcp-cli to execute MCP server tools by passing JSON payloads via CLI commands. The Skill enables you to run external tools and APIs directly from your terminal, receiving structured output suitable for scripting and automation workflows.

What MCP servers and tools are available to use?

List available MCP servers and their tools using mcp-cli commands to discover what external services and APIs you can access. Inspect tool parameters and schemas to understand required arguments before execution.

Can I integrate MCP server execution into CI/CD pipelines?

Yes, mcp-cli is designed for scripting and automation. Execute tools with JSON payloads and capture structured output to integrate MCP server interactions into CI/CD workflows and local automation scripts for repetitive task handling.

How do I inspect a tool's input schema before running it?

Fetch tool schemas using mcp-cli to view parameter definitions and requirements. This lets you construct valid JSON payloads and understand what arguments a tool accepts before execution.

Can I search for specific tools across MCP servers?

Search tools across your configured MCP servers using mcp-cli search capabilities. Filter and locate tools by name to quickly find the right external service or API for your automation task.