#0001
`mcp2cli`: turn MCP and `OpenAPI` tools into on-demand CLI calls
50radar
mcp2cliCLI tool — turns MCP and OpenAPI into on-demand commands
Instead of injecting full tool schemas every turn, it exposes tools through shell commands on demand. If your agent uses lots of tools, this is worth testing now.
--listcosts about 16 tokens per tool and--helpabout 120 once, versus keeping full MCP schemas in context every turn.- The posted benchmark claims 96% savings for 30 tools over 15 turns and 99% for 120 tools over 25 turns; bigger toolboxes benefit more.
- It wraps both MCP servers and
OpenAPIspecs at runtime with no codegen or rebuild, which keeps changing APIs easier to operationalize. - It also ships as an installable skill for
Claude Code,Cursor, andCodex, so adoption cost is low if you already rely on shell-based agents.
Source: github.com/knowsuchagency/mcp2cliRead original →