← ClaudeAtlas

mcp2clilisted

Turn any MCP server, OpenAPI spec, or GraphQL endpoint into a CLI. Use this skill when the user wants to interact with an MCP server, OpenAPI/REST API, or GraphQL API via command line, discover available tools/endpoints, call API operations, or generate a new skill from an API. Triggers include "mcp2cli", "call this MCP server", "use this API", "list tools from", "create a skill for this API", "graphql", or any task involving MCP tool invocation, OpenAPI endpoint calls, or GraphQL queries without writing code.
Paulinehot583/mcp2cli · ★ 2 · AI & Automation · score 75
Install: claude install-skill Paulinehot583/mcp2cli
# mcp2cli Turn any MCP server, OpenAPI spec, or GraphQL endpoint into a CLI at runtime. No codegen. ## Install ```bash # Run directly (no install needed) uvx mcp2cli --help # Or install pip install mcp2cli ``` ## Core Workflow 1. **Connect** to a source (MCP server, OpenAPI spec, or GraphQL endpoint) 2. **Discover** available commands with `--list` (or filter with `--search`) 3. **Inspect** a specific command with `<command> --help` 4. **Execute** the command with flags ```bash # MCP over HTTP mcp2cli --mcp https://mcp.example.com/sse --list mcp2cli --mcp https://mcp.example.com/sse create-task --help mcp2cli --mcp https://mcp.example.com/sse create-task --title "Fix bug" # MCP over stdio mcp2cli --mcp-stdio "npx @modelcontextprotocol/server-filesystem /tmp" --list mcp2cli --mcp-stdio "npx @modelcontextprotocol/server-filesystem /tmp" read-file --path /tmp/hello.txt # OpenAPI spec (remote or local, JSON or YAML) mcp2cli --spec https://petstore3.swagger.io/api/v3/openapi.json --list mcp2cli --spec ./openapi.json --base-url https://api.example.com list-pets --status available # GraphQL endpoint mcp2cli --graphql https://api.example.com/graphql --list mcp2cli --graphql https://api.example.com/graphql users --limit 10 mcp2cli --graphql https://api.example.com/graphql create-user --name "Alice" ``` ## CLI Reference ``` mcp2cli [global options] <subcommand> [command options] Source (mutually exclusive, one required): --spec URL|FILE OpenAPI spec (JSON or YAML,