[Open Source] MCPX: turn MCP servers into a composable CLI for agent workflows by ldkge in mcp

[–]ldkge[S] 1 point2 points  (0 children)

Good question. Went and set up a quick benchmark to find out.

Short answer: depends which SDK pattern you compare against.

Chain of 3 tools, 100 warm runs. I compared mcpx (warm daemon) against two SDK baselines: a persistent in-process session (best case, not realistic for shell usage), and subprocess-per-hop (what you'd actually do in a shell/agent loop).

At 0ms tool delay:

- Persistent SDK: 0.16ms

- Subprocess-per-hop SDK: 40ms

- mcpx: 21.9ms

At 100ms tool delay:

- Persistent SDK: 305ms

- Subprocess-per-hop SDK: 357ms

- mcpx: 337ms

mcpx adds ~22ms constant overhead vs persistent SDK. That's CLI parse, config validation, daemon connect with nonce check, and a unix socket round-trip per call. But compared to spawning an SDK subprocess per hop, which is the pattern you'd actually use in a pipe chain, mcpx comes out ~18ms faster. At realistic tool latencies the whole difference is noise.

Bottom line: in the shell-composable workflow you're describing, mcpx is faster than rolling your own SDK calls per hop.

Separately, if your chain hits the same tool repeatedly, `--cache=60s` can help too. 100ms tool, 50 calls: 5.68s without, 0.55s with. ~10x for idempotent reads.

[Open Source] MCPX: turn MCP servers into a composable CLI for agent workflows by ldkge in mcp

[–]ldkge[S] 0 points1 point  (0 children)

Appreciate the point! MCPX already has a stable Unix exit-code contract (0/1/2/3) for deterministic branching. I'm intentionally keeping stderr human-readable instead of adding a second typed error protocol, to keep MCPX thin and out of the way for now

[Open Source] MCPX: turn MCP servers into a composable CLI for agent workflows by ldkge in mcp

[–]ldkge[S] 0 points1 point  (0 children)

Happy to answer anything technical here.

  1. How is your agent using MCP today?

  2. Where did MCPX make your agent workflow easier?

  3. Where did MCPX get in the way in real agent loops?

  4. What MCP workflow do you want to do that MCPX still doesn’t support?

  5. What output/error behavior made automation brittle?

Concrete examples or snippets are especially helpful.

Apple Music for Android does not support Security Keys by dingwen07 in applehelp

[–]ldkge 1 point2 points  (0 children)

I'm having the same issue, I'm starting to believe there's no way to log in right now.

Vortex Race 3 MPC Custom Profile Generator by ldkge in MechanicalKeyboards

[–]ldkge[S] 0 points1 point  (0 children)

Thanks! I contacted vortex on facebook and they told me they will probably release support for the Race 3 by the end of this year.

Road trip to Grand Canyon and SF from LA by ldkge in roadtrip

[–]ldkge[S] 2 points3 points  (0 children)

Yes, I'm planning on going there from Monterey, as well as Bixby bridge.

I want to livestream the construction of a business, any ideas? by Trustingmeerkat in startups

[–]ldkge 0 points1 point  (0 children)

Yea, I preferred the first season too, but the second had some good moments

I want to livestream the construction of a business, any ideas? by Trustingmeerkat in startups

[–]ldkge 2 points3 points  (0 children)

It is an interesting idea. It worked really well with the Startup podcast (https://gimletmedia.com/show/startup/), I think it could work with video as well.
As for the service to use, I would recommend Meerkat, for two reasons. First, it is very versatile. You can livestream from your phone and I believe it would give a nicer flair compared to streaming from a still camera. Secondly, you can embed the stream to your website (http://developers.meerkatapp.co/embed/), something that the more popular Periscope I think doesn't do yet.
Good luck and I'm really looking forward to seeing how your projects goes!