← Back to directory
W

Windows Sandbox MCP Server

Community
Test apps in disposable Windows Sandboxes and keep the evidence.
Category
Dev Tools #34 of 751
Stars
★ 503 Very popular
Transport
stdio (local process)
Runtime
Prebuilt binary
Credentials
No credential needed
License
MIT
Last commit
Tools
27
63FMRS · C

The README describes app testing, UI automation, installer auditing, and evidence collection on Windows 11 Sandbox, and includes a stdio MCP configuration example. The server is suited to local Windows development testing, not persistent or multi-instance environments, Linux, or high-assurance malware analysis. It controls the guest and can access or copy host files through explicit operations; network access and runtime provisioning are configurable or opt-in.

Strongest · Documentation 17/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
14/20
Maintenance
10/20
Documentation
17/20
Setup experience
13/20
Why each score
Reliability 9/20
The README describes a shared CLI/MCP engine, stdio configuration, tool inventory, error handling, and several edge cases, and claims integration and packaging tests. However, only the README was supplied: there is no verifiable server source, manifest, CI workflow, or test files. Under the static calibration, initialization, tool behavior, and claimed test coverage cannot be confirmed, so the score is limited.
Security and permissions 14/20
The documentation discloses network modes, shared host folders, guest output, permission boundaries, and isolation limits; it says runtime installation is opt-in and detonation defaults to offline. Deductions apply because MCP can execute guest commands, launch programs, and copy files, while the README says an online guest can access the internet; no per-operation confirmation mechanism or source code is available to verify. The supplied material does not show red-line behavior.
Maintenance 10/20
The repository has an MIT license, a stated v1.2.0 release, a public repository, and a clear installation/update path; supplied metadata says it is not archived and has no open issues. Commit history, release cadence, dependency update records, and a security response channel were not supplied, so sustained maintenance is unverified.
Documentation 17/20
The README provides layered setup instructions, configuration examples for several clients, a tool and parameter overview, platform requirements, troubleshooting guidance, risks and limitations, and contextualized measured results with a compatibility-document link. Deductions apply because the linked materials and server manifest were not supplied, and tool details and important implementation claims cannot be independently checked from the provided evidence.
Setup experience 13/20
The README gives a portable ZIP path without a separate Node installation, checksum guidance, a doctor check, Windows prerequisites, and configuration examples for VS Code, Copilot CLI, and Claude. Deductions apply because packaged support is limited to Windows x64, enabling Sandbox may require administrator action and a restart, and no manifest or execution evidence was supplied to confirm that the configuration completes a working connection.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Developers and QA teams testing Windows desktop apps on a clean machine.
  • Agent workflows that use an MCP client to operate a Sandbox and inspect screenshots and structured results.
  • People who need quick, disposable tests in a local Windows Sandbox.

Not for

  • Users who need Linux, cloud machines, persistent environments, or multiple concurrent Sandboxes.
  • Workloads requiring Microsoft Store apps or specific hardware.
  • Anyone needing a full malware analysis lab or guaranteed risk-free isolation.

Required permissions

  • The host must be able to start and control Windows Sandbox; enabling the Windows feature requires an administrator PowerShell session and restart.
  • The MCP client starts the local server over stdio; the documented configuration uses the extracted package's Node.js runtime and server files.
  • Host file copy scope can be limited with SANDBOX_MCP_ALLOWED_ROOTS; explicit runtime provisioning downloads and verifies installers on the host, then copies them into the guest for installation.

Risks and side effects

  • Windows Sandbox provides isolation but cannot guarantee protection from a hypervisor or Sandbox escape vulnerability.
  • Network mode on gives the guest internet access; use off or firewall for untrusted files, and note that guest administrator code could undo firewall restrictions.
  • The guest can write to the output folder; treat returned files and logs as untrusted, especially after detonation runs.
  • Runtime provisioning is opt-in and reports runs as provisioned; such a pass does not show that the original clean machine had those dependencies.

Setup

Before you start

Runtime:Prebuilt binary

Other optional settings (5)
SANDBOX_MCP_HOME optional Sets where run reports, screenshots, and other artifacts are stored; defaults to %LOCALAPPDATA%\sandbox-mcp.
SANDBOX_MCP_ALLOWED_ROOTS optional Sets the host folders allowed to be copied into the sandbox; separate folders with semicolons.
SANDBOX_MCP_IDLE_MINUTES optional Sets how many idle minutes pass before the sandbox shuts down; defaults to 30, and 0 disables the watchdog.
SANDBOX_MCP_KEEP_ON_EXIT optional Set to 1 to keep a sandbox started by this client running after the MCP client disconnects.
SANDBOX_MCP_WORKFLOW optional Set the same identifier across CLI commands to retain a shared desktop turn.

Download the Windows x64 portable ZIP, verify it against the adjacent SHA-256 file, and extract it. Use sbx.cmd for CLI-only operation; to configure MCP, add a stdio server with command pointing to node.exe in the extracted folder and args pointing to src/server.js. For the Bun ZIP, use sbx.exe mcp instead. Windows Sandbox requires Windows 11 24H2 or later, Pro, Enterprise, or Education, hardware virtualization, and a logged-in desktop session; run sbx.cmd doctor to check readiness. Enabling the Windows Sandbox feature requires an administrator PowerShell session and a restart.

claude_desktop_config.json
{"servers":{"windows-sandbox":{"type":"stdio","command":"C:\\Users\\you\\Downloads\\sandbox-mcp\\node.exe","args":["C:\\Users\\you\\Downloads\\sandbox-mcp\\src\\server.js"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "windows-sandbox": {
      "type": "stdio",
      "command": "C:\\Users\\you\\Downloads\\sandbox-mcp\\node.exe",
      "args": [
        "C:\\Users\\you\\Downloads\\sandbox-mcp\\src\\server.js"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.windows-sandbox]
command = "C:\\Users\\you\\Downloads\\sandbox-mcp\\node.exe"
args = ["C:\\Users\\you\\Downloads\\sandbox-mcp\\src\\server.js"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add windows-sandbox -- 'C:\Users\you\Downloads\sandbox-mcp\node.exe' 'C:\Users\you\Downloads\sandbox-mcp\src\server.js'

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Reload the client's MCP configuration and confirm that sandbox_status and sandbox_run appear in its tool list. Calling sandbox_status verifies the connection.

Troubleshooting

  1. Run sbx doctor first to check the Windows edition and build, Sandbox feature, virtualization, and wsb command-line tool.
  2. If the Sandbox feature is disabled, enable the Windows optional feature in an administrator PowerShell session and restart; after restart, open Windows Sandbox once from the Start menu.
  3. Check for a logged-in desktop session, at least 4 GB of RAM, and free disk space; Windows Home and Windows Server do not support this workflow.
  4. If startup fails, check whether another Windows Sandbox is already running; the tool supports only one at a time.
  5. The first UI Automation call can take a few seconds; screenshots require an unlocked desktop, and windows that move or resize must be captured again.

Things to try

Once connected, you can ask your AI assistant things like:

  • Run Character Map in a fresh offline Windows Sandbox and return the report and screenshot.
  • Start a fresh Windows Sandbox and show me its visible windows, then stop it.
  • Read the UI Automation tree for the app window in the running Sandbox.

Tools 27

sandbox_deps read-only
Statically inspect app dependencies on the host without running or installing the app.
sandbox_provision writes
After explicit opt-in, install verified runtimes into the current Sandbox and record that the run was provisioned.
sandbox_run destructive
Run an app in a fresh Sandbox, collect results, and destroy the guest environment.
sandbox_start writes
Start a fresh Sandbox with configurable network mode, memory, and virtual GPU.
sandbox_status read-only
Inspect the running Sandbox, network mode, agent health, and desktop state.
sandbox_desktop_release writes
Release the current workflow's desktop operation turn immediately.
sandbox_stop destructive
Destroy the Sandbox and list artifacts kept on the host.
sandbox_copy_in writes
Copy a host file or folder into the Sandbox.
Show 19 more tools
sandbox_deploy writes
Incrementally deploy a host directory to a running Sandbox and verify file hashes.
sandbox_copy_out writes
Copy a file or folder from the Sandbox to the host run output directory.
sandbox_exec writes
Run a PowerShell or cmd command in the Sandbox and return output and exit code.
sandbox_launch writes
Launch an executable or installed app package.
sandbox_process read-only
Inspect process status, exit code, and window title.
sandbox_windows read-only
List visible top-level windows with titles, process IDs, and bounds.
sandbox_screenshot writes
Capture the desktop or a window and return an inline PNG.
sandbox_record_start writes
Start a desktop recording with duration and frame limits.
sandbox_record_stop writes
Stop recording and publish a self-contained HTML viewer; also create MP4 if host ffmpeg is available.
sandbox_click writes
Click using screen coordinates.
sandbox_type writes
Enter text or key input for mouse and keyboard actions.
sandbox_ui_tree read-only
Read a window's UI Automation control tree.
sandbox_ui_action writes
Act on or read a control by name, automation ID, or control type.
sandbox_ui_wait read-only
Wait for a specified control to appear.
sandbox_app_errors read-only
Read application event log errors, including crashes, hangs, and unhandled .NET exceptions.
sandbox_install_test destructive
Test installation and uninstallation in a fresh Sandbox and report system changes and leftovers.
sandbox_detonate destructive
Run an untrusted file in a Sandbox that has no network by default and report observed activity.
sandbox_snapshot writes
Record a system snapshot of files, registry, services, autoruns, and installed programs.
sandbox_diff read-only
Compare two system snapshots and report changes.

Use cases

Check whether an app starts and runs with clean Windows dependencies.
Test Windows desktop interfaces with UI Automation, screenshots, and recordings.
Test installers and uninstallers and inspect leftovers.
Observe processes, network activity, and persistence from an untrusted file in an isolated environment.

Supported clients

VS Code
GitHub Copilot CLI
Claude Desktop

Listed from the project's documentation, not tested by this site.

Overview

Windows Sandbox MCP Server is a clean-machine testing tool for Windows desktop apps, with a CLI and an optional MCP adapter that share one engine. It can start a fresh Windows Sandbox, deploy and run an app, drive its interface with UI Automation, test installers and uninstallers, observe untrusted files, and save reports and media on the host. The MCP adapter uses stdio.

Similar servers

Source revision 57db757610cc Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/sandbox-mcp.svg)](https://followmcp.com/en/servers/sandbox-mcp)