Skip to content
Back to skills

Turn Mcp Openapi Or Graphql Endpoint Into Disposable Cli For Shell Automation

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongoshellbashnodegitapisecuritydocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Turn Mcp Openapi Or Graphql Endpoint Into Disposable Cli For Shell Automation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Turn Mcp Openapi Or Graphql Endpoint Into Disposable Cli For Shell Automation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-turn-mcp-openapi-or-graphql-endpoint-into-disposab/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-turn-mcp-openapi-or-graphql-endpoint-into-disposab)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Turn an MCP, OpenAPI, or GraphQL endpoint into a disposable CLI for shell automation"
slug: "turn-mcp-openapi-or-graphql-endpoint-into-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."
github_stars: 1940
verification: "security_reviewed"
source: "https://github.com/knowsuchagency/mcp2cli"
author: "Knowsuch Agency"
publisher_type: "company"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "knowsuchagency/mcp2cli"
  github_stars: 1940
---

# Turn an MCP, OpenAPI, or GraphQL endpoint into a disposable CLI for shell automation

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.

## Prerequisites

Python with uv or uvx, network access to the target MCP/OpenAPI/GraphQL endpoint, and any required auth headers or OAuth credentials for that endpoint.

## Installation

Use the upstream install or setup path that matches your environment:
- uv tool install mcp2cli
- npx skills add knowsuchagency/mcp2cli --skill mcp2cli
- uv sync --extra test
- uv run pytest tests/ -v

Requirements and caveats from upstream:
- APIs that require OAuth are supported out of the box — across MCP, OpenAPI, and GraphQL modes.
- mcp2cli --mcp-stdio "node server.js" --env API_KEY=sk-... --env DEBUG=1 \

Basic usage or getting-started notes:
- bash
- # Run directly without installing
- uvx mcp2cli --help

- Source: https://github.com/knowsuchagency/mcp2cli
- Extracted from upstream docs: https://raw.githubusercontent.com/knowsuchagency/mcp2cli/HEAD/README.md

## Documentation

- https://github.com/knowsuchagency/mcp2cli

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.