mcpopenapigraphqlclishell

Generate a CLI usable directly in the shell from an MCP server, OpenAPI spec, or GraphQL endpoint so an agent can immediately discover commands and invoke tools without manually writing wrappers.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mcpopenapigraphqlclishell" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-aa8daf182dcb7d298d1949fa32a46a32df616e39fe0db35f92cfc2d7af1c922f. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Generate a CLI usable directly in the shell from an MCP server, OpenAPI spec, or GraphQL endpoint so an agent can immediately discover commands and invoke tools without manually writing wrappers.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
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.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "将MCP、OpenAPI或GraphQL端点转换为一次性CLI以用于shell自动化"
slug: "turn-mcp-openapi-or-graphql-endpoint-into-disposable-cli-for-shell-automation"
version: "1.0.0"
displayName: "将MCP、OpenAPI或GraphQL端点转换为一次性CLI以用于shell自动化"
summary: "从MCP服务器、OpenAPI规范或GraphQL端点生成一个shell就绪的CLI,使代理能够立即发现命令并调用工具,而无需手动编写包装器。"
license: "MIT"
description: "从MCP服务器、OpenAPI规范或GraphQL端点生成一个shell就绪的CLI,使代理能够立即发现命令并调用工具,而无需手动编写包装器。"
github_stars: 1940
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1940

将MCP、OpenAPI或GraphQL端点转换为一次性CLI以用于shell自动化

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:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 高效解决开发者自动化痛点,支持 MCP/OpenAPI/GraphQL 三类主流协议
  • 显著减少手动编写 CLI 包装器的工作量,提升工具调用效率
Trigger Precision95/100

Highlights

  • 触发描述清晰完整,覆盖多种输入源和典型使用场景
Structure and Standards90/100

Highlights

  • 文档结构清晰,提供多种安装路径和直接运行方案
  • frontmatter 信息完整,符合平台规范
Execution Reliability90/100

Highlights

  • 工具来源明确,支持 OAuth 认证,参数示例完整
  • 提供 uvx 直接运行方式,降低使用门槛
Evidence Verifiability (mean of the first four)92/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32, 33
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 27, 38, 39
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

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.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.