github avatar

Mcp Cli

A command-line interface for interacting with MCP (Model Context Protocol) servers that lets Claude access external tools, APIs, and data sources. You'll use this when you need Claude to read files, query databases, hit APIs, or interact with services like GitHub through their MCP servers. It provides discovery commands to list available servers and tools, inspection commands to see JSON schemas, and execution commands to actually call the tools with arguments. The workflow is straightforward: discover what's available, explore tool parameters, then execute with JSON payloads. Includes search functionality and different output formats for scripting.

skills.sh installs
9.7K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill mcp-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

MCP-CLI

Access MCP servers through the command line. MCP enables interaction with external systems like GitHub, filesystems, databases, and APIs.

Commands

CommandOutput
mcp-cliList all servers and tool names
mcp-cli <server>Show tools with parameters
mcp-cli <server>/<tool>Get tool JSON schema
mcp-cli <server>/<tool> '<json>'Call tool with arguments
mcp-cli grep "<glob>"Search tools by name

Add -d to include descriptions (e.g., mcp-cli filesystem -d)

Workflow

  1. Discover: mcp-cli → see available servers and tools
  2. Explore: mcp-cli <server> → see tools with parameters
  3. Inspect: mcp-cli <server>/<tool> → get full JSON input schema
  4. Execute: mcp-cli <server>/<tool> '<json>' → run with arguments

Examples

# List all servers and tool names
mcp-cli

# See all tools with parameters
mcp-cli filesystem

# With descriptions (more verbose)
mcp-cli filesystem -d

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building, CLI & Terminal

More from github/awesome-copilot

All 318
1github avatarcontext-mapgithub/awesome-copilotGenerate a map of all files relevant to a task before making changes9.7Kskills.sh installs
2github avataref-coregithub/awesome-copilotGet best practices for Entity Framework Core9.7Kskills.sh installs
3github avatarazure-deployment-preflightgithub/awesome-copilotPerforms comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use th9.6Kskills.sh installs
4github avatarwrite-coding-standards-from-filegithub/awesome-copilotWrite a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.9.6Kskills.sh installs
5github avatarmy-issuesgithub/awesome-copilotList my issues in the current repository9.6Kskills.sh installs
6github avatarcreate-spring-boot-java-projectgithub/awesome-copilotCreate Spring Boot Java Project Skeleton9.6Kskills.sh installs