mcp-cli

List MCP servers, inspect tool schemas, and execute tools via CLI.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ajilantony/copilot-agentops --skill mcp-cli-ajilantony
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-cli
Source: https://github.com/ajilantony/copilot-agentops/tree/main/skills/mcp-cli
Command: npx skills add https://github.com/ajilantony/copilot-agentops --skill mcp-cli-ajilantony

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to interact with MCP (Model Context Protocol) servers, enabling seamless integration with external tools, APIs, and data sources directly from your terminal.

Core Features & Use Cases

  • Discover & Explore: Easily list available MCP servers and their tools, including detailed descriptions and parameters.
  • Inspect & Execute: Retrieve JSON schemas for tools and execute them with specified arguments.
  • Use Case: You need to quickly read a specific file on your system using an MCP server. You can use mcp-cli filesystem/read_file '{"path": "./README.md"}' to achieve this without leaving your terminal.

Quick Start

List all available MCP servers and their tools by running the command mcp-cli.

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?

To interact with MCP servers from the command line, use a CLI tool that lists available servers and tools, retrieves JSON schemas, and executes tools with JSON arguments. This enables terminal-based discovery and execution without leaving your environment.

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

To execute an MCP server tool with arguments in terminal, provide the server and tool names followed by optional JSON arguments for execution. You can also use flags to format the output according to your integration requirements.

Can I use a CLI to discover tools on MCP servers for API integration?

Yes, you can use a CLI to discover tools on MCP servers for API integration by listing available servers and retrieving detailed tool descriptions and parameters. This facilitates connecting with external systems like GitHub, databases, and APIs.

How do I inspect the JSON schema of an MCP tool?

To inspect the JSON schema of an MCP tool, use the command-line interface to retrieve detailed tool information. This provides the descriptions and parameters required to understand how to format arguments for successful tool execution.

What is needed to start using a command-line interface for MCP servers?

To start using a command-line interface for MCP servers, you need a terminal environment and the specific server and tool names you intend to target. Optional JSON arguments and output formatting flags can be added for tool execution.

Does the MCP CLI support filesystem and database integration?

The MCP CLI supports filesystem and database integration by providing a unified interface to execute tools connected to external systems. You can read files or query databases directly from your terminal by specifying the correct server and tool names.