SS

shanselman/sandbox-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

490 stars 25 forks 品質 88 トレンド 66MIT

アプリケーションをテストするためのフレッシュでスローウェイトのWindowsマシン:Windows Sandboxを自動化するMCPサーバーとCLI

概要

デスクトップではありません。 コンテナが Windows に終わるわけではありません。 : 起動し、アプリを展開し、コントロールを駆動し、クラッシュをキャッチし、証拠をキープし、PCを削除します。 sbx で直接実行します。オプションの MCP アダプターは、それらを望むクライアントのための発見可能なツールとインライン画像を公開します。 両方のインターフェイスは同じエンジンを使用します。 測定された GUI のサンプルは、ほぼ終了します。 サイトマップ 実際のアプリ, 実際のゲスト: Haptics Everywhereの自己完結WPF / WinFormsデスクトップアプリは、新鮮な, ネットワークオフサンドボックス. UIAは、インスペクターを選択し、ゲストはライトを暗闇に切り替え、アプリの再起動と終了を切り替え、ゲストは破壊されます。 10秒、183 KBは映像を編集しました:可読性、繰り返された暗いフレームのために遅らせられた軽いインスペクタ。 ブート/ティアダウンのタイトルカードは、実際のログを要約します。, 撮影されていないブート/シャットダウン. ゲストのランタイムインストールやハプティックハードウェアのクレームはありません。 フレッシュなダークラボスクリーンショット・イヤーラテライト検査機。 あなたのボットにこれを与えます.

概要(AI 翻訳)

AIエージェントに新しいWindows PCを贈ります。 それからそれを捨てて下さい。

デスクトップではありません。 コンテナが Windows に終わるわけではありません。 実質、使い捨て可能なWindows 11機械: 起動し、アプリを展開し、コントロールを駆動し、クラッシュをキャッチし、証拠を保ち、PCを削除します。 sbx で直接実行します。オプションの MCP アダプターは、それらを望むクライアントのための発見可能なツールとインライン画像を公開します。 両方のインターフェイスは同じエンジンを使用します。 測定された GUI のサンプルはおよそ 40-50秒 終わりに取ります。 サイトマップ

Realアプリ、実際のゲスト:Hapticsは、新しい、ネットワークオフサンドボックスで、自在なWPF / WinFormsデスクトップアプリです。 UIAは、インスペクターを選択し、ゲストはライトを暗闇に切り替え、アプリの再起動と終了を切り替え、ゲストは破壊されます。 10秒、183 KBは映像を編集しました:可読性、繰り返された暗いフレームのために遅らせられた軽いインスペクタ。 ブート/ティアダウンのタイトルカードは、実際のログを要約します。, 撮影されていないブート/シャットダウン. ゲストのランタイムインストールやハプティックハードウェアのクレームはありません。 フレッシュダークラボスクリーンショット・ イヤーライヤーライトインスペクター

✔ エージェントが設定するようにしましょう

あなたのボットにこれを与えます。 PC をチェックし、ダウンロードを検証し、管理者の変更や再起動の前に尋ねます.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

sandbox-mcp

Give your AI agent a brand-new Windows PC. Then throw it away.

Not your desktop. Not a container pretending to be Windows. A real, disposable Windows 11 machine: boot it, deploy your app, drive the controls, catch the crash, keep the evidence, delete the PC. Run it directly with sbx; the optional MCP adapter exposes discoverable tools and inline images for clients that want them. Both interfaces use the same engine. The measured GUI samples take roughly 40-50 seconds end to end. See the website.

Real app, real guest: Haptics Everywhere’s self-contained WPF/WinForms desktop app in a fresh, network-off Sandbox. UIA selects the Inspector, the guest switches light to dark, the app relaunches and exits, then the guest is destroyed. 10-second, 183 KB edited footage: light Inspector slowed for readability, repeated dark frames trimmed. Boot/teardown title cards summarize actual logs, not filmed boot/shutdown. No guest runtime installation or haptic-hardware claim. Fresh dark lab screenshot · Earlier light-theme inspector.

🤖 Let your agent set it up

Give this to your bot. It checks the PC, verifies the download and asks before admin changes or a restart. The CLI works on its own; configure MCP only if your agent needs that interface:

Set up the sandbox-mcp CLI by following:
https://raw.githubusercontent.com/shanselman/sandbox-mcp/main/docs/agent-setup.md
Install the latest verified release. The CLI must work without MCP; configure the optional MCP adapter only if my agent needs it. Ask before admin changes or a restart.

Download v1.2.0: portable CLI + optional MCP server, bundled Node.js, guest agent and setup instructions. No Node/npm installation needed.

“Works on my machine.” Caught in 30 seconds.

The dev box had Visual C++ installed. The fresh, network-off customer PC did not:

FAIL  NativeProof.exe on a fresh Windows Sandbox (29.8s)
  why      exited with code -1073741515; Missing dependency: VC++ redistributable.

Opt in to the verified runtime install, then repeat on another fresh guest:

PASS  NativeProof.exe on a fresh Windows Sandbox (30.9s)
  baseline PROVISIONED (not a clean-machine pass): VC++ redistributable  x64
  process  exited with code 0

Those are actual measured results, not illustrative output. The installer was Microsoft-signed 14.51.36247.0, downloaded and verified on the host. Guest networking stayed off. sbx deps app.exe diagnoses; sbx run app.exe --provision auto installs only when explicitly requested.

What your agent gets

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "windows-sandbox": { "type": "local", "command": "C:\\Users\\you\\Downloads\\sandbox-mcp\\node.exe", "args": ["C:\\Users\\you\\Downloads\\sandbox-mcp\\src\\server.js"], "tools": ["*"] } } }