Ask HN: Is anyone here giving their MCP server a code execution environment?
1 comments
I wrote https://github.com/kstenerud/yoloai to sandbox agents so that they can do whatever they want inside (with --dangerously-skip-permissions), including write, compile and run code to perform their tasks. It also supports MCP forwarding.
Still early beta, but the biggest pieces are in place.
Still early beta, but the biggest pieces are in place.
I recently gave the MCP tools to create and access an iPython kernel, where it has the ability to specify what package to download before the session is created, and it can manipulate a copy of the data by writing its own code.
Making sure data was kept private and tools / code were secure was what took most of the time, and I'm wondering if there are any tools folks are using to make this easier. I know there are tools like e2b.dev which provide code sandboxes, but I feel like other data providing MCPs will run into this issue, so there must be some solution / architecture design I'm missing.