Remix.run Logo
zbowling 6 hours ago

I wrote a better version of this idea: https://github.com/zbowling/mcpcodeserver

It works as an MCP proxy of sorts that converts all the child MCP tools into typescript annotations, asks your LLM to generate typescript, then executes those tool calls in a restricted VM to do the tool calls that way. It allows parellel process, passing data between tools without coming back to the LLM for a full loop, etc. The agents are pretty good at debugging issues they create too and trying again.

cube2222 3 hours ago | parent [-]

Could you expand in what way it’s better?

So far what you described sounds like what they did, but they manage the sandboxed environment for me and use Python rather than TypeScript.

Do note that their thing works not only with MCP tools, but arbitrary tools.