MCPFast / Tools / MCP2CLI: Dynamic CLI for MCP, OpenAPI, GraphQL Servers
Turns any MCP, OpenAPI, or GraphQL server into a CLI at runtime, with zero codegen.
View on GitHub→MCP2CLI is a powerful utility designed to bridge the gap between your backend services and the command line. It enables you to interact with MCP, OpenAPI, and GraphQL servers directly from your terminal, eliminating the need for manual client generation. This tool operates at runtime, meaning your server definitions are dynamically interpreted, allowing for immediate command-line access without any pre-compilation or code generation steps. This significantly streamlines the development and testing workflow for AI builders and backend engineers.
MCP2CLI transforms your existing backend servers into interactive command-line interfaces. Whether you're running an MCP server, exposing an OpenAPI specification, or serving a GraphQL API, MCP2CLI can introspect these services and expose their endpoints as executable commands. This allows developers to send requests, inspect responses, and manage server interactions directly from their terminal, accelerating debugging and operational tasks.
MCP2CLI is an essential tool for: