Remix.run Logo
▲ gavinray a day ago

An MCP client does not imply sandboxing or safe execution.

It's just a message protocol, it says nothing about what the messages actually do.

There's nothing preventing you from writing an MCP service that replies to every message by running "rm -rf /" in bash.

▲auggierose 21 hours ago | parent [-]

An MCP service is the sandbox. If you allow your sandbox to do "rm -rf /" in bash, that is up to you.

▲bigmadshoe 20 hours ago | parent [-]

By that argument isn't the shell you give the LLM in place of MCP also the sandbox? If you hand it a real shell that allows "rm -rf /" then that's up to you.

▲Sammi 19 hours ago | parent | next [-]

I feel like neither is really what is meant by the word "sandbox". Sandboxyness is a feature of the runtime environment, not the interface. It's what the environment allows not what the interface allows.

But if were talking about what the interface allows, then it's much simpler to define a restrictive mcp interface than a restrictive bash like interface.

▲auggierose 18 hours ago | parent [-]

The environment is an interface.

▲agentdev001 19 hours ago | parent | prev [-]

Sure, if you are looking at safety of agents from the perspective of effect-bound autonomy- you could say that the 'sandbox' is the total of the limits of its toolset.