{"id":"a89e2350-98ee-4acb-9186-2a88005c4ec6","shortId":"A7XBJ2","kind":"skill","title":"mcp-cli","tagline":"Interface for MCP (Model Context Protocol) servers via CLI. Use when you need to interact with external tools, APIs, or data sources through MCP servers, list available MCP servers/tools, or call MCP tools from command line.","description":"# MCP-CLI\n\nAccess MCP servers through the command line. MCP enables interaction with external systems like GitHub, filesystems, databases, and APIs.\n\n## Commands\n\n| Command                            | Output                          |\n| ---------------------------------- | ------------------------------- |\n| `mcp-cli`                          | List all servers and tool names |\n| `mcp-cli <server>`                 | Show tools with parameters      |\n| `mcp-cli <server>/<tool>`          | Get tool JSON schema            |\n| `mcp-cli <server>/<tool> '<json>'` | Call tool with arguments        |\n| `mcp-cli grep \"<glob>\"`            | Search tools by name            |\n\n**Add `-d` to include descriptions** (e.g., `mcp-cli filesystem -d`)\n\n## Workflow\n\n1. **Discover**: `mcp-cli` → see available servers and tools\n2. **Explore**: `mcp-cli <server>` → see tools with parameters\n3. **Inspect**: `mcp-cli <server>/<tool>` → get full JSON input schema\n4. **Execute**: `mcp-cli <server>/<tool> '<json>'` → run with arguments\n\n## Examples\n\n```bash\n# List all servers and tool names\nmcp-cli\n\n# See all tools with parameters\nmcp-cli filesystem\n\n# With descriptions (more verbose)\nmcp-cli filesystem -d\n\n# Get JSON schema for specific tool\nmcp-cli filesystem/read_file\n\n# Call the tool\nmcp-cli filesystem/read_file '{\"path\": \"./README.md\"}'\n\n# Search for tools\nmcp-cli grep \"*file*\"\n\n# JSON output for parsing\nmcp-cli filesystem/read_file '{\"path\": \"./README.md\"}' --json\n\n# Complex JSON with quotes (use heredoc or stdin)\nmcp-cli server/tool <<EOF\n{\"content\": \"Text with 'quotes' inside\"}\nEOF\n\n# Or pipe from a file/command\ncat args.json | mcp-cli server/tool\n\n# Find all TypeScript files and read the first one\nmcp-cli filesystem/search_files '{\"path\": \"src/\", \"pattern\": \"*.ts\"}' --json | jq -r '.content[0].text' | head -1 | xargs -I {} sh -c 'mcp-cli filesystem/read_file \"{\\\"path\\\": \\\"{}\\\"}\"'\n```\n\n## Options\n\n| Flag         | Purpose                   |\n| ------------ | ------------------------- |\n| `-j, --json` | JSON output for scripting |\n| `-r, --raw`  | Raw text content          |\n| `-d`         | Include descriptions      |\n\n## Exit Codes\n\n- `0`: Success\n- `1`: Client error (bad args, missing config)\n- `2`: Server error (tool failed)\n- `3`: Network error","tags":["mcp","cli","awesome","copilot","github","agent-skills","agents","custom-agents","github-copilot","hacktoberfest","prompt-engineering"],"capabilities":["skill","source-github","skill-mcp-cli","topic-agent-skills","topic-agents","topic-awesome","topic-custom-agents","topic-github-copilot","topic-hacktoberfest","topic-prompt-engineering"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/mcp-cli","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add github/awesome-copilot","source_repo":"https://github.com/github/awesome-copilot","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 33270 github stars · SKILL.md body (2,269 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:16.290Z","embedding":null,"createdAt":"2026-04-18T20:25:36.007Z","updatedAt":"2026-05-18T18:52:16.290Z","lastSeenAt":"2026-05-18T18:52:16.290Z","tsv":"'-1':273 '/readme.md':199,217 '0':270,302 '1':115,304 '2':125,311 '3':134,316 '4':144 'access':43 'add':103 'api':22,61 'arg':308 'args.json':244 'argument':94,151 'avail':30,121 'bad':307 'bash':153 'c':277 'call':34,91,191 'cat':243 'cli':3,12,42,67,76,83,90,97,111,119,129,138,148,162,170,178,189,196,205,214,229,247,260,280 'client':305 'code':301 'command':38,48,62,63 'complex':219 'config':310 'content':232,269,296 'context':8 'd':104,113,180,297 'data':24 'databas':59 'descript':107,173,299 'discov':116 'e.g':108 'enabl':51 'eof':231,237 'error':306,313,318 'exampl':152 'execut':145 'exit':300 'explor':126 'extern':20,54 'fail':315 'file':207,252 'file/command':242 'filesystem':58,112,171,179 'filesystem/read_file':190,197,215,281 'filesystem/search_files':261 'find':249 'first':256 'flag':284 'full':140 'get':84,139,181 'github':57 'grep':98,206 'head':272 'heredoc':224 'includ':106,298 'input':142 'insid':236 'inspect':135 'interact':18,52 'interfac':4 'j':286 'jq':267 'json':86,141,182,208,218,220,266,287,288 'like':56 'line':39,49 'list':29,68,154 'mcp':2,6,27,31,35,41,44,50,66,75,82,89,96,110,118,128,137,147,161,169,177,188,195,204,213,228,246,259,279 'mcp-cli':1,40,65,74,81,88,95,109,117,127,136,146,160,168,176,187,194,203,212,227,245,258,278 'miss':309 'model':7 'name':73,102,159 'need':16 'network':317 'one':257 'option':283 'output':64,209,289 'paramet':80,133,167 'pars':211 'path':198,216,262,282 'pattern':264 'pipe':239 'protocol':9 'purpos':285 'quot':222,235 'r':268,292 'raw':293,294 'read':254 'run':149 'schema':87,143,183 'script':291 'search':99,200 'see':120,130,163 'server':10,28,45,70,122,156,312 'server/tool':230,248 'servers/tools':32 'sh':276 'show':77 'skill' 'skill-mcp-cli' 'sourc':25 'source-github' 'specif':185 'src':263 'stdin':226 'success':303 'system':55 'text':233,271,295 'tool':21,36,72,78,85,92,100,124,131,158,165,186,193,202,314 'topic-agent-skills' 'topic-agents' 'topic-awesome' 'topic-custom-agents' 'topic-github-copilot' 'topic-hacktoberfest' 'topic-prompt-engineering' 'ts':265 'typescript':251 'use':13,223 'verbos':175 'via':11 'workflow':114 'xarg':274","prices":[{"id":"b463e3f3-299f-4870-a94b-7affc672e039","listingId":"a89e2350-98ee-4acb-9186-2a88005c4ec6","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"github","category":"awesome-copilot","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:36.007Z"}],"sources":[{"listingId":"a89e2350-98ee-4acb-9186-2a88005c4ec6","source":"github","sourceId":"github/awesome-copilot/mcp-cli","sourceUrl":"https://github.com/github/awesome-copilot/tree/main/skills/mcp-cli","isPrimary":false,"firstSeenAt":"2026-04-18T21:50:05.830Z","lastSeenAt":"2026-05-18T18:52:16.290Z"},{"listingId":"a89e2350-98ee-4acb-9186-2a88005c4ec6","source":"skills_sh","sourceId":"github/awesome-copilot/mcp-cli","sourceUrl":"https://skills.sh/github/awesome-copilot/mcp-cli","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:36.007Z","lastSeenAt":"2026-05-07T22:40:17.635Z"}],"details":{"listingId":"a89e2350-98ee-4acb-9186-2a88005c4ec6","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"github","slug":"mcp-cli","github":{"repo":"github/awesome-copilot","stars":33270,"topics":["agent-skills","agents","ai","awesome","custom-agents","github-copilot","hacktoberfest","prompt-engineering"],"license":"mit","html_url":"https://github.com/github/awesome-copilot","pushed_at":"2026-05-18T01:26:59Z","description":"Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.","skill_md_sha":"d5b801ee45e3b9ebfcf8f94f54d0a8b84b0177ce","skill_md_path":"skills/mcp-cli/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/github/awesome-copilot/tree/main/skills/mcp-cli"},"layout":"multi","source":"github","category":"awesome-copilot","frontmatter":{"name":"mcp-cli","description":"Interface for MCP (Model Context Protocol) servers via CLI. Use when you need to interact with external tools, APIs, or data sources through MCP servers, list available MCP servers/tools, or call MCP tools from command line."},"skills_sh_url":"https://skills.sh/github/awesome-copilot/mcp-cli"},"updatedAt":"2026-05-18T18:52:16.290Z"}}