MC

MCPX – Turn any MCP server into a composable CLI for agents

Hacker News

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 card

Actual performance

2points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, mcp · Missing: mac, macos, cursor
89%89% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
47%47% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, pipe, io · Missing: https docs, excited, just released
37%37% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
32%32% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

CL
CLI-use – turn any MCP server into a CLI in one command36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CLI-use – turn any MCP server into a CLI in one command

Hacker News7
Mo
MongoDB MCP Server49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MongoDB MCP Server

Hacker News3
Im
Imagegen MCP Server35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Imagegen MCP Server

Hacker News1
Th
The KurrentDB MCP Server35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The KurrentDB MCP Server

Hacker News3
Ap
Apache Kafka MCP Server38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Apache Kafka MCP Server

Hacker News1
I
I forked usql into a MCP server35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I forked usql into a MCP server

Hacker News1
Co
CoreMCP – MCP Server for On-Prem DBs40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CoreMCP – MCP Server for On-Prem DBs

Hacker News1
MC
MCP server for any Python CLI44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MCP server for any Python CLI

Hacker News1
Op
Open-source database CLI that doubles as an MCP server for agents48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source database CLI that doubles as an MCP server for agents

Hacker News3
Sh
Shinkuro – Prompt synchronization MCP server27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Shinkuro – Prompt synchronization MCP server

Hacker News2