1. Conduid
  2. Data
  3. Sandbox MCP
MCP server · Data

Sandbox MCP

Fresh, throwaway Windows machines for testing your apps: an MCP server and CLI that automate Windows Sandbox

84Strong

Scored 17 hours ago · breakdown

About Sandbox MCP

Sandbox MCP is an MCP server published by shanselman in the Data category: fresh, throwaway Windows machines for testing your apps: an MCP server and CLI that automate Windows Sandbox. Conduid read 27 tools from its source: sandbox_app_errors, sandbox_click, sandbox_copy_in, sandbox_copy_out, sandbox_deploy, sandbox_deps and 21 more. No package is published for it, so it installs from a source checkout.

The repository has 501 stars and 27 forks, is licensed MIT, and its last commit was on 15 Nov 2026. The latest release is v1.2.0 (7 Nov 2026): 1.2.0 - real Windows machines for your agent This release combines the clean-machine app-testing loop with: Native interactive-desktop readiness and screenshots tied to… It follows v1.1.0 (6 Nov 2026), and the 3 most recent releases go back to v1.0.0 (6 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include testing, ui-automation, windows and windows-sandbox.

Install

From source
git clone https://github.com/shanselman/sandbox-mcp

Tools (27)

sandbox_app_errorsApplication event log errors: crashes, hangs, .NET unhandled exceptions.
ParameterTypeDescription
sincestringISO time (e.g. launchedAt from sandbox_launch). Default: last hour.
sandbox_clickClick at a point. By default x/y are pixel coordinates in the most recent sandbox_screenshot image. Prefer sandbox_ui_action when the target control has a name: it is more reliable than pixels.
ParameterTypeDescription
buttonstring
captureIdstringScreenshot to map coordinates against (default latest). Moved/resized windows are rejected.
coordinatesstringscreenshot (default) or raw sandbox screen pixels.
doubleboolean
x *number
y *number
sandbox_copy_inCopy a host file or folder in (default `C:\apps\<name>`).
ParameterTypeDescription
hostPath *stringAbsolute host path to a file or folder.
sandboxPathstringDestination path inside the sandbox (default C:\apps\<name>).
sandbox_copy_outCopy a sandbox file or folder out to the run's `out\files`.
ParameterTypeDescription
namestringName for the copy under outDir/files (default: source name).
sandboxPath *stringPath inside the sandbox.
sandbox_deployDeploy a host directory into an already running sandbox, transfer only changes and verify hashes; optional launch/restart.
ParameterTypeDescription
argsstring
hostPath *stringHost build output directory (must be under SANDBOX_MCP_ALLOWED_ROOTS when set).
launchstringExecutable inside the destination, relative or absolute, to launch after verification.
restartbooleanStop processes whose image path is under the destination before applying; requires launch.
sandboxPathstringExclusive deployment directory; extra guest files are removed. Default C:\apps\<name>.
sandbox_depsHost-only conservative dependency diagnosis; does not execute or install the app.
ParameterTypeDescription
path *stringHost app file or folder to inspect.
sandbox_desktop_releaseEnd this workflow's desktop turn immediately.
sandbox_detonateRun an untrusted file (no network by default) and report its processes, lookups, connections, persistence and changes.
ParameterTypeDescription
argsstring
durationSecnumberWatch for at most this long (default 60).
excludearrayExtra noisy paths to ignore in the snapshots.
file *stringHost path to an .exe, .msi, .ps1, .cmd, .bat, .js, .vbs, .wsf or .hta.
fullbooleanWatch the whole duration even after everything it started has exited.
keepbooleanLeave the sandbox running afterwards (it keeps whatever the file did).
networkstringoff (default): no adapter; name lookups are still recorded. firewall: also records the addresses it tries (blocked by the guest firewall, which admin code could undo). on: real internet; only for files you are prepared to let talk to the world.
sandbox_diffCompare two snapshots: what changed in between.
ParameterTypeDescription
from *string
maxnumberMax entries per list (default 200).
to *string
sandbox_execRun a PowerShell (or `cmd`) command; returns stdout, stderr, exit code.
ParameterTypeDescription
command *string
cwdstring
shellstringDefault powershell (Windows PowerShell 5.1).
timeoutSecnumberDefault 120. The process tree is killed on timeout.
sandbox_install_testThe installer loop in one call: snapshot, install, snapshot, optional test, uninstall, snapshot, report what was added and left behind.
ParameterTypeDescription
argsstringInstaller arguments. .msi already gets /qn /norestart; for .exe pass the silent switch (/S, /VERYSILENT, /quiet...).
excludearrayExtra noisy paths to ignore in the snapshots.
failOnLeftoversboolean
installer *stringHost path to a .msi, .exe, .ps1, .cmd or .bat installer.
keepboolean
teststringHost .ps1 run after install. Gets $env:SBX_INSTALL_DIR, SBX_PROGRAM, SBX_OUT. Non-zero exit = fail.
timeoutSecnumberPer installer/uninstaller run (default 600).
uninstallstring"auto" (default), "none", or an uninstall command line to run instead.
uninstallArgsstringAuto mode: appended to the registered UninstallString when there is no QuietUninstallString, e.g. /S.
sandbox_launchStart an EXE or installed package AUMID; returns the app pid and main window.
ParameterTypeDescription
argsstring
aumidstringInstalled packaged app AUMID (PackageFamilyName!ApplicationId), instead of path.
cwdstring
pathstringExecutable path inside the sandbox, or PackageFamilyName!ApplicationId.
waitForWindowSecnumberWait up to N seconds for a main window (default 15).
sandbox_processRunning? Exit code? Window title?
ParameterTypeDescription
pid *number
sandbox_provisionExplicit opt-in verified runtime installation into the current owned guest; persists non-clean provenance.
ParameterTypeDescription
app *stringHost app path for dependency diagnosis.
provision *stringauto or comma-separated vcredist:x64,desktop:10.0:x64,dotnet:10.0:x64,aspnetcore:10.0:x64,windows-app-runtime:1.8:x64
sandbox_record_startCapture bounded desktop evidence in an independent guest process, including during long exec calls. Frames and metadata stream to the host share; no guest dependencies or network needed.
ParameterTypeDescription
fpsnumberFrames per second (default 2).
maxDurationSecnumberMaximum duration (default 120 seconds).
maxFramesnumberMaximum frames (default fps * duration, capped at 600).
sandbox_record_stopStop the tracked recorder and publish a self-contained HTML flipbook, plus MP4 when host ffmpeg is available. Keeps raw frames and manifest even on failure. Also publishes partial evidence after a guest crash.
sandbox_runThe whole loop in one call: boot, copy/install, launch or run, observe, test script, collect, destroy, report.
ParameterTypeDescription
app *stringHost path to an .exe, app folder, .msix, .msixbundle, .appx or .appxbundle.
appIdstringManifest Application Id; required when the package has multiple applications.
argsstring
certstringHost .cer to trust in the disposable guest TrustedPeople store only.
collectarraySandbox paths to copy back to the host afterwards (logs, output files).
consolebooleanConsole app: run to completion and capture stdout instead of launching a window.
depsstringHost folder of dependency packages. Defaults to a deps folder beside the package.
exestringExe name when app is a folder with more than one .exe.
keepbooleanLeave the sandbox running afterwards for more poking.
memoryMBnumber
provisionstringExplicit opt-in: auto or comma-separated runtime list (e.g. desktop:10.0:x64,vcredist:x64). Host downloads and verifies installers; guest can stay offline. Marks this run PROVISIONED, never a clean-machine pass. Omit for a true clean-machine test.
recordbooleanRecord desktop evidence at 2 fps for up to 120 seconds; report links HTML and optional MP4.
teststringHost path to a .ps1 run inside after launch. Gets $env:SBX_APP_PID, SBX_APP_DIR, SBX_APP_EXE, SBX_OUT. Non-zero exit = fail.
waitSecnumberGUI apps: seconds to let the app settle before observing (default 5).
windowstring
sandbox_screenshotPNG of the desktop or one window, returned inline (and saved on the host), with its own `captureId`, bounds and scale.
ParameterTypeDescription
maxWidthnumberPreview width (default 1280).
namestringLabel used in the saved file name.
pidnumberCapture only the main window of this process.
windowTitlestringCapture only the first window whose title contains this text.
sandbox_snapshotRecord files, registry, services, autoruns and installed programs under a name.
ParameterTypeDescription
excludearrayExtra file or registry (HKLM\..., HKCU\...) paths to ignore. A trailing * makes it a prefix match.
name *stringe.g. "before", "after-install"
sandbox_startBoot a fresh sandbox (`network`: on / firewall / off, `memoryMB`, `vGpu`). Waits for the agent and an interactive desktop; reports readiness timings.
ParameterTypeDescription
internetbooleanDeprecated: false is the same as network="off".
memoryMBnumberMemory for the sandbox in MB.
vGpubooleanGPU acceleration (default true). false = software rendering, smaller attack surface.
windowstringSandbox window state on the host (default normal, so you can watch).
sandbox_statusIs one running, its id/IP/network mode, agent health and current interactive-desktop facts.
sandbox_stopDestroy it. Lists the artifacts left on the host.
ParameterTypeDescription
forcebooleanAlso stop a sandbox not started by sandbox-mcp.
sandbox_typeType text or send key chords to the focused window (or a window found by title/pid, which is focused first). With literal=false, uses SendKeys syntax: {ENTER}, {TAB}, ^s (Ctrl+S), %{F4} (Alt+F4).
ParameterTypeDescription
keys *string
literalbooleanTreat keys as plain text (default true).
pidnumber
windowTitlestring
sandbox_ui_actionFind a control by name / automation id / type and click, set a value, toggle, select, expand, read...
ParameterTypeDescription
actionstringDefault click.
indexnumberWhich match to use when several match (default 0).
valuestringText for setvalue.
sandbox_ui_treeThe UI Automation tree of a window: type, name, automation id, value, state, supported actions.
ParameterTypeDescription
depthnumberMax depth (default 12).
jsonbooleanReturn raw JSON (with screen rects) instead of the outline.
maxNodesnumberMax elements (default 400).
sandbox_ui_waitWait for a control (a result, a dialog) to appear.
ParameterTypeDescription
timeoutSecnumberDefault 30.
sandbox_windowsVisible top-level windows with titles, pids and bounds.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 7.2K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and samples/WinUI/packages.lock.json.
  • !No dynamic code executionScanned 24 source files and found 3 calls to eval or shell execution, in src/core.js:490 and src/core.js:681 among others. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdiosrc/server.js:5
Starts other programs
14 callssrc/cli.js:349, src/cli.js:365, src/cli.js:383
Outbound network calls
1 callsrc/provision.js:30
Writes or deletes files
42 callssrc/coordination.js:22, src/coordination.js:23, src/coordination.js:24
Lockfile
package-lock.json and samples/WinUI/packages.lock.json

Pattern matches on the source text of 24 files: places to read, not proof of what the code does at run time.

Releases

v1.2.0v1.2.0 - a fresh Windows PC for your AI agent · 7 Nov 20261.2.0 - real Windows machines for your agent This release combines the clean-machine app-testing loop with: Native interactive-desktop readiness and screenshots tied to a specific capture/window. Bounded desktop recording, self-contained…
v1.1.0v1.1.0 - portable Windows ZIP and sbx doctor · 6 Nov 2026What's new Portable Windows x64 ZIP (`sandbox-mcp-win-x64-v1.1.0.zip`): the `sbx` CLI and the MCP server with Node.js bundled. Unzip and run; no Node.js install needed. GitHub Actions builds and smoke-tests it. `sbx doctor`: checks whether…
v1.0.0sandbox-mcp 1.0 · 6 Nov 2026Fresh, throwaway Windows machines for testing your apps. sandbox-mcp drives Windows Sandbox through the `wsb` CLI and exposes it as an MCP server (21 tools) and a CLI (`sbx`). Every run boots a clean Windows 11, does its job, copies the…

README

The repository's README runs to about 7.2K words, fetched 3 days ago. The original in the repository is authoritative.

Read full README
Questions

About Sandbox MCP

How do I install Sandbox MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Sandbox MCP safe to use with an AI agent?

Its trust score is 84 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 24 source files found that it serves MCP over stdio, starts other programs (14 calls), makes outbound network calls (1 call) and writes or deletes files (42 calls). Its dependencies are pinned by package-lock.json and samples/WinUI/packages.lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sandbox MCP still maintained?

Yes — the latest release is v1.2.0 (7 Nov 2026), and the last commit was 16 days ago. The repository has 501 stars.

What tools does Sandbox MCP provide?

Conduid read 27 tools from the source: sandbox_app_errors, sandbox_click, sandbox_copy_in, sandbox_copy_out, sandbox_deploy, sandbox_deps, sandbox_desktop_release, sandbox_detonate and 19 more. 23 of them publish their parameters, listed under Tools above.

What license is Sandbox MCP released under?

The repository declares the MIT license. That applies to the latest release, v1.2.0, as well.