Skip to main content
AI Tool Radar
OSI-openMCP servers for coding agents

sandbox-mcp

shanselman

Gives an AI agent a fresh, throwaway Windows machine by automating Windows Sandbox through a CLI and an MCP server.

502 stars(as of 2026-12-02)View on GitHubHomepage

What is sandbox-mcp?

A tool built on the Windows Sandbox feature of Windows 11 that boots a clean Windows guest, deploys an app or installer, drives its UI through UI Automation, and returns screenshots, recordings, crash events and reports before discarding the machine. It ships as a CLI (sbx) with an optional MCP adapter that shares the same engine, and includes dependency diagnosis, installer and uninstaller diffs and a workflow for running untrusted files.

sandbox-mcp at a glance
FactValue
Maintainershanselman
GitHub stars502 (as of 2026-12-02)
Forks27
LicenseMIT
License typeOSI-open
CategoryMCP servers for coding agents
StatusRising
Edition2026-12
Last verified2026-12-02

sandbox-mcp in depth

Agents that write or test Windows software hit the same wall as human developers: it works on my machine, because the developer's machine has every runtime and registry key ever installed. sandbox-mcp, published by the user shanselman, answers with a fresh Windows 11 machine for every run. It automates the Windows Sandbox feature so an agent can boot a clean guest, deploy an app, drive its controls, capture the crash and keep the evidence before the machine is thrown away.

The tool ships as a CLI called sbx, with an optional MCP adapter over the same engine. Per the README it uses native UI Automation to inspect, type and click in WinUI, WPF, WinForms and Win32 apps, produces PNGs, bounded recordings and HTML reports, and diagnoses missing dependencies such as the Visual C++ redistributable, with provisioning only when explicitly requested. Guest networking can be off, behind a firewall or on, and there are workflows for installer and uninstaller diffs and for running untrusted files. Release bundles include Node.js, and a Bun-based bundle comes with relinking materials and LGPL license texts.

The audience is Windows developers and QA engineers who want agents to test installers and desktop apps on a clean machine, and researchers who need repeatable guest runs. The project packaged three releases, v1.0.0 to v1.2.0, within two days of its November 6, 2026 start, and the compatibility file documents measured configurations and honest limits. The license is MIT.

The limits start with the platform: it needs Windows 11 24H2 or later in Pro, Enterprise or Education, not Home, and the Sandbox feature has to be enabled by an administrator with a restart. The project is very young and mostly the work of one author, with 55 of 61 commits, and the last commit dates from November 15, 2026. The repository shows no open issues, which means little public feedback so far rather than proof of quality. Timing claims of about 40 to 50 seconds per GUI sample are the project's own measurements, and the README states that not every Windows app or hardware-dependent workload will run in Sandbox. Running untrusted files is only as isolated as Windows Sandbox itself.

The verdict: sandbox-mcp is a focused, well-documented tool for a real problem, and its evidence-first approach is a good model for agent tooling. Use it if you develop for Windows on a Pro or Enterprise machine and want repeatable clean-machine tests driven by an agent. It is too early if you need cross-platform support, broad community validation or isolation suitable for serious malware analysis.

Pros & Cons

Pros

  • Solves a concrete problem (clean-machine testing) with measured, documented results and a compatibility file that states its limits
  • CLI works on its own, MCP is optional, and guest networking can be off, firewalled or on, with the documented clean-machine runs done with networking off
  • MIT code with packaged releases (v1.0.0 to v1.2.0 within two days) and a plugin and skills bundle for agents

Cons

  • Windows only: needs Windows 11 24H2 or later in Pro, Enterprise or Education (not Home), with the Sandbox feature enabled by an administrator and a restart
  • Very young and mostly one author (55 of 61 commits), and the last commit was on November 15, 2026; the repository shows no open issues, so there is little public feedback yet
  • Timing claims (about 40 to 50 seconds per GUI sample) are the project's own measurements, and the README states it does not promise that every Windows app or hardware-dependent workload runs in Sandbox
  • Running untrusted files is only as isolated as Windows Sandbox itself

License

MIT (OSI-open)

Code is MIT. Release bundles include Node.js, and an optional Bun-based bundle ships with relinking materials and LGPL license texts.

When it is interesting

Windows developers who want agents to test installers and desktop apps on a clean machine, with evidence they can review.

When it is too early

Anyone on Windows Home, macOS or Linux, or teams that need broad community validation or malware-grade analysis isolation.

This repo featured in the 2026-12 edition of the Open-Source AI Radar.