MCP server for coding agents

Let a coding agent take screenshots, read text, inspect accessibility trees and compare images, with your approval and the same redaction rules.

Glimmer includes a Model Context Protocol server. A coding agent that supports MCP can ask Glimmer for a screenshot of the app it’s working on, the text in a window, or its accessibility tree.

Set it up#

  1. Install the command-line tool.
  2. Open Settings ▸ Automation. Under Use Glimmer from coding agents, click Copy to copy the configuration.
  3. Paste it into your agent’s MCP settings. It looks like this, with the full path to your glimmer link:
{ "mcpServers": { "glimmer": { "command": "/Users/you/.local/bin/glimmer", "args": ["mcp"] } } }

Tools#

ToolWhat it doesArguments
list_windowsLists windows, front to backbundle_id (optional)
list_displaysLists displaysnone
screenshot_windowCaptures a windowbundle_id, app_name, title_pattern, window_id, index, max_dimension (default 1568), format
screenshot_displayCaptures a display (the main one by default)display, max_dimension, format
ocrReads texta window selector, display, image_base64 or image_path; fast
accessibility_treeA window’s accessibility treea window selector, max_depth
visual_diffCompares a window or display with a baseline imagea window selector or display; baseline_base64 or baseline_path; tolerance, threshold_percent, ignore_masks, include_diff_image

Approval#

The first time an agent uses a tool, Glimmer asks: Allow “agent name” to use Glimmer? It shows the agent’s name and version, the program that started it, and who signed that program. Click Allow or Don’t Allow.

  • Glimmer remembers your answer for that agent. A refusal holds for the rest of the session.
  • If you don’t answer within 90 seconds, that request is refused and nothing is remembered.
  • Agents are always asked, even with Ask before command-line use off.
  • Settings ▸ Automation ▸ Allowed agents and tools lists every agent you’ve answered, with Revoke.

Redaction#

Every image and every piece of text an agent receives passes the redaction gate first: detected secrets are covered. If something needs a person to review it, the tool returns an error and no pixels.

Files named by image_path or baseline_path are read with your agent’s own permissions, not Glimmer’s. Nothing is written to disk.

Next#

Something missing or unclear? Write to [email protected].

↑ ↓ to move, Enter to open, Esc to close