Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SANDBOX_MCP_ALLOWED_ROOTSNoSemicolon-separated list of host paths that may be copied into a sandbox. Empty (the default) means unrestricted, in which case copy_in/deploy results carry an explicit unrestricted-roots warning.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
sandbox_depsA

Host-only static scan of PE imports, .NET runtime configs, AppxManifest and scripts. Does not boot a sandbox, execute the app or install anything. Unknown/dynamic dependencies still require runtime observation.

sandbox_provisionA

OPT IN only. Host downloads official Microsoft runtime installers, verifies published hashes when available and Microsoft Authenticode signatures, then copies and silently installs in the already-started guest. Works with guest networking off. This is no longer a clean-machine test.

sandbox_startA

Boot a fresh, ephemeral Windows Sandbox (clean Windows install, elevated admin user) and connect the guest agent. Only one sandbox can exist at a time; everything inside is destroyed by sandbox_stop. Takes ~20-40s. Host-side artifacts (screenshots, copied-out files, audit log) stay in runDir after the sandbox is gone.

sandbox_statusA

Show the current sandbox (id, boot epoch, verified agent protocol/version/SHA256, network mode, run folder) and whether the guest agent responds.

sandbox_stopA

Stop and destroy the sandbox. Returns the host folder holding artifacts (screenshots, copied-out files).

sandbox_desktop_releaseB

End this workflow desktop turn immediately instead of waiting for its four-second idle grace.

sandbox_copy_inA

Copy a host file or folder (e.g. your build output) onto the sandbox local disk. Sources are confined to SANDBOX_MCP_ALLOWED_ROOTS when it is set; when it is empty the copy proceeds but the result carries an unrestricted-roots warning.

sandbox_deployA

Explicit warm-sandbox inner loop: transfer only added/changed files, delete removed files, verify all destination SHA256 hashes. Requires an already running sandbox. Rejects links/reparse points and build output that changes while staging. copy_in still does a full replace.

sandbox_copy_outA

Copy a file or folder from the sandbox back to the host (into the run outDir/files). The result is marked untrusted: the guest writes that share, so treat every copied-out file as attacker-controlled. The destination is confined to the run out directory.

sandbox_execA

Run a command in the sandbox (elevated admin user session) and wait for it. Returns stdout, stderr and exit code. Use sandbox_launch for GUI apps or anything long-running. The sandbox has Windows PowerShell 5.1 and .NET Framework 4, but no Store apps (no Notepad, Calculator, Terminal) and no winget.

sandbox_launchB

Start a program (e.g. a GUI app) on the sandbox desktop without waiting for it to exit. Returns its pid.

sandbox_processA

Is a process started with sandbox_launch still running? Returns hasExited, exitCode and its main window title.

sandbox_windowsA

List top-level windows on the sandbox desktop (pid, process, title, screen rect).

sandbox_screenshotA

Capture the sandbox desktop, or one window by title/pid. Returns a preview image; the full-resolution PNG is saved on the host. sandbox_click coordinates refer to this image by default.

sandbox_record_startB

Capture bounded desktop evidence in an independent guest process, including during long exec calls. Frames and metadata stream to the host share; no guest dependencies or network needed.

sandbox_record_stopA

Stop the tracked recorder and publish a self-contained HTML flipbook, plus MP4 when host ffmpeg is available. Keeps raw frames and manifest even on failure. Also publishes partial evidence after a guest crash.

sandbox_clickA

Click at a point. By default x/y are pixel coordinates in the most recent sandbox_screenshot image. Prefer sandbox_ui_action when the target control has a name: it is more reliable than pixels.

sandbox_dragA

Mouse-down at (x1,y1), animated move to (x2,y2), mouse-up — for grid selection, sliders, file lists and splitter moves. By default raw sandbox screen pixels; with coordinates='screenshot', pixels in the most recent sandbox_screenshot (or the one named by captureId); both endpoints are mapped.

sandbox_edge_debugA

Launch guest Microsoft Edge with --remote-debugging-port on its own profile and relay the DevTools endpoint to the sandbox IP (CDP binds 127.0.0.1 in the guest; a netsh portproxy bridges it). Returns the HTTP base URL plus the browser/protocol versions from /json/version — a host-side browser-use agent can then drive the guest at DOM level via /json/list and the websocket debugger URLs. Needs a sandbox started with network on or firewall.

sandbox_scrollA

Mouse-wheel scroll at a point: positive notches scroll up (left with horizontal=true), negative scroll down/right. One notch is one wheel detent (~3 lines of text). Default raw sandbox screen pixels; coordinates='screenshot' maps pixels in the most recent screenshot (or captureId).

sandbox_process_killA

Terminate guest processes: exactly one of pid (from sandbox_launch) or name (e.g. "msedge", "notepad"). Force-terminates; returns the stopped pid(s).

sandbox_guest_rebootA

Restart Windows INSIDE the running sandbox: same sandbox id, same run artifacts, in-guest state persists (since 22H2) - the right move after an installer that demands a reboot. The agent is re-injected and verified against the same epoch (identity pinned); the usually-changed IP is learned automatically. Not available with network=off.

sandbox_janitorA

Detect a headless Windows Sandbox (vmmemWindowsSandbox alive without a client process - it holds the one-sandbox slot and ignores sandbox_stop). With fix:true: graceful platform stop for listed ids, client-process teardown, then a CmService restart fallback; if elevation is required it returns the exact elevated command instead of failing silently.

sandbox_typeA

Type text or send key chords to the focused window (or a window found by title/pid, which is focused first). mode is explicit: 'text' types the string exactly as-is; 'keys' is SendKeys syntax ({ENTER}, {TAB}, ^s, %{F4}). Prefer semantic actions (sandbox_smart_click, sandbox_ui_action setvalue) over raw typing.

sandbox_smart_clickA

Click a control by selector using the UIA-first strategy ladder: Invoke/Toggle/Select/ExpandCollapse pattern, then the legacy IAccessible default action, then UIA focus + Enter (activates web content that ignores synthesized mouse input), then a focus-verified SendInput click at the element. Reports every attempt, the winning strategy and an effect check (element gone / state changed). Prefer this over pixel sandbox_click; querying the element also wakes Chromium accessibility, which makes web pages drivable.

sandbox_ui_treeA

Read the accessibility (UI Automation) tree of an app in the sandbox: one line per control with type, "name", #automationId, = value, [x] toggle state and {available actions}. Much cheaper and more precise than a screenshot for finding controls. Without pid/windowTitle it reads every top-level window (can be large).

sandbox_ui_actionA

Find a control by name / automationId / controlType (any combination) and act on it through UI Automation: click (Invoke, Toggle, Select or ExpandCollapse as appropriate, else a real mouse click), doubleclick, rightclick, setvalue (type into an edit box), toggle, select, expand, collapse, focus, or read (just return its state). Use sandbox_ui_tree first to see names. If a click opens a modal dialog the result is {pending:true}; that is fine.

sandbox_ui_waitA

Wait until a control matching name / automationId / controlType appears (e.g. a result label, a dialog, a finished state). Returns the element, or an error after timeoutSec.

sandbox_app_errorsA

Error and critical events from the sandbox Application event log (crashes, .NET unhandled exceptions, side-by-side errors).

sandbox_runA

One shot: boot a fresh sandbox, copy the app folder in, run it, screenshot it, check for crashes, optionally run a PowerShell test script inside, copy files out, destroy the sandbox and write report.md. Use this for "does my build work on a clean Windows machine?". Fails if a sandbox is already running.

sandbox_snapshotA

Record files (Program Files, ProgramData, user profiles, drivers, scheduled tasks, top of C:\ and System32), all HKLM\SOFTWARE and HKCU\Software keys, services/drivers, autoruns, environment and Add/Remove Programs entries under a name. Known Windows background noise is filtered out. Takes ~15s. Compare two with sandbox_diff.

sandbox_diffB

What changed between two snapshots: installed programs, services/drivers, autorun/environment values, files and registry keys added/removed/changed. New folders and keys are collapsed to their topmost new parent. Markdown.

sandbox_install_testA

One shot: boot a fresh sandbox, snapshot, run the installer silently, snapshot, optionally run a test script, uninstall using what the installer registered in Add/Remove Programs, snapshot again, destroy the sandbox. Reports exactly what the install added (files, registry, services, autoruns, scheduled tasks, processes left running) and what the uninstaller left behind. If an installer hangs (usually a dialog waiting for a click), it is screenshotted and its controls are listed. Fails if a sandbox is already running.

sandbox_detonateA

One shot: boot a fresh sandbox (no network adapter by default), turn on Windows process, connection and DNS auditing, run the file the way a double-click would, watch it, then destroy the sandbox. Reports every process it started (with command lines), names it looked up, connections it tried, files/registry/autoruns/services/scheduled tasks it changed, windows and screenshots, plus plain-language findings (heuristics, not a verdict). Fails if a sandbox is already running.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 34 tools

Disambiguation4/5

Most tools have clearly distinct purposes: lifecycle, file transfer, process execution, GUI interaction, snapshots, and one-shot workflows are separated well. Some boundaries blur among sandbox_click, sandbox_smart_click, and sandbox_ui_action, and the one-shot tools intentionally duplicate sequences of lower-level tools, but the descriptions provide guidance.

Naming Consistency4/5

All tools use a consistent sandbox_ prefix and snake_case naming, with no camelCase or style mixing. Minor deviations exist because several names are noun-like (sandbox_status, sandbox_screenshot, sandbox_ui_tree) rather than strict verb_noun patterns.

Tool Count2/5

34 tools is heavy for an MCP server, and although the domain is broad, several clusters could be consolidated, especially the multiple UI clicking/automation variants and the one-shot workflows that overlap with manual tool sequences. The count exceeds the typical 25+ threshold for being too many.

Completeness5/5

The surface is exceptionally complete for Windows sandbox automation: lifecycle control, dependency scanning, provisioning, file transfer, process execution, GUI/UIA automation, screenshots and recording, snapshots and diffs, install testing, detonation, and recovery tools are all present. Obvious operation gaps are minimal for the stated purpose.