
Description
mcp2cli is an agent skill from the knowsuchagency mcp2cli project, listed on skills.sh. It helps an agent turn any MCP server, OpenAPI specification or GraphQL endpoint into a command line interface at runtime, with no code generation step. Instead of writing a client for each API, the agent calls the endpoint through a shell command, which keeps the context window small and makes the interface easy to script. The skill covers the install paths, which are running the tool with uvx without installing it, or installing the mcp2cli Python package with pip, and the core workflow for discovering an API's operations and calling them. Use it when a user wants to interact with an MCP server, a REST API described by OpenAPI, or a GraphQL service from the terminal. The skill is a SKILL.md file of instructions that an agent loads when a task calls for it, and it is free to install. Its skills.sh audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.…
Highlights
- Turns MCP, OpenAPI and GraphQL into a CLI
- No code generation step
- Runs with uvx or pip install
- Discovers and calls operations from the shell
- Free to install
Ratings & Reviews
No ratings yet
Be the first to rate mcp2cli.
People also visit
apollographql/apollo-mcp-server
Connect AI agents to GraphQL APIs through the Model Context Protocol
mcp2cli FAQ
What does mcp2cli do?
It turns an MCP server, an OpenAPI spec or a GraphQL endpoint into a command line tool that runs at runtime.
How do I install the skill?
Run: npx skills add https://github.com/knowsuchagency/mcp2cli --skill mcp2cli
How do I run the tool?
Use uvx mcp2cli --help to run it without installing, or install the mcp2cli package with pip.
Does it need code generation?
No. The skill says it works at runtime with no codegen.
Is it free?
Yes. The listing shows it as free.
What did the security audits show?
skills.sh lists Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.
What are the best mcp2cli alternatives?
Popular alternatives to mcp2cli include fotoetienne/gqai, apollographql/apollo-mcp-server and Apollo MCP Server. See all mcp2cli alternatives





















