mcp2cli

mcp2cli

Convert any MCP, OpenAPI, or GraphQL server into a CLI without code generation.

MCPDevOpen source
Type
MCP
Open source
Yes
GitHub Stars
★ 2.2k
Source
mcp-github

Overview

mcp2cli is a tool that converts any MCP server, OpenAPI specification, or GraphQL endpoint into a command-line interface (CLI) at runtime, without requiring code generation. It enables AI programming agents (such as Claude Code, Cursor, Codex) to discover and invoke any MCP server or OpenAPI endpoint, and generate new skills from APIs. With mcp2cli, users can easily interact with various APIs, supporting OAuth authentication and sensitive values stored in environment variables.

Capabilities

  • Convert MCP servers to CLI
  • Convert OpenAPI specifications to CLI
  • Convert GraphQL endpoints to CLI
  • Support OAuth authentication
  • Support sensitive values in environment variables

Use cases

AI programming agents calling MCP serversGenerating new skills from APIsInteracting with OpenAPI and GraphQL endpointsHandling APIs requiring OAuth authentication

Setup

Requires: Node 环境API Key
uv tool install mcp2cli or npx skills add knowsuchagency/mcp2cli --skill mcp2cli

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

What protocols does mcp2cli support?

Supports HTTP, SSE, and stdio protocols.

How do I install mcp2cli?

Install via `uv tool install mcp2cli` or `npx` command.

Related skills