# Windows Sandbox MCP

> Windows Sandbox MCP is an MCP server for security. Let a restricted agent run risky commands in a disposable, offline Windows Sandbox. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** Windows, CLI
- **Repository:** https://github.com/fmuecke/windows-sandbox-mcp
- **MCP Registry name:** io.github.fmuecke/windows-sandbox-mcp
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
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.

## Tools

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_start` (name suggests: changes): Starts a guest, optionally mapping input and output folders
- `sandbox_exec` (name suggests: changes): Runs a command in the guest as system or user and returns the exit code
- `sandbox_status` (name suggests: reads): Shows running state, id and mapped folders
- `sandbox_stop` (name suggests: changes): Stops and discards the guest

## 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.

## Alternatives

- [kosa8](https://ai-powered.com/mcp/kosa8): kosa8 is an MCP server for developer tools.
- [Headmesh Agent Sandbox](https://ai-powered.com/mcp/headmesh-agent-sandbox): Headmesh Agent Sandbox is an open-source MCP server for developer tools.
- [Ironclaw](https://ai-powered.com/mcp/ironclaw): Ironclaw is an open-source MCP server for security.
- [Agent Workspace MCP](https://ai-powered.com/mcp/agent-workspace-mcp): Agent Workspace MCP is an open-source MCP server for developer tools.
- [Sandboxer](https://ai-powered.com/mcp/sandboxer): Sandboxer is a paid MCP server for cloud and infrastructure.
- [MCP stdio ShellGuard](https://ai-powered.com/mcp/mcp-stdio-shellguard): MCP stdio ShellGuard is an open-source MCP server for security.
- [Mcphost](https://ai-powered.com/mcp/mcphost): Mcphost is a freemium MCP server for cloud and infrastructure.
- [WBX Sandbox](https://ai-powered.com/mcp/wbx-sandbox): WBX Sandbox is a freemium MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/windows-sandbox-mcp
