Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SANDBOX_MCP_HOMENoWhere runs, screenshots and reports are kept.%LOCALAPPDATA%\sandbox-mcp
SANDBOX_MCP_IDLE_MINUTESNoGuest shuts itself down after this long with no calls. 0 disables.30
SANDBOX_MCP_KEEP_ON_EXITNoSet to 1 to leave the sandbox running when the MCP client disconnects.
SANDBOX_MCP_ALLOWED_ROOTSNo';'-separated host folders that may be copied into the sandbox. Default is any folder.

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.

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). Returns the host path.

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_typeA

Type text or send key chords to the focused window (or a window found by title/pid, which is focused first). With literal=false, uses SendKeys syntax: {ENTER}, {TAB}, ^s (Ctrl+S), %{F4} (Alt+F4).

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.5/5.0

Scored across 27 tools

Disambiguation4/5

Most tools target clearly distinct resources or workflow stages, and descriptions actively clarify overlaps such as copy_in vs deploy and exec vs launch vs run. A few boundaries are still subtle, especially among click/ui_action/type and the one-shot workflows versus primitive tools, but an agent can generally choose correctly.

Naming Consistency4/5

All tools use a consistent sandbox_ prefix and snake_case, making the set predictable. The only minor inconsistency is that some names are noun-like (status, deps, process, windows, ui_tree) while others are verb_noun (copy_in, record_start, ui_action), but this remains readable.

Tool Count2/5

27 tools is heavy for the apparent scope, and several one-shot composite tools overlap with lower-level primitives. While the sandbox domain is broad, the set exceeds the range where each tool is easy to scan and select.

Completeness4/5

The server covers sandbox lifecycle, file transfer, command execution, GUI interaction, UI automation, recording, snapshots/diffing, app errors, and one-shot install/detonation workflows. Minor gaps remain around explicit network configuration and direct in-guest file management beyond deploy/copy.

Maintenance

ActivityMaintained
ResponsivenessLimited data