Skip to main content
Glama

gamacua — verified desktop actions, with a receipt for every click

An MCP server that drives a real desktop through our HC daemon and proves what happened: every action returns a hash-chained receipt with the screen state before and after, so "done" is a claim you can check offline.

cua_observe(node)                     → screenshot sha, size, OCR text, window titles
cua_click_text(node, text)            → click + receipt (changed: true/false)
cua_click_id(node, element_id, sha)   → click a set-of-marks id, refuses if the screenshot is stale
cua_type(node, text)                  → type + receipt
cua_verify(node, expect_text)         → wait for the expected state
cua_receipts_tail(n)                  → last n receipts (hash chain)

Why this exists

Cloud computer-use agents cannot show that an action happened. Anthropic's own docs warn the model "acts as if its actions succeeded"; in a published measurement an unwrapped agent reported "done" on 44/44 runs and passed 0/44. This server makes the opposite trade: an action only counts as done when the screen or the system of record changed, and the proof is written to an append-only receipt chain.

Related MCP server: grok-computer-mcp

Install

pip install -e .
export GAMA_HC_TOKEN="$(cat /root/.gama_hc_token)"      # or ~/.gama_hc_token
export GAMACUA_ALLOW_ACTIONS=1                            # read-only unless set

MCP client config (Claude Desktop / Cursor / any MCP host):

{
  "mcpServers": {
    "gamacua": {
      "command": "python3",
      "args": ["/root/gamacua/gamacua_mcp.py"],
      "env": { "GAMACUA_ALLOW_ACTIONS": "1" }
    }
  }
}

Receipts

~/.gamacua/receipts.jsonl, one JSON object per action:

{"ts":"2026-12-02T21:04:00Z","node":"contabo","tool":"click_text","args_sha":"…",
 "before_sha":"c4f19beb…","after_sha":"…","changed":true,"proof":{"daemon":true},
 "verdict":"ok","prev_hash":"…","hash":"…"}

hash = sha256(ts, node, tool, args_sha, before_sha, after_sha, changed, proof, verdict, prev_hash) — tamper with any earlier line and the chain breaks. gama-mandate is used when present to sign the whole chain with Ed25519.

Safety

  • token is read from GAMA_HC_TOKEN or ~/.gama_hc_token, never from code;

  • read-only by default: actions require GAMACUA_ALLOW_ACTIONS=1;

  • cua_click_id refuses to act when the current screen sha differs from the one the model looked at;

  • no shell, no file writes outside the receipts file.

Status

v0.1 — observe / click / type / verify / receipts working against the fleet (--selftest contabo). Next: local set-of-marks fallback (no remote GPU), DPI/multi-monitor, replay compilation, audit report.

MIT.

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
      A
      quality
      D
      maintenance
      Enables MCP-speaking clients to control a real desktop via the computer_use tool, including clicking, typing, scrolling, dragging, key combos, app focus, and screen/accessibility capture. It also provides a verdict system that verifies whether input actions had their intended effect, with configurable approval modes.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables an agent to observe and operate desktop apps and browsers through an accessibility-tree-first view, with clicking, typing, scrolling, dragging and waiting tools. Screenshot handling, coordinate mapping and fail-closed safety rules (risk confirmation, deny-listed apps, stale-observation refusal) are enforced inside the server.
      9
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI client to inspect and control an interactive Windows desktop, including screenshots, mouse and keyboard input, Windows UI Automation, PowerShell commands with managed jobs, and authenticated file uploads/downloads. Connects over remote MCP Streamable HTTP or local stdio without a separate host-side gateway.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP-capable agents to observe a controlled device's screen from captured video and operate it by sending simulated keyboard, text, scroll, drag, and mouse input. Screenshots can be inspected as numbered visual targets, with dense areas split into zoomed regions so the agent picks a target ID and the server handles coordinate mapping and click execution.
      1
      MIT