Skip to main content
Glama

Extra

The Open-Source Computer Use Engine for your Linux PC, Mac & Windows

Your AI can see, click, type, navigate, and get real work done on Linux, macOS & Windows.

PyPI Downloads License: MIT Platform: Linux | macOS | Windows Protocol: Model Context Protocol (MCP) Ecosystem: yantraOS Status: Open Source AIYantra/extra MCP server Ask DeepWiki

Website • Quickstart • Compare Alternatives • Token Calculator • Linux Guide • macOS Guide • Architecture • License


What is Extra and Why Does It Exist?

Extra (v0.4.4) is an open-source Computer Use protocol and Model Context Protocol (MCP) server developed by yantraOS. It connects ChatGPT (chatgpt.com), Claude Desktop/Code, Cursor, Windsurf, and Gemini directly to physical Windows, macOS, and Linux desktops. Extra replaces slow, costly screenshot loops with Dual-Plane OS accessibility trees, progressive 13-tool MCP disclosure, and sub-3ms GPU frame streaming—cutting workflow token costs by up to 225× ($0.04 vs. $9.00) with zero Docker or $200/mo cloud VM fees.

Today's AI assistants can write brilliant essays and code, but native "computer use" APIs either lock you into a $200/mo cloud browser (ChatGPT Operator) or burn 1,500–3,000 image tokens per click inside Linux Docker containers (Claude Computer Use).

Extra gives your AI fast, local hands and eyes on Linux, macOS & Windows:

  • 225× Lower Token Costs: Extracts compact distilled_ui accessibility trees (~420 tokens per 10-step workflow vs. 6,400+ tokens in vision loops).

  • Works With Any Model: Plugs into ChatGPT Web (https://extra.yantraos.com/mcp), Claude Desktop, Claude Code, Cursor, Windsurf, Antigravity, and local Ollama models.

  • No Docker, No Cloud VMs, No $200/mo Lock-In: Runs bare-metal on your real desktop software, spreadsheets, terminals, and browsers.

  • Progressive Tool Disclosure (--profile core): Default MCP startup exposes 13 essential tools (~70% lower Turn-1 schema overhead) while dynamically discovering and activating all 43 native tools on demand via extra_tool_search and extra_call_tool.

  • 100% Open Source (MIT) & Defense-in-Depth Security: Zero cloud screen recording, 3-tier On-Device Privacy Shield (IsPassword/AXSecureTextField/OCR masking), Local Action Firewall + 1-click workspace snapshot rollback (extra rollback), Unattended Wake Guard (wakepy), SHA-256 chained execution receipts, and 10-second RFC 8628 QR pairing (extra connect --qr).


Related MCP server: Windows-MCP

What Can an AI Assistant Do With Extra?

Once Extra is running, you can talk to your AI like a real human assistant sitting at your desk:

  • 📊 Spreadsheets & Data: "Open Excel or LibreOffice Calc, calculate total revenue from the invoice CSVs in my Downloads folder, and create a summary chart."

  • 🗂️ Desktop & File Cleanup: "Clean up my messy desktop by moving screenshots into Pictures, PDFs into Documents, and deleting empty folders."

  • 🌐 Web Research & Data Entry: "Open Chrome or Firefox, find the top 5 flights to Tokyo under $800, and copy their flight numbers and dates into a text note."

  • ⚙️ System Administration: "Open Settings or terminal, check system updates, and verify service health."

  • 🎵 App Control: "Launch Spotify or VLC, search for low-fi focus beats, and start playing."


⚡ Quickstart (Under 10 Seconds)

You can set up Extra in seconds on Windows, macOS, or Linux:

Option A: 1-Click Cursor Install (Zero Terminal)

If you use Cursor IDE, install Extra with a single click via the native deeplink:

👉 Add Extra to Cursor (1-Click Install)

Cursor will prompt: "Install MCP Server 'extra' with command 'uvx extra-desktop'?" — click Install and you're ready!


Option B: Automated One-Liner (Configures All Clients Simultaneously)

The one-liner downloads the lightweight core engine (< 6.3 MB) and automatically configures Cursor, Claude Desktop, Windsurf, Claude Code, and Antigravity with zero JSON editing:

  • 🪟 Windows PowerShell:

    irm https://extra.yantraos.com/install.ps1 | iex
  • 🍏 macOS Terminal:

    curl -sSL https://extra.yantraos.com/install.sh | bash

    Or ask your AI on macOS directly:

    Setup Extra on my Mac: In Terminal run 'curl -sSL https://extra.yantraos.com/install.sh | bash', then read and configure ~/.extra/app/STARTER_PROMPT_MACOS.md so we are ready to use Extra.
  • 🐧 Linux Terminal (Arch / yantraOS, Ubuntu, Debian, Fedora):

    curl -fsSL https://extra.yantraos.com/install.sh | bash

The automated installer will:

  • Verify OS architecture (Windows 10/11 64-bit, macOS 12.3+, or Linux Wayland/X11).

  • Provision isolated Python runtime (~/.extra/venv) in under 3 seconds.

  • Auto-detect and wire Cursor, Claude Desktop, Windsurf, Claude Code CLI, and Antigravity (agy).

  • Run the health diagnostic doctor and confirm readiness.


Option C: Instant Zero-Install Runner (uvx / npx)

Run Extra instantly without installing or configuring local venvs:

# Via Astral uv (sub-second cold start):
uvx extra-desktop run

# Or via Node npx:
npx -y @yantraos/extra-desktop

🎯 Your First 3 Missions

Once Extra is connected, paste any of these 3 verified starter missions into your AI to verify its hands and eyes:

  1. 🪄 The Desktop Magic Trick (Window Snap + Notepad Haiku):

    "Snap my active window to the left, open Notepad on the right, and write a haiku about autonomous desktop agents."

  2. 🧮 The Fast Calculator (Sub-3ms Math):

    "Open Calculator, calculate 245.12 * 3.14159, and tell me the result."

  3. 📁 The Safe File Organizer (Desktop Triage):

    "Inspect my Desktop, find all screenshot files, and organize them into a clean Screenshots folder."


Option D: Connect ChatGPT Web (chatgpt.com) via Cloud MCP

Operate your physical PC directly from ChatGPT without a $200/mo Operator plan:

# 1. Start encrypted outbound WebSocket tunnel (no firewall ports needed)
extra connect
  1. Point ChatGPT Custom Actions / MCP to https://extra.yantraos.com/mcp.

  2. Copy your extra_rel_... Relay Key from the Extra Desktop app or https://extra.yantraos.com/dashboard/ and paste it in chat. See the full Install, Relay Key & Uninstall Guide.


Option E: Developer Git Clone

# Linux / macOS:
git clone https://github.com/AIYantra/extra.git ~/.extra/app
cd ~/.extra/app && ./install.sh

# Windows:
git clone https://github.com/AIYantra/extra.git "$HOME\.extra\app"
cd "$HOME\.extra\app" ; .\install.ps1

Connecting to Any MCP-Compatible AI

Extra works out of the box with any agent supporting the Model Context Protocol (MCP). If you use Cursor, Windsurf, or custom agents, add this snippet to your MCP config:

{
  "mcpServers": {
    "extra": {
      "command": "npx",
      "args": ["-y", "@yantraos/extra-desktop"]
    }
  }
}

Or using native Python:

{
  "mcpServers": {
    "extra": {
      "command": "python",
      "args": ["-m", "extra.mcp.server"]
    }
  }
}

How Does Extra Work Under the Hood?

Extra operates via a sovereign Dual-Plane Architecture that decouples visual perception from hardware actuation. For perception, Extra combines sub-3ms GPU frame capture (DirectX DXGI, Metal, Spectacle) with OS accessibility hierarchy inspection (COM UI Automation, AT-SPI2, Quartz). For actuation, Extra dispatches lossless kernel and Win32 hardware events with zero coordinate drift, guaranteeing deterministic control across all resolutions and display scaling factors.

Extra is engineered from the ground up for speed, reliability, and token efficiency:

  1. 👁️ Ultra-Fast Screen Capture (< 3ms): Uses native DirectX Desktop Duplication (DXGI) to take crystal-clear desktop frames in under 3 milliseconds—without lagging your PC or blurring text.

  2. 🎯 Pixel-Perfect Clicking: Rather than guessing coordinates from fuzzy screenshots, Extra queries the native Windows accessibility tree (UI Automation) to click the exact button, menu, or text field with 100% mathematical accuracy.

  3. ⚡ Instant Typing: Types 500 characters in under 5 milliseconds via native Win32 Unicode injection—with zero dropped letters and full support for emojis and international languages.

  4. 🛑 Infinite Loop Stall Protection: If an app freezes or a click produces no visual result, Extra immediately catches it and stops safely instead of burning your tokens in an endless loop.

  5. 🔒 100% Local & Private: Extra runs completely on your machine. Zero screenshots, keystrokes, or telemetry are ever sent to any cloud server.


📊 Performance & Cost Comparison (2026 Benchmarks)

Metric / Capability

PyAutoGUI Scripts

Claude Computer Use / Vision Loops

ChatGPT Operator ($200/mo)

Extra MCP (v0.4.4)

Screen Grab Speed

150 – 300 ms

1,200 ms+ (encode + upload)

145 ms+ cloud VNC

2.8 ms (DirectX DXGI / Metal)

10-Step Token Footprint

High (full screenshot)

6,400+ tokens + history bloat

Fixed $200/mo tier

~420 tokens (distilled_ui)

7-Stage Audited Cost

Brittle / manual

~$9.00 USD (900K tokens, stalled)

$200/mo subscription

~$0.04 USD (225× cheaper)

Click Accuracy

~60% (fails on DPI)

~82% (vision guess)

Browser DOM/VM only

95.4% – 99.4% (Native UIA / AX / AT-SPI2)

Native Desktop + Live Browser

OS only

Linux X11 Docker VM

Cloud browser only

Windows, macOS, Linux + Live CDP

Opaque Canvases (Canva/Figma)

Static coords

Full-screen pixel guess

Browser only

Hybrid Canvas Vision OCR

Compare Extra side-by-side against Claude Computer Use, ChatGPT Operator, Vercel agent-desktop, Playwright MCP, Cloud Sandboxes, and PyAutoGUI — or estimate your savings in the Token & Cost Calculator.


🛠️ Included Tools (MCP Suite — 43 Native Tools · 13-Tool Default Core)

Extra exposes 43 native tools across 5 domain profiles (core, browser, creative, automation, verification) plus progressive discovery meta-tools (extra_tool_search, extra_call_tool). By default (--profile core), MCP sessions load 13 essentials to keep agent context lean; pass --profile full or discover hidden tools on demand. Key tools include:

Tool Name

What It Does

extra_tool_search

Searches hidden MCP profiles and dynamically activates requested tools on demand

extra_call_tool

Directly invokes any hidden Extra tool across browser, creative, automation, or verification profiles

extra_form_fill

One-turn live-browser web form fill via CDP attach with native framework event dispatch

extra_confirm_modal

Universal confirmation gate for Send / Save / OK dialogs with dismissal verification

extra_verify_state

Decoupled ground-truth DOM & accessibility state auditor (supports expected tabs/slides/word counts)

:---

:---

extra_launch

Opens any app, utility, or URL directly (calc, notepad, settings, edge, chrome)

extra_focus_window

Brings any window to the front via native thread input attachment

extra_click

Clicks with sub-pixel DPI accuracy, human-like Bezier curves, and semantic visual grounding (target="...")

extra_stroke

Draws fluid, continuous brush splines across waypoints with pressure and Catmull-Rom smoothing

extra_type

Injects text instantly with zero lag, full emoji support, and Win32 Unicode packets

extra_hotkey

Sends keyboard shortcuts (Ctrl+C, Win+E, Alt+Tab, Enter)

extra_batch_actions

Executes atomic lists of hardware & SOUL reflex actions (eval, assert, wait_for_state) in sub-milliseconds

extra_snap_layout

Programmatically docks and arranges windows in side-by-side or split layouts in < 15ms

extra_fs_batch

High-speed batch filesystem operations compliant with Windows Defender Controlled Folder Access

extra_inspect_ui

Scans accessible UI trees and interactive element nodes in real time

extra_click_element

Clicks UI elements deterministically by accessible ID or semantic target

extra_scroll

Smoothly scrolls wheels up, down, left, or right

extra_drag

Drags and drops files, windows, or sliders between coordinates

extra_screenshot

Captures high-res desktop frames in < 25ms with optional Set-of-Mark visual badges

extra_browser

Directly extracts DOM content in Edge/Chrome or triggers synthesized API fast-paths

extra_task_start

Activates ambient screen edge pulse and cursor tracking halo

extra_task_complete

Signals task completion: flashes emerald border, plays acoustic chime, and analyzes trajectory

extra_indicate_status

Direct programmatic control over active, complete, and idle desktop indicators

extra_recall_memory

Recalls past task workflows, artifacts, and known quirks via KùzuDB + FastEmbed in < 2ms

extra_scout_app

Discovers UI frameworks (Electron/Win32/Viewport), universal hotkeys, and generates SKILL playbooks

extra_evolve_skill

Crystallizes newly verified zero-stall fast paths into permanent skill playbooks


🏛️ Repository Structure

extra/
├── assets/                 # Brand logos and banners
├── bin/                    # Node.js CLI executable (npx @yantraos/extra-desktop)
├── core/                   # Sovereign Core Automation Engine
│   ├── platform/           # Platform Abstraction Layer (PAL facade for Win32 & macOS)
│   │   ├── windows/        # Win32 SendInput, DXGI capture, UIA, and focus
│   │   └── macos/          # ScreenCaptureKit, CoreGraphics, and AXUIElement
│   ├── soul/               # System One Ultra-fast Layer (Decider, Eyes, Grammar, Schemas)
│   ├── memory/             # KùzuDB episodic knowledge graph & FastEmbed embeddings
│   ├── evolution/          # Autonomous skill crystallizer & API synthesizer
│   ├── scout/              # Application discovery, CDP sniffer, and session vault
│   ├── motion/             # Human-like Bezier cursor flight and spline dynamics
│   ├── capture.py          # Unified high-speed desktop screen capture
│   ├── geometry.py         # PerMonitorV2 DPI scaling & display normalization
│   ├── indicators.py       # Ambient screen pulse, cursor halo, and harmonic chime
│   ├── input_engine.py     # PAL input facade (clicks, strokes, typing, batching)
│   ├── focus.py            # Window activation, snapping, and layout management
│   ├── uia_plane.py        # Accessibility tree inspection and Set-of-Mark labeling
│   └── stall_breaker.py    # Closed-loop perceptual diffing & safety killswitch
├── fastpath/               # High-speed deterministic execution
│   ├── shell.py            # Native app launcher with crash-recovery auto-suppression
│   ├── browser.py          # Playwright & Chromium DevTools Protocol (CDP) bridge
│   ├── fs.py               # CFA-compliant batch filesystem engine
│   └── web/                # Synthesized Web-to-API fast-paths
├── mcp/                    # Model Context Protocol
│   └── server.py           # Standard JSON-RPC stdio/SSE server (43 native tools across 5 profiles)
├── tests/                  # Full unit, integration, and protocol test suites
├── cli.py                  # CLI runner (extra doctor, connect --qr, rollback, run, serve --profile, stats)
├── install.ps1             # 1-line PowerShell installer (Windows)
├── install.sh              # 1-line bash installer (macOS & Linux)
├── pyproject.toml          # PyPI package manifest (extra-desktop v0.4.4)
├── package.json            # npm package manifest (@yantraos/extra-desktop v0.4.4)
├── server.json             # Official MCP registry manifest
├── glama.json              # Glama MCP ecosystem manifest
├── smithery.yaml           # Smithery 1-click deployment manifest
├── requirements.txt        # Enterprise-audited dependency manifest
├── STARTER_PROMPT.md       # Master AI system prompt & setup directive
├── docs/                   # Full System Architecture & Specifications
└── RELEASE_NOTES.md        # Comprehensive version release notes

🛡️ Enterprise Trust & Safety

  • Zero Unverified Binary Blobs: No mysterious compiled .dll or .pyd files from solo maintainers.

  • Microsoft & Anthropic Standards: Built exclusively on Microsoft system calls (ctypes), Anthropic's official mcp SDK, and PSF packages.

  • Fail-Safe Protection: Includes a screen-corner emergency escape at (0, 0) and a global panic hotkey (Ctrl+Alt+Shift+Q).


🌌 Part of the yantraOS Sovereign Ecosystem

Extra is the Windows bridge for yantraOS, the sovereign Arch Linux operating system engineered for autonomous computing.

If you want bare-metal AI autonomy with zero operating system telemetry, sub-microsecond OS kernel scheduling, and native Wayland hardware control, explore yantraos.com.


🤝 Contributing

We welcome contributions from kernel hackers, automation researchers, and AI developers!
Please check out our Contributing Guide and Code of Conduct.

For vulnerability reporting, review our Security Policy.


📜 License

Distributed under the MIT License. See LICENSE for details.
Copyright (c) 2026 Euryale Ferox Private Limited.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to capture and inspect high-resolution Windows desktops, snip and zoom regions, use UIA/OCR perception, and control mouse and keyboard input with closed-loop safety.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to natively control the Windows desktop by opening apps, managing windows, simulating mouse and keyboard input, and inspecting UI state for tasks like file navigation, UI interaction, and QA testing. Works with any LLM, with an optional DOM mode for cleaner browser automation.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to control any desktop application by capturing screenshots, reading accessibility trees and OCR, managing windows, and injecting mouse and keyboard input for real-time desktop collaboration.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to see and control a Windows desktop through screenshots, mouse and keyboard actions, and UI element detection for automating native and Electron applications.
      1
      MIT