What problem does it solve?
MCP servers, OpenAPI specs, and GraphQL endpoints often require verbose tooling and heavy clients to interact with programmatically. mcp2cli provides a lightweight CLI adapter that dynamically introspects schemas and generates compact, executable commands at runtime without code generation.
Core Features & Use Cases
- Interact with MCP servers: list available tools, execute tools, and pipe results through standard CLI workflows.
- OpenAPI and GraphQL support: enumerate endpoints and perform requests with concise, parameterized commands.
- Bake mode for reuse: save connection configs and reuse them across sessions to streamline agent workflows.
Quick Start
Install or run mcp2cli using uvx for zero-install usage, or install it with uv tool install, then list tools from a server with uvx mcp2cli --mcp https://mcp.example.com/sse --list.