ワンクリックで
mcp2cli
Turn any MCP, OpenAPI, or GraphQL server into a CLI at runtime with zero codegen.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Turn any MCP, OpenAPI, or GraphQL server into a CLI at runtime with zero codegen.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
In-process vector database for AI applications — embed vector search, hybrid retrieval, and full-text search directly into your application without managing a separate server.
LLM-powered knowledge extraction CLI — transform unstructured text into structured knowledge (graphs, hypergraphs, spatio-temporal graphs) with a single command.
Give your AI agent one-click internet access — Twitter, Reddit, YouTube, GitHub, Bilibili, and more. Zero API fees.
Generate token-efficient CLIs for AI agents by reading API docs and studying community patterns. Prints Go binaries + Claude Code skills + MCP servers.
Terminal AI coding agent with video input, subagents, MCP support, and ACP editor integration
AI-powered code review CLI — deterministic pipelines + LLM agent, battle-tested at Alibaba scale
| name | mcp2cli |
| description | Turn any MCP, OpenAPI, or GraphQL server into a CLI at runtime with zero codegen. |
| version | 1.0.0 |
| author | Hermes Agent |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["mcp","cli","openapi","graphql","codegen","automation"],"related_skills":["headroom","codebase-memory-mcp"]}} |
Dynamically convert MCP servers, OpenAPI specs, and GraphQL schemas into fully functional CLI tools at runtime. No code generation, no build steps.
pip install mcp2cli
# Point at any MCP server (SSE or stdio)
mcp2cli --server https://my-mcp-server.com/sse --output ./my-tool
# Use the generated CLI
./my-tool --help
./my-tool subcommand --arg value
# From URL
mcp2cli --openapi https://api.example.com/openapi.json --output ./api-cli
# From file
mcp2cli --openapi ./openapi.yaml --output ./api-cli
# With authentication
mcp2cli --openapi https://api.example.com/openapi.json \
--auth-header "Authorization: Bearer sk-..." \
--output ./api-cli
# From introspection endpoint
mcp2cli --graphql https://api.example.com/graphql --output ./gql-cli
# With custom headers
mcp2cli --graphql https://api.example.com/graphql \
--header "X-API-Key: your-key" \
--output ./gql-cli
# Convert Hermes MCP servers to CLI for scripting
mcp2cli --server stdio:hermes-mcp-server --output ./hermes-tools
# Now use in shell scripts
./hermes-tools search "query" --limit 10
./hermes-tools store --key "value"
# Convert API to CLI, then pipe to other tools
mcp2cli --openapi ./petstore.json --output ./petstore
./petstore list-pets --limit 5 | jq '.[].name'
# Custom output directory
mcp2cli --server ... --output-dir ./bin
# Verbose logging
mcp2cli --server ... --verbose
# Skip help generation
mcp2cli --server ... --no-help
# API key
mcp2cli --openapi ... --api-key "sk-..."
# Bearer token
mcp2cli --openapi ... --auth-header "Authorization: Bearer token"
# Basic auth
mcp2cli --openapi ... --auth user:password
--filter to limit endpoints.mcp2cli --openapi ... --api-key "$API_KEY".--output-file flag.# Test installation
mcp2cli --version
# Test with a public API
mcp2cli --openapi https://petstore3.swagger.io/api/v3/openapi.json --output ./petstore
./petstore --help
./petstore list-pets --limit 3