glass MCP server
2026년 11월 13일 커밋접근성 기반 루프를 통해 AI 코딩 에이전트가 데스크톱 및 모바일 플랫폼에서 네이티브 GUI 애플리케이션을 실행하고, 상호작용하며, 디버깅할 수 있도록 지원합니다.
다른 이름 fixed-width/glass
- 스타
- 21
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.9.0
- 마지막 커밋
- 2026년 11월 13일
- 라이선스
- Apache-2.0
glass MCP란?
glass은(는) MCP server입니다. 접근성 기반 루프를 통해 AI 코딩 에이전트가 데스크톱 및 모바일 플랫폼에서 네이티브 GUI 애플리케이션을 실행하고, 상호작용하며, 디버깅할 수 있도록 지원합니다.
프로젝트 README에서 생성된 요약
glass MCP server 정보
Glass는 AI 코딩 에이전트가 빌드, 확인, 상호작용, 디버깅의 폐쇄 루프를 통해 네이티브 GUI 애플리케이션과 상호작용할 수 있는 방법을 제공합니다. 이 MCP server는 스크린샷에만 의존하는 대신 접근성 트리를 사용하여 에이전트가 이름이 지정된 컨트롤을 식별하고 텍스트를 통해 UI 변경 사항을 확인할 수 있도록 합니다. 이를 통해 에이전트가 사람의 개입 없이 애플리케이션을 실행하고, 버그를 재현하며, 소스 코드를 수정하고, 해결 여부를 확인하는 자율적인 워크플로우가 가능해집니다.
이 서버는 Windows, macOS, X11 또는 Wayland 기반 Linux를 포함한 다양한 플랫폼과 Android AVD 에뮬레이터 또는 iOS Simulator를 통한 모바일 환경을 지원합니다. 테스트 대상 애플리케이션 내에 별도의 통합 작업이 필요 없는 블랙박스 방식으로 작동합니다. 사용자는 stdio 또는 네트워크 HTTP 전송 방식을 사용하여 모든 MCP host에 연결할 수 있습니다. 설정 요구 사항은 플랫폼마다 다르며, Windows에서는 Sandboxie를 사용하거나 macOS에서는 개발자 계정 관리를 위한 특정 등록 및 권한 부여가 필요할 수 있습니다.
활용 사례
- 1자동화된 UI 버그 재현에이전트가 접근성 트리를 사용하여 특정 버튼을 찾고 오류를 발생시켜 버그를 식별할 수 있습니다.
- 2크로스 플랫폼 모바일 테스트개발자는 에이전트가 Android 에뮬레이터나 iOS 시뮬레이터를 제어하여 모바일 인터페이스를 테스트하도록 할 수 있습니다.
- 3비주얼 회귀 테스트접근성을 지원하지 않는 앱의 경우, 에이전트가 픽셀 변화를 비교하여 UI 업데이트를 감지할 수 있습니다.
- 4Headless Linux 개발에이전트는 사용자의 데스크톱에 방해를 주지 않도록 프라이빗 디스플레이를 사용하여 Linux에서 GUI 애플리케이션을 실행하고 테스트할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능fixed-width/glass is public and reachablegithub.com/fixed-width/glass ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-13github.com/fixed-width/glass ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기glass
Give your coding agent hands for the app it's building — launch it, drive it, and verify the result, without burning a screenshot on every step.
A Rust MCP server that gives an AI coding agent a closed build → see → interact → debug loop over external native GUI applications.
glass lets an agent launch a GUI app, capture what is on screen, inject mouse and keyboard input, read the app's logs, and detect visual changes — so a coding agent can build and debug UI applications independently instead of asking the user "does this look right?".
glass drives apps as an external black box, so it works with any native GUI app regardless of toolkit
or language. It has two Linux backends (X11 and Wayland), a Windows backend, an
Android backend (an AVD emulator, driven over adb from any host), an iOS backend (native
apps in the Simulator over xcrun simctl, with input and the accessibility tree via idb_companion,
including a two-finger pinch), and a macOS backend, behind a platform-agnostic core.
The same input tools work across backends. Default Linux displays and mobile emulators keep input
separate from your desktop. Windows shares it; macOS adds a preview of separate-account setup for
apps off your desktop, alongside its existing shared-desktop setup. glass_capabilities with
scope: "session" reports click, scroll and text support and whether each can affect your desktop.
The macOS account setup uses the normal
MCP tools and one Glass installation. Application setup… guides enrollment, permission handoff and
live readiness checks, including creating a standard development account with a locally chosen
password. It needs a real login and Glass privacy grants in that account,
retained between runs. Enrollment applies to your macOS user; glass-mcp unenroll returns to
shared-desktop use while retaining the app, development account and MCP startup integration.
Development loops have been tested on an Apple Silicon Mac mini without a physical monitor.
These runtime checks used an initialized development account and include physical keyboard/mouse
coexistence, recovery after an interrupted client, and starting its development desktop after a real
reboot with existing permissions. New-account onboarding has also reached Ready and passed ordinary
app interaction on that Mac. Initial macOS login and any missing privacy grants require user action;
setup on a clean macOS installation without prior Glass grants has not been tested. Application setup includes
Start environment… for a missing development desktop, using local account credentials and an
already enabled macOS Screen Sharing service. This guided post-reboot flow and ordinary
build/interact/rebuild/stop loops in an indexed workspace have been tested without repeating
enrollment or permission setup. Unattended development-desktop startup is not implemented.
See it

An agent building a GUI app runs it under glass, reproduces a bug from the accessibility tree (no screenshots), fixes the code, and re-verifies — the loop it otherwise can't close on its own. Try it yourself.
Try it in 60 seconds
-
Download glass for your platform from the Releases page and connect it to your agent — glass works with any MCP host (see which are verified).
-
Get the example app — clone this repo, or download
examples/tasks-demo/tasks_demo.py(on Linux it needssudo apt install python3-gi gir1.2-gtk-4.0). -
Paste this to your agent:
Use glass to run
examples/tasks-demo/tasks_demo.pywith accessibility on. There's a bug: clicking Add doesn't add the typed task. Reproduce it by driving the UI and checking the accessibility tree (don't just screenshot), then find and fix the bug in the code and verify a task actually appears.
Your agent launches the app, reproduces the bug from the accessibility tree, fixes the one-line
wiring bug, and confirms the task appears — the whole build → see → interact → debug loop, start to
finish. (glass-mcp doctor checks your environment if anything's off.)
The loop in practice
An agent can fill in a form, click Save, and check that the app reports success. When the app exposes an accessibility tree, the agent works with named controls and verifies changes from text:
glass_start { "run": ["python3", "app.py"] }
glass_do { "actions": [
{ "action": "set_value",
"target": { "query": "account", "role": "TextField", "states": ["enabled"] },
"text": "hello" },
{ "action": "click_element",
"target": { "query": "Save", "role": "Button", "states": ["enabled"] },
"mode": "auto" },
{ "action": "wait_for_element", "name": "Saved" }
] }
glass_logs
Use glass_find_elements to inspect candidates when the intended target is not unique or known well
enough to act on directly. Use glass_a11y_snapshot to explore the app's controls. See the
tool reference for click modes and platform behavior.
For a canvas or custom-rendered app with no accessibility tree, drive it by pixels instead —
glass_screenshot, glass_click {x,y}, and glass_diff, which returns changed_pct + a bbox as
text, so routine checks between screenshots cost no vision tokens. Why the loop is shaped this way:
the build → see → interact → debug loop.
To review a run after the app stops, opt into session evidence recording
with --trace-dir. Glass retains tool inputs and requested results in bounded storage, then
glass-mcp trace inspect and trace export validate the trace and package its evidence in a ZIP.
Recording is off by default; retained app content can contain sensitive data.
Install at a glance
Download the latest build for your platform from the Releases page, then set up your host:
- Linux — docs/how-to/setup-linux.md (X11 or Wayland;
Xvfb/sway+ bubblewrap) - Windows — docs/how-to/setup-windows.md (a prebuilt
.exe+ Sandboxie) - macOS — docs/how-to/setup-macos.md (install the notarized
.dmg; no build needed) - Android — docs/how-to/setup-android.md (an AVD emulator, from any host)
- iOS — docs/how-to/setup-ios.md (the Simulator, macOS host only)
Every asset is listed in docs/reference/platforms.md.
Prefer to compile, or on an architecture with no published asset? See
docs/how-to/build-from-source.md — it is a single cargo build.
Then connect glass to your agent and run glass-mcp doctor to check
the environment. New here? Follow the tutorial for a guaranteed first
success.
For new agent configurations, use glass-mcp --tool-profile lean for 17 tools, with actions through
glass_do, annotated screenshots and optional log waits. The full toolbox remains the compatible
binary default. Inspect either inventory without
starting a session using glass-mcp tools --json; see tool profiles.
Drive it well — the glass-drive skill
glass needs no app integration and no skill to run, but an agent drives it far more reliably with the open glass-drive Agent Skill — it stops the agent spending its first turns rediscovering the verify-cheaply-then-look loop. Installing it is the single highest-leverage thing you can add when pointing an agent at glass.
Platform support
✓ supported · ◑ partial · – not supported · 🚧 planned.
| Capability | Linux (X11 + Wayland) | Windows | Android (AVD) | iOS (Simulator) | macOS |
|---|---|---|---|---|---|
| Capture · input · windows · clipboard · logs | ✓ | ✓ | ✓ | ✓ | ✓ |
| Accessibility (semantic addressing) | ✓ AT-SPI | ✓ UI Automation | ✓ UIAutomator | ✓ idb | ✓ AX |
| Containment / sandboxing | ✓ bubblewrap | ✓ Sandboxie | ✓ the emulator VM | ✓ the Simulator | ✓ Seatbelt |
| Input without desktop interference | ✓ private display | – shared desktop | ✓ emulator | ✓ Simulator | ◑ separate account (preview) |
| Display isolation (app off your desktop) | ✓ headless Xvfb / sway | – VM needed | ✓ headless emulator | ✓ headless simctl boot | ◑ separate account (preview) |
Full matrix, per-capability detail, and system requirements: docs/reference/platforms.md. Transport is MCP over stdio (default) or network HTTP.
Documentation
The full docs — tutorial, how-to guides, reference, and explanations — are under
docs/. See CHANGELOG.md for release notes, and
Stability and versioning for what a 1.0 release guarantees.
Contributing? CONTRIBUTING.md has the gates a PR has to pass, and
Verify a change covers platform code your own host cannot run.
License
glass is open core, licensed Apache-2.0 — see LICENSE-APACHE.
glass MCP 질문
에이전트가 애플리케이션과 어떻게 상호작용하나요?
에이전트는 접근성 트리(accessibility tree)를 사용하여 이름이 지정된 컨트롤을 조작하거나, 스크린샷과 좌표 기반 클릭을 통해 픽셀 단위로 앱을 제어할 수 있습니다.
Glass를 사용하면 제 데스크톱에 방해를 주지 않고 앱을 실행할 수 있나요?
네, 기본 Linux 디스플레이와 모바일 에뮬레이터는 입력을 데스크톱과 분리하여 유지합니다. macOS의 경우 데스크톱과 분리된 별도 계정 미리보기를 통해 앱을 실행할 수 있습니다.