{"id":"c4e2ff85-8f56-4e96-96da-00468de993f5","shortId":"9r95A5","kind":"skill","title":"Turn an MCP, OpenAPI, or GraphQL endpoint into a disposable CLI for shell automation","tagline":"Generate a shell-ready CLI from an MCP server, OpenAPI spec, or GraphQL endpoint so an agent can discover commands and call tools immediately without hand-written wrappers.","description":"# Turn an MCP, OpenAPI, or GraphQL endpoint into a disposable CLI for shell automation\n\nGenerate a shell-ready CLI from an MCP server, OpenAPI spec, or GraphQL endpoint so an agent can discover commands and call tools immediately without hand-written wrappers.\n\n## Prerequisites\n\nPython with uv or uvx, network access to the target MCP/OpenAPI/GraphQL endpoint, and any required auth headers or OAuth credentials for that endpoint.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- uv tool install mcp2cli\n- npx skills add knowsuchagency/mcp2cli --skill mcp2cli\n- uv sync --extra test\n- uv run pytest tests/ -v\n\nRequirements and caveats from upstream:\n- APIs that require OAuth are supported out of the box — across MCP, OpenAPI, and GraphQL modes.\n- mcp2cli --mcp-stdio \"node server.js\" --env API_KEY=sk-... --env DEBUG=1 \\\n\nBasic usage or getting-started notes:\n- bash\n- # Run directly without installing\n- uvx mcp2cli --help\n\n- Source: https://github.com/knowsuchagency/mcp2cli\n- Extracted from upstream docs: https://raw.githubusercontent.com/knowsuchagency/mcp2cli/HEAD/README.md\n\n## Documentation\n\n- https://github.com/knowsuchagency/mcp2cli\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation/)","tags":["turn","mcp","openapi","graphql","endpoint","into","disposable","cli","for","shell","automation","skills"],"capabilities":["skill","source-agentskillexchange","skill-turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,342 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-18T19:12:56.644Z","embedding":null,"createdAt":"2026-05-18T13:20:05.714Z","updatedAt":"2026-05-18T19:12:56.644Z","lastSeenAt":"2026-05-18T19:12:56.644Z","tsv":"'/knowsuchagency/mcp2cli':196,207 '/knowsuchagency/mcp2cli/head/readme.md':203 '/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation/)':214 '1':177 'access':96 'across':159 'add':131 'agent':32,76,209 'agentskillexchange.com':213 'agentskillexchange.com/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation/)':212 'api':149,172 'auth':105 'autom':14,58 'bash':185 'basic':178 'box':158 'call':37,81 'caveat':146 'cli':11,20,55,64 'command':35,79 'credenti':109 'debug':176 'direct':187 'discov':34,78 'dispos':10,54 'doc':200 'document':204 'endpoint':7,29,51,73,101,112 'env':171,175 'environ':124 'exchang':211 'extra':137 'extract':197 'generat':15,59 'get':182 'getting-start':181 'github.com':195,206 'github.com/knowsuchagency/mcp2cli':194,205 'graphql':6,28,50,72,163 'hand':42,86 'hand-written':41,85 'header':106 'help':192 'immedi':39,83 'instal':113,117,127,189 'key':173 'knowsuchagency/mcp2cli':132 'match':122 'mcp':3,23,47,67,160,167 'mcp-stdio':166 'mcp/openapi/graphql':100 'mcp2cli':128,134,165,191 'mode':164 'network':95 'node':169 'note':184 'npx':129 'oauth':108,152 'openapi':4,25,48,69,161 'path':120 'prerequisit':89 'pytest':141 'python':90 'raw.githubusercontent.com':202 'raw.githubusercontent.com/knowsuchagency/mcp2cli/head/readme.md':201 'readi':19,63 'requir':104,144,151 'run':140,186 'server':24,68 'server.js':170 'setup':119 'shell':13,18,57,62 'shell-readi':17,61 'sk':174 'skill':130,133,210 'skill-turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation' 'sourc':193,208 'source-agentskillexchange' 'spec':26,70 'start':183 'stdio':168 'support':154 'sync':136 'target':99 'test':138,142 'tool':38,82,126 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'turn':1,45 'upstream':116,148,199 'usag':179 'use':114 'uv':92,125,135,139 'uvx':94,190 'v':143 'without':40,84,188 'wrapper':44,88 'written':43,87","prices":[{"id":"a4b8cb53-adbd-4c16-ac80-9fb359c0ebf3","listingId":"c4e2ff85-8f56-4e96-96da-00468de993f5","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:20:05.714Z"}],"sources":[{"listingId":"c4e2ff85-8f56-4e96-96da-00468de993f5","source":"github","sourceId":"agentskillexchange/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation","isPrimary":false,"firstSeenAt":"2026-05-18T13:20:05.714Z","lastSeenAt":"2026-05-18T19:12:56.644Z"}],"details":{"listingId":"c4e2ff85-8f56-4e96-96da-00468de993f5","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"73331ba024743d8ccac46a7c39add6dfc778fec6","skill_md_path":"skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Turn an MCP, OpenAPI, or GraphQL endpoint into a disposable CLI for shell automation","description":"Generate a shell-ready CLI from an MCP server, OpenAPI spec, or GraphQL endpoint so an agent can discover commands and call tools immediately without hand-written wrappers."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation"},"updatedAt":"2026-05-18T19:12:56.644Z"}}