Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.segentic-lab/glovebox-mcp

Latest version: v0.7.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: stdio Publisher: segentic-lab
13 Stars
0 Forks
10 Versions
Python Repo language

Scan summary

io.github.segentic-lab/glovebox-mcp was last scanned on 23 Nov 2026 at version 0.7.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 2 were published within 4 days (20–23 Nov 2026).
  • Findings: No rules fired in version 0.7.0.
  • MCP server: Runs over stdio.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.0 LATEST 23 Nov 2026 No rules fired
0.6.2 20 Nov 2026 Not shown
0.6.1 14 Nov 2026 No rules fired
0.6.0 14 Nov 2026 Not shown
0.5.1 14 Nov 2026 Not shown

No rules fired in 0.7.0

Findings

Findings for v0.7.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.7.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

glovebox-mcp

A sandboxed computer-use MCP server — let an AI agent drive a real browser and desktop apps (mouse, keyboard, screenshots, clipboard, vision grounding), confined to a nested X11 window so its input and vision never touch your real screen or the windows of your other apps.

Like a lab glovebox: the agent reaches in and manipulates real applications, sealed off from your desktop. Bring the sandbox up, log into whatever sites or apps you want to automate inside that window, and the agent operates only there — you can watch it live and close it instantly.

Speaks the Model Context Protocol, so it works with MCP clients like Claude Code. Your host can run Wayland; the sandbox gives the agent a real X server to drive.

An agent driving a real browser in the sandbox — gliding the cursor, inserting a unicode name (Nadja Kovačič), typing, and submitting. All confined to a nested X11 window.

Why a nested X11 sandbox?

  • Most desktop automation (xdotool, PyAutoGUI) is X11-only, but many modern desktops run Wayland.
  • Xephyr provides a real X server inside a single window (DISPLAY :1). Everything the agent does — clicks, typing, screenshots — is confined to that window, not your real desktop.
  • You stay in control: watch it live, pkill Xephyr to close everything.

The isolation is display-level (see Safety): the apps themselves run as your user with your filesystem. For OS-level isolation run glovebox inside a VM or container.

Requirements

  • Linux — the sandbox nests a real X server (Xephyr), so it works even on Wayland hosts (via Xwayland). Developed on Ubuntu; any modern Linux with the packages below. macOS / Windows, or a Linux you do not want to install packages on: use container mode — it needs only Docker.
  • Python 3.10+ and uv (used for the virtualenv).
  • System packages — xserver-xephyr (Xephyr), openbox, scrot, x11-utils, x11-xkb-utils (xkbcomp: gives the sandbox your keyboard layout), xdotool, wmctrl, xclip, optional at-spi2-core + gir1.2-atspi-2.0 + python3-gi (focus check in native apps) (+ tesseract-ocr for basic). On Debian/Ubuntu the installer auto-installs them via apt (sudo); on Fedora/Arch it prints the matching dnf/pacman command. The MCP server itself is distro-agnostic — any Linux with these tools works. openbox is not optional in practice: without a window manager Xephyr ignores synthetic pointer motion, so clicks would land in the screen center (launch_app warns when it is missing).
  • A browser in the sandbox (Chromium, Chrome, Brave, Edge, Vivaldi or Opera).
  • NVIDIA GPU (≥6 GB VRAM) — only for the local vision mode. The server checks this itself (status() → vision.gpu) and auto falls back to basic/none when it is not met.

Install

One command. The installer probes the GPU, installs the system packages (auto via apt on Debian/Ubuntu; it prints the line for dnf/pacman), creates the Python env from pyproject.toml, downloads the vision models the machine can run, writes mcp-config.json and .mcp.json (Claude Code) with your paths, and installs the Claude Code skill:

git clone https://github.com/segentic-lab/glovebox-mcp && cd glovebox-mcp && ./install.sh

What auto picks: an NVIDIA GPU with ≥ 6 GB VRAM → local (OmniParser + ScreenParser, typed elements; ~4 GB of downloads, --no-screenparser skips the 153 MB detector); otherwise basic (Tesseract OCR, CPU). Tesseract is installed in every mode — the server's own auto backend selection falls back to it when the GPU is busy. Force a mode with ./install.sh none|basic|local; ./install.sh skill installs only the skill; --no-skill, --dev (pytest) are the other flags. Re-running is safe: it only downloads what is missing.

The requested mode is written to .vision-mode (auto unless you forced one; override per run with the GLOVEBOX_VISION env var). python vision.py check prints the same diagnosis status() returns (GPU, weights, detector, tesseract).

Container mode (Docker)

The same server in a Linux container, for hosts that are not Linux (macOS, Windows) or when the sandbox should not have your files. Nothing but Docker is installed on the machine:

git clone https://github.com/segentic-lab/glovebox-mcp && cd glovebox-mcp && ./install.sh container
# or, without the installer:   docker compose up -d --build
container "glovebox"   (long-lived; survives agent sessions, restarts with Docker)
  Xvfb :0 + openbox + noVNC      a desktop nobody sits at — you watch and use it in a browser:
    │                            http://localhost:6080/vnc.html?autoconnect=1&resize=scale
    ├─ Xephyr :2  ── chromium    one window per instance, exactly as on a real desktop
    └─ Xephyr :3  ── …
  each agent session:  docker exec -i glovebox glovebox-server      (MCP over stdio)

MCP client config — either form:

// 1. the launcher: starts the container when it is not running (needs python3 on the host)
{ "command": "python3", "args": ["/path/to/glovebox-mcp/container.py"] }
// 2. plain Docker: the container must already be up (`docker compose up -d`)
{ "command": "docker", "args": ["exec", "-i", "glovebox", "glovebox-server"] }

An existing native install switches with one line in its config: "env": {"GLOVEBOX_MODE": "container"} — server.py then hands the session to the container instead of driving your desktop.

What is different from native mode — status() says so in container and notes:

Native Container
Isolation display only: apps run as you, with your files the container: apps see only container-data/files and container-data/profiles
Apps everything installed on your machine the image's app set (below); status().container.apps.installed lists them
Logins your per-instance profiles in profiles/ container-data/profiles — log in once through the web viewer; kept across rebuilds
Where you watch windows on your desktop the web viewer, published on 127.0.0.1 only (GLOVEBOX_VNC_PASSWORD adds a password)
Grounding accessibility, OCR, or OmniParser on your GPU accessibility and OCR; optionally your GPU through the host's vision service (below)
File paths in replies host paths container paths (/app/files/<N>/… = container-data/files/<N>/… on the host)

Chromium runs with --no-sandbox in the container, because Docker's default seccomp profile forbids the user namespaces its sandbox needs; status() reports it (container.browser_sandbox). The container itself is then the isolation layer. Start the container with a seccomp profile that allows user namespaces and Glovebox keeps Chromium's sandbox on by itself.

App sets — chosen when the image is built:

Set Apps Image size
browser (default) Chromium ~1.8 GB
basic + Mousepad (editor), PCManFM (files), Evince (PDF), Eye of GNOME (images), Galculator, File Roller, xterm ~2.0 GB
full + LibreOffice, GIMP, Inkscape, Firefox ESR, VLC ~3.5 GB
./install.sh container --apps full              # or: GLOVEBOX_APPS=full python3 container.py build
docker build -t glovebox-mcp:local --build-arg APPS=basic --build-arg EXTRA_APT="thunderbird kate" .
python3 container.py install gedit              # into the RUNNING container; lasts until `down`

All of them except Firefox answer through accessibility (source: at-spi), so find_elements and act work on them without any vision; Firefox is read by OCR. Any Debian package can be added with EXTRA_APT.

Vision — three levels, cheapest first:

  1. Accessibility (always on): browsers and the apps above describe themselves. No model.
  2. OCR (always in the image): Tesseract, for what accessibility does not expose.
  3. Your GPU, shared from the host (opt-in, Linux hosts with a native ./install.sh local): ./install.sh container --vision host, or GLOVEBOX_CONTAINER_VISION=host when the container is created. The container gets nothing but a read-only mount of one directory holding a link to the host's vision-service socket; parse_screen then answers with "via": "host-service". The image stays small, and native and container agents share one model load. The trade-off is stated in status(): screenshots sent for parsing leave the container. When the host's service is not running (it idle-exits), vision falls back to OCR and says why; every new session through container.py starts it again.

There is no image with the GPU models built in: it would be ~8 GB larger, need the NVIDIA container toolkit, and the icon detector's AGPL-3.0 weights could not be shipped in it anyway.

The sandbox user inside the container takes the numeric id of the data folder's owner, so what the apps write there belongs to you, whatever your user id is.

python3 container.py up | down | status | build | install manage the container; the image is built for amd64 and arm64 (Apple Silicon) and both are exercised in CI.

Claude Code skill

The installer copies skills/glovebox/SKILL.md into ~/.claude/skills/glovebox/ when ~/.claude exists (./install.sh skill does only that) — a skill that teaches Claude Code the observe → act → verify loop, grounding per vision mode, the upload and navigation gotchas, and when to stop. Claude Code loads it automatically when an agent is asked to drive a GUI app (or explicitly with /glovebox). AGENTS.md remains the long form for any other agent/harness.

Works with any MCP client / harness

Claude Code, Cursor, Codex, or your own agent — it's a standard MCP server, not tied to any one host. Two compatibility notes: basic/local return element coordinates as text, so they work even with text-only agents; none relies on the client passing the tool's screenshots to a multimodal model (fine for Claude Code, Cursor, and other image-capable MCP clients). In any mode, clipboard() gets exact text out of an app without vision at all.

Quickstart

  1. Start the sandbox (leave it running):
    ./start-display.sh              # 1440×900 Xephyr window with a browser
    ./start-display.sh 1920x1080    # …or pass a screen size (or set $RES)

    Log into any sites or apps you want to automate in that window.

  2. Register the server with your MCP client. install.sh already wrote mcp-config.json with your real install path — copy its glovebox block into your client's MCP config:
    { "mcpServers": { "glovebox": {
        "command": "/abs/path/to/glovebox-mcp/.venv/bin/python",   // filled in by install.sh
        "args":    ["/abs/path/to/glovebox-mcp/server.py"],
        "env":     { "DISPLAY": ":1" }
    } } }

    Restart the client so it loads the server.

  3. Ask the agent to screenshot / click / type — it operates only on the :1 window.

Driving it with an AI agent? Paste AGENTS.md into the agent's system prompt — it teaches the observe → act → verify loop, grounding, the upload/unicode gotchas, and when to stop.

Tools (31)

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.segentic-lab/glovebox-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229