{"id":"a89e2350-98ee-4acb-9186-2a88005c4ec6","shortId":"A7XBJ2","kind":"skill","title":"Mcp Cli","tagline":"Awesome Copilot skill by Github","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"],"capabilities":["skill","source-github","category-awesome-copilot"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/mcp-cli","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under github/awesome-copilot","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T17:40:17.709Z","embedding":null,"createdAt":"2026-04-18T20:25:36.007Z","updatedAt":"2026-04-22T17:40:17.709Z","lastSeenAt":"2026-04-22T17:40:17.709Z","tsv":"'-1':241 '/readme.md':167,185 '0':238,270 '1':83,272 '2':93,279 '3':102,284 '4':112 'access':11 'add':71 'api':29 'arg':276 'args.json':212 'argument':62,119 'avail':89 'awesom':3 'bad':275 'bash':121 'c':245 'call':59,159 'cat':211 'category-awesome-copilot' 'cli':2,10,35,44,51,58,65,79,87,97,106,116,130,138,146,157,164,173,182,197,215,228,248 'client':273 'code':269 'command':16,30,31 'complex':187 'config':278 'content':200,237,264 'copilot':4 'd':72,81,148,265 'databas':27 'descript':75,141,267 'discov':84 'e.g':76 'enabl':19 'eof':199,205 'error':274,281,286 'exampl':120 'execut':113 'exit':268 'explor':94 'extern':22 'fail':283 'file':175,220 'file/command':210 'filesystem':26,80,139,147 'filesystem/read_file':158,165,183,249 'filesystem/search_files':229 'find':217 'first':224 'flag':252 'full':108 'get':52,107,149 'github':7,25 'grep':66,174 'head':240 'heredoc':192 'includ':74,266 'input':110 'insid':204 'inspect':103 'interact':20 'j':254 'jq':235 'json':54,109,150,176,186,188,234,255,256 'like':24 'line':17 'list':36,122 'mcp':1,9,12,18,34,43,50,57,64,78,86,96,105,115,129,137,145,156,163,172,181,196,214,227,247 'mcp-cli':8,33,42,49,56,63,77,85,95,104,114,128,136,144,155,162,171,180,195,213,226,246 'miss':277 'name':41,70,127 'network':285 'one':225 'option':251 'output':32,177,257 'paramet':48,101,135 'pars':179 'path':166,184,230,250 'pattern':232 'pipe':207 'purpos':253 'quot':190,203 'r':236,260 'raw':261,262 'read':222 'run':117 'schema':55,111,151 'script':259 'search':67,168 'see':88,98,131 'server':13,38,90,124,280 'server/tool':198,216 'sh':244 'show':45 'skill':5 'source-github' 'specif':153 'src':231 'stdin':194 'success':271 'system':23 'text':201,239,263 'tool':40,46,53,60,68,92,99,126,133,154,161,170,282 'ts':233 'typescript':219 'use':191 'verbos':143 'workflow':82 'xarg':242","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-04-22T12:52:16.403Z"},{"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-04-22T17:40:17.709Z"}],"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","source":"skills_sh","category":"awesome-copilot","skills_sh_url":"https://skills.sh/github/awesome-copilot/mcp-cli"},"updatedAt":"2026-04-22T17:40:17.709Z"}}