fixed-width/glass
MCP server: build → see → interact → debug loop over native GUI apps
3182bfb75035glass-a11y-linux0.0.0 in crates/glass-a11y-linux/Cargo.tomlio.github.fixed-width/glassPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 232 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- MEDIUM15 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
crypto-bigint0.7.6 or later,event-listener5.4.2 or later,quick-xml0.41.0 or later,rmcp3.9.0 or later and 3 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 33 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
glass_a11y_marks, glass_a11y_snapshot, glass_a11y_snapshot_diff, glass_baseline_save, glass_capabilities, glass_click and 27 moreglass_a11y_marks, glass_a11y_snapshot, glass_a11y_snapshot_diff, glass_baseline_save, glass_capabilities, glass_click and 27 moreglass_capabilities, glass_doctorNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · glass_capabilities
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (33: 33 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
glass_a11y_markstool Capture a screenshot with numbered accessibility boxes and a text legend. Use the IDs with a click_element action; they share the latest snapshot. Boxes follow FilesNetwork
Capture a screenshot with numbered accessibility boxes and a text legend. Use the IDs with a click_element action; they share the latest snapshot. Boxes follow toolkit geometry and can drift; inspect action results. Errors without a tree; use glass_screenshot.
glass_a11y_snapshottool Read current semantic state: IDs, roles, name/description, bounded editable `value`, bounds and states. Values can be absent, redacted or truncated; use wait_foFilesNetwork
Read current semantic state: IDs, roles, name/description, bounded editable `value`, bounds and states. Values can be absent, redacted or truncated; use wait_for_element for exact verification. IDs refresh each snapshot. A childless Document notice calls for one fresh read, then pixels; an unpublished-content placeholder requires pixels. Errors without an accessibility tree; use glass_screenshot. Batch known actions and checks with glass_do.
glass_a11y_snapshot_difftool Experimental lossless compact-outline revisions for clients that reconstruct exact text. Every call reads fresh. Omit base_revision for full recovery; otherwiseFilesNetwork
Experimental lossless compact-outline revisions for clients that reconstruct exact text. Every call reads fresh. Omit base_revision for full recovery; otherwise verify context, edits, byte/line counts and SHA-256 before advancing your caller-held baseline. Fetch and verify all output resources first. Partial observations retain their disclosures. IDs are immediate references from the latest read; revisions do not pin them. Full-profile only.
glass_baseline_savetool Save the whole current window as a named pixel baseline for glass_diff or glass_wait_for_region. Settle first if animating. Replaces an existing name silently. FilesNetwork
Save the whole current window as a named pixel baseline for glass_diff or glass_wait_for_region. Settle first if animating. Replaces an existing name silently. Baselines survive glass_stop and expire when the server exits.
glass_capabilitiestool Backend support and setup. Session scope reports input support, desktop_interference, and the selected accessibility reader when available.FilesNetworkEnv varsoutside text
Backend support and setup. Session scope reports input support, desktop_interference, and the selected accessibility reader when available.
glass_clicktool Click a window-relative point, optionally with a button, click count and held modifiers. For 2+ known steps, use glass_do.FilesNetwork
Click a window-relative point, optionally with a button, click count and held modifiers. For 2+ known steps, use glass_do.
glass_click_elementtool Click exactly one id or target. A target resolves fresh and uniquely within timeout_ms (10 seconds by default). Mode auto prefers native then pointer fallback; FilesNetwork
Click exactly one id or target. A target resolves fresh and uniquely within timeout_ms (10 seconds by default). Mode auto prefers native then pointer fallback; native requires native action; pointer waits for stability and reports actionability, including unproven checks. ID targets remain immediate. Native actions may bypass occlusion or focus text editors. method/native_fallback/actuated_id disclose the path; popover actions restore the prior window. Glass never retries after possible dispatch. For 2+ known steps, use glass_do.
glass_clipboard_gettool Read the app's clipboard as text ("" if empty). Also the cheap \FilesNetwork
Read the app's clipboard as text ("" if empty). Also the cheap \
text-extraction path: glass_do ctrl+a then ctrl+c, then read here \
(beats OCR for selectable text). Returns Unsupported where the backend \
can't provide clipboard access.glass_clipboard_settool Write text to the app's clipboard so it can paste it. Returns \FilesNetwork
Write text to the app's clipboard so it can paste it. Returns \
Unsupported where the backend can't provide clipboard access.glass_difftool Compare current pixels with a named baseline; returns change stats and bbox. A single comparison does not establish transition completion or quiescence. Use glaFilesNetwork
Compare current pixels with a named baseline; returns change stats and bbox. A single comparison does not establish transition completion or quiescence. Use glass_wait_for_region to wait; include_image:true returns the changed crop only when pixels differ.
glass_dotool Batch 2+ known actions or waits here; observe before choosing dependent steps. Run one action or fixed static ordered actions: click, move, drag, gesture, scrolFilesNetwork
Batch 2+ known actions or waits here; observe before choosing dependent steps. Run one action or fixed static ordered actions: click, move, drag, gesture, scroll, type, key, settle, click_element, set_value, wait_for_element, scroll_to_element. Maximum 64 actions and 65536 compact argument bytes. timeout_ms defaults to 30000; range 1 through 120000; one deadline includes terminal observations. Fail-fast on action errors, deadline or unmatched batched predicates; standalone predicates remain soft. Success without then returns ordered steps with result and content_blocks; ok:true means all actions completed. Failures and then retain completed, failed, unexecuted and terminal_steps; inspect before recovery. Preflight invalid_sequence has no step outcomes. Terminal settle/diff/screenshot runs after actions; terminal failure retains completed action outcomes. No branching, bindings, loops, retries or generated steps. Semantic targets resolve fresh; targeted type requires confirmed focus; set_value requires confirmation. Never replay completed or possibly dispatched mutations; observe after uncertainty.
glass_doctortool Diagnose setup or launch failures. Returns report text, structured sections/checks with optional remedy/remedy_action, and overall (the verdict to branch on). CFilesNetworkEnv vars
Diagnose setup or launch failures. Returns report text, structured sections/checks with optional remedy/remedy_action, and overall (the verdict to branch on). Check status is ok, warn, fail or skip; non-default backend failures only warn in overall. deep also starts and tears down the default display.
glass_dragtool Drag one pointer from (x1,y1) to (x2,y2), holding the button and modifiers throughout. Motion spans duration_ms. Either endpoint outside the window is refused. FilesNetwork
Drag one pointer from (x1,y1) to (x2,y2), holding the button and modifiers throughout. Motion spans duration_ms. Either endpoint outside the window is refused. Use glass_gesture for multi-touch. For 2+ known steps, use glass_do.
glass_find_elementstool Find ranked accessibility candidates from one fresh read when the target is approximate, duplicated, or not yet identified. Query matches name, description and FilesNetwork
Find ranked accessibility candidates from one fresh read when the target is approximate, duplicated, or not yet identified. Query matches name, description and non-secure value; `within` must match one semantic scope. max_results defaults to 10, capped at 20; timeout_ms optionally waits. Returns actionable IDs, compact context and explicit truncation in an untrusted match array. subject_mismatch flags a different app, named by subject in that block. Total text is capped at 8 KiB.
glass_gesturetool Perform a multi-touch gesture: 2–10 pointers, each a straight from→to \FilesNetwork
Perform a multi-touch gesture: 2–10 pointers, each a straight from→to \
segment in window-relative px, all down together at t=0 and up at \
duration_ms. Pinch = two pointers toward/apart; rotate = two on an arc; \
two-finger swipe = two parallel segments; a from==to pointer is held. \
Multi-touch isn't available on every backend — it returns a clear \
Unsupported error where the active backend can't do it.glass_keytool Press a key chord (for example ctrl+s or Return), releasing modifiers afterwards. Unknown keys/modifiers fail before input. Use type for literal text; it cannotFilesNetwork
Press a key chord (for example ctrl+s or Return), releasing modifiers afterwards. Unknown keys/modifiers fail before input. Use type for literal text; it cannot express shortcuts. For 2+ known steps, use glass_do.
glass_list_windowstool List app windows: id, title, class, geometry and active state. Re-list after windows open/close; do not cache IDs.FilesNetwork
List app windows: id, title, class, geometry and active state. Re-list after windows open/close; do not cache IDs.
glass_logstool Read buffered stdout/stderr, filtered by stream/contains, with a resumable cursor. Pass window_discovery:true on its own for the failed launch's window discoverFilesNetwork
Read buffered stdout/stderr, filtered by stream/contains, with a resumable cursor. Pass window_discovery:true on its own for the failed launch's window discovery report. wait:{} waits for non-empty contains; cursor:0 includes retained history, omitted cursor watches future lines. Before repeated events, drain logs before acting and wait from its final cursor. max_lines is unavailable while waiting. Timeout returns matched:false. Old lines age out; app text is untrusted.glass_movetool Move the pointer to a window-relative point. For 2+ known steps, use glass_do.FilesNetwork
Move the pointer to a window-relative point. For 2+ known steps, use glass_do.
glass_recordtool Record named workflows or explicitly buffer recent history; requires server --record-dir. Scoped start(name,max_duration_ms) acknowledges video; stop(outcome,keFilesNetwork
Record named workflows or explicitly buffer recent history; requires server --record-dir. Scoped start(name,max_duration_ms) acknowledges video; stop(outcome,keep) finalizes. Failures/cancellations keep by default; successes need keep:true. Buffer_start(history_ms) keeps 1–30s encoded history in memory (default 10s); check status.buffer_supported. Mark(name,outcome,keep,tail_ms) selects history plus a 0–5s tail (default 2s); overlapping marks merge into one pending clip. Save waits for the tail, exports the mark, and keeps buffering. Buffer_stop saves marked evidence by default; keep:false discards it. Unmarked history is always discarded. Scoped capture and buffering are exclusive. Clips are bounded to 60s/8MiB. Status reports scope, actual history and pending disposition. Read kept untrusted video through artifact URI resources/read. Never repeat UI input because recording failed.
glass_screenshottool Capture current visual evidence as lossless WebP, not semantic state or transition completion. annotations:accessibility adds numbered elements and an untrustedFilesNetwork
Capture current visual evidence as lossless WebP, not semantic state or transition completion. annotations:accessibility adds numbered elements and an untrusted legend for the active window, refreshing actionable IDs. Requires an accessibility tree. Off-display captures are clipped: returned dimensions disclose the actual size; fully off-screen surfaces error. Optional window_id observes without switching the active window; unavailable with annotations.
glass_scrolltool Scroll the container under (x,y) by horizontal/vertical wheel notches, optionally holding modifiers. Notches are not pixels. For 2+ known steps, use glass_do.FilesNetwork
Scroll the container under (x,y) by horizontal/vertical wheel notches, optionally holding modifiers. Notches are not pixels. For 2+ known steps, use glass_do.
glass_scroll_to_elementtool Scroll until a semantic element is actually on-screen; returns matched, elapsed_ms, element and scrolled details. subject_mismatch flags a different app, named FilesNetwork
Scroll until a semantic element is actually on-screen; returns matched, elapsed_ms, element and scrolled details. subject_mismatch flags a different app, named by subject in the untrusted block even without an element. Sweeps the chosen/inferred direction, then reverses. No match after both ends or timeout returns matched:false; no tree errors. Batched use fails the sequence on an unmatched predicate. For 2+ known steps, use glass_do.
glass_select_windowtool Select a window by current ID. Subsequent actions and observations target it; input coordinates are relative to it.FilesNetwork
Select a window by current ID. Subsequent actions and observations target it; input coordinates are relative to it.
glass_set_valuetool Set exactly one editable id or target with backend confirmation. A target resolves fresh and uniquely (10 seconds by default); IDs remain immediate. Writes direFilesNetwork
Set exactly one editable id or target with backend confirmation. A target resolves fresh and uniquely (10 seconds by default); IDs remain immediate. Writes directly or focuses/clears/types as supported, then reads back. Errors distinguish mismatch from unconfirmed writes; post-write uncertainty is terminal. Do not write again on uncertainty: observe where input landed before recovery. For 2+ known steps, use glass_do.
glass_starttool Build, launch and locate an app; returns window geometry. Accessibility is enabled by default. window_hint can select among windows or locate a handoff to anothFilesNetwork
Build, launch and locate an app; returns window geometry. Accessibility is enabled by default. window_hint can select among windows or locate a handoff to another process. See parameters for backend and containment choices.
glass_stoptool End the session: request app close, then terminate if necessary. Read logs first; logs and element IDs are discarded. Baselines survive until server exit. No reFilesNetwork
End the session: request app close, then terminate if necessary. Read logs first; logs and element IDs are discarded. Baselines survive until server exit. No resume; glass_start creates a fresh session. Errors without an active session.
glass_typetool Type text once. Without `target`, focused-window typing sends keystrokes to current focus. A target resolves one fresh unique element; focus_mode auto, native oFilesNetwork
Type text once. Without `target`, focused-window typing sends keystrokes to current focus. A target resolves one fresh unique element; focus_mode auto, native or pointer confirms focus then types once. Unconfirmed focus never types or tries another path. Newlines do not press Return: use a key action. No value confirmation; verify the resulting field. Never replay after uncertain dispatch. For 2+ known steps, use glass_do.
glass_wait_for_elementtool Wait for semantic transition completion, not pixels/stability. Select by name, description and/or role; `value` is exact, value_contains is a substring. SupportFilesNetwork
Wait for semantic transition completion, not pixels/stability. Select by name, description and/or role; `value` is exact, value_contains is a substring. Supports appears/disappears and state conditions. Returns matched, elapsed_ms and the element; timeout is matched:false. subject_mismatch flags a different app, named by subject in the untrusted block even without an element. Waits for initial tree publication, but errors if no tree appeared. Batched use fails the sequence on an unmatched predicate. For 2+ known steps, use glass_do.
glass_wait_for_logtool After an action, use cursor:0 for buffered logs; for repeated events drain glass_logs before acting and pass its final cursor. Omit cursor for future lines onlyFilesNetwork
After an action, use cursor:0 for buffered logs; for repeated events drain glass_logs before acting and pass its final cursor. Omit cursor for future lines only. Match a substring; timeout: matched:false. Resume from returned cursor.
glass_wait_for_regiontool Wait for pixel transition completion: changes from the initial frame or matches a saved baseline (required for matches). Returns matched, changed_pct, bbox and FilesNetwork
Wait for pixel transition completion: changes from the initial frame or matches a saved baseline (required for matches). Returns matched, changed_pct, bbox and elapsed_ms as text; include_image opts into an image on match. Timeout returns matched:false. Does not prove semantics or subsequent quiescence; use a settle action for the latter.
glass_wait_stabletool Wait for visual quiescence and return the last frame, not that an expected semantic state or pixel design was reached. Use include_image:false for text-only metFilesNetwork
Wait for visual quiescence and return the last frame, not that an expected semantic state or pixel design was reached. Use include_image:false for text-only metadata. A timeout returns settled:false. window_id observes without selecting that window. For 2+ known active-window steps, use glass_do.
glass_windowtool Focus/resize/move the window or read its geometry. op: focus|resize|move|geometry.FilesNetwork
Focus/resize/move the window or read its geometry. op: focus|resize|move|geometry.
Text the model reads (33)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
glass_start tool
Build, launch and locate an app; returns window geometry. Accessibility is enabled by default. window_hint can select among windows or locate a handoff to another process. See parameters for backend and containment choices.
glass_stop tool
End the session: request app close, then terminate if necessary. Read logs first; logs and element IDs are discarded. Baselines survive until server exit. No resume; glass_start creates a fresh session. Errors without an active session.
glass_record tool
Record named workflows or explicitly buffer recent history; requires server --record-dir. Scoped start(name,max_duration_ms) acknowledges video; stop(outcome,keep) finalizes. Failures/cancellations keep by default; successes need keep:true. Buffer_start(history_ms) keeps 1–30s encoded history in memory (default 10s); check status.buffer_supported. Mark(name,outcome,keep,tail_ms) selects history plus a 0–5s tail (default 2s); overlapping marks merge into one pending clip. Save waits for the tail, exports the mark, and keeps buffering. Buffer_stop saves marked evidence by default; keep:false discards it. Unmarked history is always discarded. Scoped capture and buffering are exclusive. Clips are bounded to 60s/8MiB. Status reports scope, actual history and pending disposition. Read kept untrusted video through artifact URI resources/read. Never repeat UI input because recording failed.
glass_window tool
Focus/resize/move the window or read its geometry. op: focus|resize|move|geometry.
glass_screenshot tool
Capture current visual evidence as lossless WebP, not semantic state or transition completion. annotations:accessibility adds numbered elements and an untrusted legend for the active window, refreshing actionable IDs. Requires an accessibility tree. Off-display captures are clipped: returned dimensions disclose the actual size; fully off-screen surfaces error. Optional window_id observes without switching the active window; unavailable with annotations.
glass_wait_stable tool
Wait for visual quiescence and return the last frame, not that an expected semantic state or pixel design was reached. Use include_image:false for text-only metadata. A timeout returns settled:false. window_id observes without selecting that window. For 2+ known active-window steps, use glass_do.
glass_click tool
Click a window-relative point, optionally with a button, click count and held modifiers. For 2+ known steps, use glass_do.
glass_move tool
Move the pointer to a window-relative point. For 2+ known steps, use glass_do.
glass_drag tool
Drag one pointer from (x1,y1) to (x2,y2), holding the button and modifiers throughout. Motion spans duration_ms. Either endpoint outside the window is refused. Use glass_gesture for multi-touch. For 2+ known steps, use glass_do.
glass_scroll tool
Scroll the container under (x,y) by horizontal/vertical wheel notches, optionally holding modifiers. Notches are not pixels. For 2+ known steps, use glass_do.
glass_gesture tool
Perform a multi-touch gesture: 2–10 pointers, each a straight from→to \\
segment in window-relative px, all down together at t=0 and up at \\
duration_ms. Pinch = two pointers toward/apart; rotate = two on an arc; \\
two-finger swipe = two parallel segments; a from==to pointer is held. \\
Multi-touch isn't available on every backend — it returns a clear \\
Unsupported error where the active backend can't do it.glass_type tool
Type text once. Without `target`, focused-window typing sends keystrokes to current focus. A target resolves one fresh unique element; focus_mode auto, native or pointer confirms focus then types once. Unconfirmed focus never types or tries another path. Newlines do not press Return: use a key action. No value confirmation; verify the resulting field. Never replay after uncertain dispatch. For 2+ known steps, use glass_do.
glass_key tool
Press a key chord (for example ctrl+s or Return), releasing modifiers afterwards. Unknown keys/modifiers fail before input. Use type for literal text; it cannot express shortcuts. For 2+ known steps, use glass_do.
glass_clipboard_get tool
Read the app's clipboard as text ("" if empty). Also the cheap \\
text-extraction path: glass_do ctrl+a then ctrl+c, then read here \\
(beats OCR for selectable text). Returns Unsupported where the backend \\
can't provide clipboard access.glass_clipboard_set tool
Write text to the app's clipboard so it can paste it. Returns \\
Unsupported where the backend can't provide clipboard access.glass_baseline_save tool
Save the whole current window as a named pixel baseline for glass_diff or glass_wait_for_region. Settle first if animating. Replaces an existing name silently. Baselines survive glass_stop and expire when the server exits.
glass_diff tool
Compare current pixels with a named baseline; returns change stats and bbox. A single comparison does not establish transition completion or quiescence. Use glass_wait_for_region to wait; include_image:true returns the changed crop only when pixels differ.
glass_doctor tool
Diagnose setup or launch failures. Returns report text, structured sections/checks with optional remedy/remedy_action, and overall (the verdict to branch on). Check status is ok, warn, fail or skip; non-default backend failures only warn in overall. deep also starts and tears down the default display.
glass_capabilities tool
Backend support and setup. Session scope reports input support, desktop_interference, and the selected accessibility reader when available.
glass_list_windows tool
List app windows: id, title, class, geometry and active state. Re-list after windows open/close; do not cache IDs.
glass_select_window tool
Select a window by current ID. Subsequent actions and observations target it; input coordinates are relative to it.
glass_find_elements tool
Find ranked accessibility candidates from one fresh read when the target is approximate, duplicated, or not yet identified. Query matches name, description and non-secure value; `within` must match one semantic scope. max_results defaults to 10, capped at 20; timeout_ms optionally waits. Returns actionable IDs, compact context and explicit truncation in an untrusted match array. subject_mismatch flags a different app, named by subject in that block. Total text is capped at 8 KiB.
glass_a11y_snapshot tool
Read current semantic state: IDs, roles, name/description, bounded editable `value`, bounds and states. Values can be absent, redacted or truncated; use wait_for_element for exact verification. IDs refresh each snapshot. A childless Document notice calls for one fresh read, then pixels; an unpublished-content placeholder requires pixels. Errors without an accessibility tree; use glass_screenshot. Batch known actions and checks with glass_do.
glass_a11y_snapshot_diff tool
Experimental lossless compact-outline revisions for clients that reconstruct exact text. Every call reads fresh. Omit base_revision for full recovery; otherwise verify context, edits, byte/line counts and SHA-256 before advancing your caller-held baseline. Fetch and verify all output resources first. Partial observations retain their disclosures. IDs are immediate references from the latest read; revisions do not pin them. Full-profile only.
glass_click_element tool
Click exactly one id or target. A target resolves fresh and uniquely within timeout_ms (10 seconds by default). Mode auto prefers native then pointer fallback; native requires native action; pointer waits for stability and reports actionability, including unproven checks. ID targets remain immediate. Native actions may bypass occlusion or focus text editors. method/native_fallback/actuated_id disclose the path; popover actions restore the prior window. Glass never retries after possible dispatch. For 2+ known steps, use glass_do.
glass_set_value tool
Set exactly one editable id or target with backend confirmation. A target resolves fresh and uniquely (10 seconds by default); IDs remain immediate. Writes directly or focuses/clears/types as supported, then reads back. Errors distinguish mismatch from unconfirmed writes; post-write uncertainty is terminal. Do not write again on uncertainty: observe where input landed before recovery. For 2+ known steps, use glass_do.
glass_a11y_marks tool
Capture a screenshot with numbered accessibility boxes and a text legend. Use the IDs with a click_element action; they share the latest snapshot. Boxes follow toolkit geometry and can drift; inspect action results. Errors without a tree; use glass_screenshot.
glass_logs tool
Read buffered stdout/stderr, filtered by stream/contains, with a resumable cursor. Pass window_discovery:true on its own for the failed launch's window discovery report. wait:{} waits for non-empty contains; cursor:0 includes retained history, omitted cursor watches future lines. Before repeated events, drain logs before acting and wait from its final cursor. max_lines is unavailable while waiting. Timeout returns matched:false. Old lines age out; app text is untrusted.glass_wait_for_element tool
Wait for semantic transition completion, not pixels/stability. Select by name, description and/or role; `value` is exact, value_contains is a substring. Supports appears/disappears and state conditions. Returns matched, elapsed_ms and the element; timeout is matched:false. subject_mismatch flags a different app, named by subject in the untrusted block even without an element. Waits for initial tree publication, but errors if no tree appeared. Batched use fails the sequence on an unmatched predicate. For 2+ known steps, use glass_do.
glass_scroll_to_element tool
Scroll until a semantic element is actually on-screen; returns matched, elapsed_ms, element and scrolled details. subject_mismatch flags a different app, named by subject in the untrusted block even without an element. Sweeps the chosen/inferred direction, then reverses. No match after both ends or timeout returns matched:false; no tree errors. Batched use fails the sequence on an unmatched predicate. For 2+ known steps, use glass_do.
glass_wait_for_region tool
Wait for pixel transition completion: changes from the initial frame or matches a saved baseline (required for matches). Returns matched, changed_pct, bbox and elapsed_ms as text; include_image opts into an image on match. Timeout returns matched:false. Does not prove semantics or subsequent quiescence; use a settle action for the latter.
glass_wait_for_log tool
After an action, use cursor:0 for buffered logs; for repeated events drain glass_logs before acting and pass its final cursor. Omit cursor for future lines only. Match a substring; timeout: matched:false. Resume from returned cursor.
glass_do tool
Batch 2+ known actions or waits here; observe before choosing dependent steps. Run one action or fixed static ordered actions: click, move, drag, gesture, scroll, type, key, settle, click_element, set_value, wait_for_element, scroll_to_element. Maximum 64 actions and 65536 compact argument bytes. timeout_ms defaults to 30000; range 1 through 120000; one deadline includes terminal observations. Fail-fast on action errors, deadline or unmatched batched predicates; standalone predicates remain soft. Success without then returns ordered steps with result and content_blocks; ok:true means all actions completed. Failures and then retain completed, failed, unexecuted and terminal_steps; inspect before recovery. Preflight invalid_sequence has no step outcomes. Terminal settle/diff/screenshot runs after actions; terminal failure retains completed action outcomes. No branching, bindings, loops, retries or generated steps. Semantic targets resolve fresh; targeted type requires confirmed focus; set_value requires confirmation. Never replay completed or possibly dispatched mutations; observe after uncertainty.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 33 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 33 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 33 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 33 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 33 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 33 capabilities; 33 more call code the scanner could not follow, where it may happen
- Tools that touch files33 of 33 capabilities touch files
- Tools that call the network33 of 33 capabilities call the network
Where the code is: 33 handlers in 1 file at commit 3182bfb75035
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests25 manifests: Cargo.toml, crates/glass-a11y-linux/Cargo.toml, crates/glass-a11y-macos/Cargo.toml, crates/glass-a11y-windows/Cargo.toml, crates/glass-android/Cargo.toml
- Lockfiles checked against OSV3 files resolved and checked against the OSV database; 22 not resolved: crates/glass-a11y-linux/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; crates/glass-a11y-macos/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies MEDIUM15 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionrmcp 2.2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 33 capabilities; 33 more call code the scanner could not follow, where it may happen
- Environment variables2 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (15 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
quick-xmlcrates.io 0.39.4 MEDIUM 2 advisories 0.41.0
- MEDIUMRUSTSEC-2026-0194Quadratic run time when checking a start tag for duplicate attribute names
- MEDIUMRUSTSEC-2026-0195Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service
rmcpcrates.io 2.2.0 MEDIUM 2 advisories 3.7.03.9.0
- MEDIUMRUSTSEC-2026-0462 GHSA-c9f9-cp8h-jcj5Unbounded response body buffering in Streamable HTTP clients
- MEDIUMRUSTSEC-2026-0457 GHSA-5p52-q7pq-9fq2OAuth client SSRF filter checks host strings, not resolved addresses
chronocrates.io 0.4.45 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
crypto-bigintcrates.io 0.6.1 MEDIUM 1 advisory 0.7.6
- MEDIUMRUSTSEC-2026-0387Multiple timing variability issues in operations intended to be constant-time
event-listenercrates.io 5.4.1 MEDIUM 1 advisory 5.4.2
- MEDIUMRUSTSEC-2026-0221`event-listener` allows `!Send` tags to cross thread boundaries via `StackSlot`
rustixcrates.io 1.1.4 MEDIUM 1 advisory 1.1.6
- MEDIUMRUSTSEC-2026-0486 GHSA-jh2m-fhpj-3vr7xattr functions mark unwritten bytes as initialized when given a zero-length buffer
ttf-parsercrates.io 0.25.1 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0192`ttf-parser` is unmaintained
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
- MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
webbrowsercrates.io 1.2.1 MEDIUM 1 advisory 1.2.2
- MEDIUMRUSTSEC-2026-0257 GHSA-2ph8-5cr8-hr33Unix `BROWSER` handling allows browser argument injection
zbus_namescrates.io 4.3.3 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0371`zbus_names` is unmaintained
zbus_namescrates.io 4.3.5 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0371`zbus_names` is unmaintained
zvariantcrates.io 5.13.0 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0370`zvariant` is unmaintained
zvariantcrates.io 5.15.1 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0370`zvariant` is unmaintained
zvariant_derivecrates.io 5.13.0 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0372`zvariant_derive` is unmaintained
zvariant_derivecrates.io 5.15.1 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0372`zvariant_derive` is unmaintained
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | rmcp 2.2 |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-13 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.fixed-width/glass |
|---|---|
| Listed in | 4 catalogs (github_search, glama, mcp_registry, mcp_toplist) |
| License | Apache-2.0 |
| Created | 2026-06-08 |
| Topics | ai android cross-platform developer-tools gui gui-application ios linux macos mcp |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.