MCPX – Turn any MCP server into a composable CLI for agents
MCPX – Turn any MCP server into a composable CLI for agents
I built MCPX: https://github.com/lydakis/mcpx Core idea: MCPX turns MCP servers into Unix-composable commands for agent workflows. It is primarily for agents that are shell-first, and secondarily useful for humans running tools directly. For me, a practical use case is OpenClaw: OpenClaw can call `mcpx` like any normal CLI and use MCP servers immediately, without implementing custom MCP transport/auth plumbing in OpenClaw itself. This also fits well with Codex Apps mode, where connected apps can be exposed as MCP servers through the same command contract. Command contract: - mcpx - mcpx <server> - mcpx <server> <tool> Design choices: - schema-aware `--help` (inputs + declared outputs) - native flag surface from MCP `inputSchema` - pass-through tool output for normal shell composition (`jq`, `head`, pipes) - explicit exit mapping (`0/1/2/3`) - stdio + HTTP server support - optional caching - `mcpx add` for bootstrapping server config from install links/manifests/endpoints Examples: - mcpx github search-repositories --help - mcpx github search-repositories --query=mcp - echo '{"query":"mcp"}' | mcpx github search-repositories Install: - brew tap lydakis/mcpx && brew install --cask mcpx - npm i -g mcpx-go - pip install mcpx-go I would love feedback on command UX, schema/flag edge cases, and where this should stop vs expand.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
CLI-use – turn any MCP server into a CLI in one command
MongoDB MCP Server
Imagegen MCP Server
The KurrentDB MCP Server
Apache Kafka MCP Server
I forked usql into a MCP server
CoreMCP – MCP Server for On-Prem DBs
MCP server for any Python CLI
Open-source database CLI that doubles as an MCP server for agents
Shinkuro – Prompt synchronization MCP server