What problem does it solve?
You want to interact with an MCP server, OpenAPI/REST API, or GraphQL endpoint from the command line without writing client code or hand-maintaining wrappers.
Core Features & Use Cases
- On-demand discovery: Lists available tools/endpoints directly from the target source, and supports searching to quickly find what you need.
- Direct command execution: Calls specific operations/queries with flags, including argument passing and help-driven exploration.
- Convenient config reuse (bake mode): Saves connection settings as named tools and can install lightweight local wrappers so you don’t repeat auth and connection flags.
- Use Case: You need to query a GraphQL service to fetch a filtered set of users for debugging. Use mcp2cli to discover available operations, run the right query with parameters, and iterate quickly without building a dedicated client.
Quick Start
Run mcp2cli with your GraphQL endpoint, list available operations, and then call the one you care about with parameters to get live results immediately.