Cursor's agent runs terminal commands in your project, on your machine. Most of the time that is what you want. The commands that make people nervous are a small, predictable set: npm install in a repository you just cloned, a pip install -r requirements.txt from a pull request, a test suite whose setup scripts you have not read. Those are the ones worth moving to a separate machine.
There are two ways to do that with Sandscale. One is the Sandscale MCP server , which gives the agent sandbox tools. This post covers the other, which needs no MCP setup at all: a project rule that tells Cursor's agent to run those commands through sandscale sandbox run , so they execute in a fresh sandbox , its own Firecracker microVM, and the agent still reads the output in its terminal.
Sources, read in November 2026: Cursor's Rules documentation and Sandscale's CLI reference .
What sandscale sandbox run does
sandscale sandbox run --sync .…