Hmm what is this JavaScript sandbox? container, separate process, same Node process? Also does it have access to the MCP tokens? The harness credentials?
Swival.dev has a tool to run Python code, and it can expose the MCP tools as Python functions.
This saves a couple prompts and tokens, but only in very specific cases, only with MCP servers that don't already support code mode, and only with large models.
In practice, I've not found that to make a real difference.
Plus, it's likely that more and more MCP servers are going to use code mode natively anyway.
Hmm what is this JavaScript sandbox? container, separate process, same Node process? Also does it have access to the MCP tokens? The harness credentials?
MCPs are nice, but where things really start getting fun is when you have an extensible MCP like jilebi or hyper-mcp
@the_mitsuhiko - How is the session replay of Pi embedded in the article?
It doesn't look to be asciinema?
Swival.dev has a tool to run Python code, and it can expose the MCP tools as Python functions.
This saves a couple prompts and tokens, but only in very specific cases, only with MCP servers that don't already support code mode, and only with large models.
In practice, I've not found that to make a real difference.
Plus, it's likely that more and more MCP servers are going to use code mode natively anyway.