AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

WindowsSandboxMcp

mcp-yourtablecloth-windowssandboxmcp · by yourtablecloth

Windows Sandbox MCP Server (for Windows 11 24H2+)

No reviews yet
0 installs
23 views
0.0% view→install

Install

$ agentstack add mcp-yourtablecloth-windowssandboxmcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-yourtablecloth-windowssandboxmcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
11mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of WindowsSandboxMcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Windows Sandbox MCP

[](https://github.com/yourtablecloth/WindowsSandboxMcp/actions/workflows/publish.yml) [](https://www.nuget.org/packages/WindowsSandboxMcp/)

A .NET tool to manage Windows Sandbox instances through the Model-View-Controller (MCP) protocol.

[](https://www.youtube.com/watch?v=2cIWJsQDlSM)

> ⚠️ EXPERIMENTAL PROJECT > > This project is currently in experimental stage. It may contain bugs and limitations. We welcome feedback and testing, but use in production environments is not recommended at this time. > > Please report issues and provide feedback to help improve the project!

Requirements

> ⚠️ IMPORTANT: This tool requires Windows 11 24H2 or later. It does NOT work on Windows 10 or earlier versions of Windows 11.

This MCP server depends on the new Windows Sandbox architecture and the wsb.exe CLI tool, which are only available in Windows 11 24H2 and later versions.

Build

dotnet build

Usage

This MCP server can be used with any MCP-compatible client, including Claude Desktop and VS Code.

With Claude Desktop

1. Build the Project
dotnet build -c Release
2. Configuration for AI Client
2.1. Claude Desktop

Open the claude_desktop_config.json file located at:

%AppData%\Claude\claude_desktop_config.json

For everyday use, configure it as follows:

{
  "mcpServers": {
    "windows-sandbox": {
      "command": "dnx",
      "args": [
        "WindowsSandboxMcp",
        "--yes",
      ]
    }
  }
}

For development, configure it as follows:

{
  "mcpServers": {
    "windows-sandbox": {
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "D:\\projects\\WindowsSandboxMcp\\src\\WindowsSandboxMcp\\WindowsSandboxMcp.csproj"
      ]
    }
  }
}
2.2. Visual Studio Code

Open VS Code settings (Ctrl+,) and search for "MCP" or edit your settings.json directly:

For everyday use, configure it as follows:

{
  "servers": {
    "windows-sandbox": {
      "type": "stdio",
      "command": "dnx",
      "args": ["WindowsSandboxMcp", "--yes"]
    }
  }
}

For development, configure it as follows:

{
  "servers": {
    "windows-sandbox": {
      "type": "stdio",
      "command": "dotnet",
      "args": ["run", "--project", "D:\\projects\\WindowsSandboxMcp\\src\\WindowsSandboxMcp\\WindowsSandboxMcp.csproj"]
    }
  }
}

You must use an absolute path. You can check the absolute path of the project using the pwd command in PowerShell.

You must use an absolute path. You can check the absolute path of the project using the pwd command in PowerShell.

3. Restart Claude Desktop

After saving the configuration file, completely close Claude Desktop and restart it.

Right-click the Claude icon in the system tray and select "Exit"

Available Features

This MCP server provides programmatic control over Windows Sandbox through the following capabilities:

  • Sandbox Lifecycle Management - Start and stop Windows Sandbox instances with custom configurations
  • Command Execution - Execute commands and scripts inside the sandbox environment
  • Shared Folders - Map host directories to the sandbox for file sharing
  • Network Information - Retrieve network configuration and IP addresses
  • Session Management - Connect to and monitor sandbox sessions
  • Status Monitoring - Check if a sandbox is currently running

> Note: The available tools and their parameters may change as the project evolves. Use your MCP client's tool discovery features to see the current list of available tools and their specifications.

Usage

You can ask Claude Desktop questions like:

  • "Start a new Windows Sandbox"
  • "Execute notepad in the sandbox"
  • "Get network information for the sandbox"
  • "Stop the sandbox"
  • "Add a shared folder to the sandbox"
  • "Is a sandbox currently running?"

Technical Details

Architecture

This MCP server uses the new Windows Sandbox architecture introduced in Windows 11 24H2, which provides programmatic control through the wsb.exe CLI tool.

Dependencies:

  • ModelContextProtocol (v0.4.0-preview.3) - Core MCP implementation
  • Microsoft.Extensions.Hosting (v10.0.0) - Application hosting infrastructure
  • System.Management (v10.0.0) - WMI integration for process management
  • wsb.exe - Windows Sandbox CLI tool (built-in on Windows 11 24H2+)

Project Structure

  • Program.cs - Entry point and MCP server initialization
  • WindowsSandbox.cs - High-level Windows Sandbox API
  • WindowsSandboxCliRaw.cs - Low-level CLI wrapper
  • Tools/WindowsSandboxTools.cs - MCP tool definitions
  • Models/ - Configuration and data models

Key Features

  • Single sandbox instance management (prevents multiple sandboxes running simultaneously)
  • Automatic connection and readiness detection
  • Remote session window management
  • WMI-based process detection for active sessions

Contributing

This is an experimental project and we welcome contributions! If you encounter any issues or have suggestions for improvements, please:

  • Open an issue on GitHub
  • Submit a pull request
  • Share your feedback and test results

Your contributions help make this project better for everyone!

License

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.