Skip to content
MCP server

Windows Sandbox MCP

Let a restricted agent run risky commands in a disposable, offline Windows Sandbox

Runs locally

Windows Sandbox MCP is an MCP server for security. It runs locally on your machine and is started by your AI client.

Platforms
Windows, CLI
Runs
Locally
What it can do
Can change data (3 tools)
Version
1.0.0
Listing updated

Similar MCP servers

Install

In Claude Desktop → Settings → Extensions

https://github.com/fmuecke/windows-sandbox-mcp/releases/download/v1.0.0/wsb-mcp-1.0.0-win-x64.mcpb

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

Claude Desktop setup guide

Using several servers? Build one config file with the MCP config generator.

About Windows Sandbox MCP

This server is built around a two-account setup. You run a broker under your own account, and an agent account runs the stdio proxy, so the agent can reach a sandbox without any other access to your machine. A named pipe restricted to the agent account links the two, and the broker drives wsb.exe.

Only four tools exist: start a guest (optionally mapping an input folder read-only and an output folder writable), run a command as system or user, check status, and stop and discard the guest. Command output is not returned; only the exit code is, so results must be redirected to files in the output folder. The guest has no network, and it stops when the agent disconnects, after an idle timeout or when the broker exits.

It needs Windows 11 24H2 or later with Windows Sandbox enabled and a one-time setup command. The broker refuses to run if its executable or folder path is writable by others. Installation is by winget or a signed release zip.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 4 tools change data.

From the server's own tool labels and tool names; not verified by us.

sandbox_startName suggests: changes
Starts a guest, optionally mapping input and output folders
sandbox_execName suggests: changes
Runs a command in the guest as system or user and returns the exit code
sandbox_statusName suggests: reads
Shows running state, id and mapped folders
sandbox_stopName suggests: changes
Stops and discards the guest

What it does

Offline disposable guest
Runs commands in a fresh Windows Sandbox with no network.
Folder mapping
Map an input folder read-only and an output folder writable.
Two-account isolation
Broker runs as you, the proxy as the agent account over an ACL-protected pipe.
Automatic cleanup
Guest stops on disconnect, idle timeout or broker exit.
Install-location checks
Refuses to serve if others could replace the executable.
Diagnostics command
wsb-mcp diag checks each link and suggests fixes.

Good for

  • Let a coding agent test a suspicious installer without touching the host
  • Run an unknown script and collect output files safely
  • Reproduce a clean-machine Windows install problem
  • Detonate downloaded tools in a throwaway environment

Windows Sandbox MCP FAQ

What does Windows Sandbox MCP need?

Windows 11 24H2 or later with Windows Sandbox enabled, plus a one-time wsb-mcp setup.

Does the sandbox have network access?

No. The guest is offline.

How do I get command output?

The exec tool returns only the exit code, so redirect output to files in C:\SandboxOut.

How do I install Windows Sandbox MCP?

Use winget install fmuecke.WsbMcp, or download the release zip and verify it with the GitHub attestation.

What are the best alternatives to Windows Sandbox MCP?

The closest alternatives to Windows Sandbox MCP are kosa8, Headmesh Agent Sandbox, Ironclaw, Agent Workspace MCP and Sandboxer.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers