Back to projects
Beta

axbridge

Coding agents use your iOS app in the Simulator as text: tap by name, type, scroll.

An MCP server and a small Swift package. The app reports its visible screen as a few lines of text from the accessibility tree, and the agent taps by name, types, scrolls and goes back. Screenshots are still there when the look matters, cropped to one element if needed.

GitHub archive
Platform
Archived
Access
npm package
Updated
Nov 23, 2026
Stack
Swift · TypeScript · MCP
~ $ gh repo view jx-grxf/axbridge
axbridge  Coding agents use your iOS app in the Simulator as text: tap by name, type, scroll.

status   Beta
stack    Swift · TypeScript · MCP
platform Archived
repo     github.com/jx-grxf/axbridge
~ $ 
Project data, read from GitHub at build time

Problem

Agents testing an iOS app in the Simulator take a screenshot after every tap and guess coordinates. On one SwiftUI app a single check ran to 300 to 450 tool calls and 80 to 150 screenshots.

What I built

A Swift package that serves the in-process accessibility tree over loopback, Debug and Simulator only, with a token per launch. Plus a TypeScript MCP server with 26 tools for devices, builds, app lifecycle, device state and screenshots. The same check took 13 tool calls and 30 seconds.

Highlights

  • Screen as text: kind, label, value, identifier and position of every visible element.
  • Tap by name, type without the keyboard, scroll, go back and open deep links through your own handler.
  • Several simulators side by side, build_and_run, fresh launches, location, dark mode, text size and permissions.
  • Screenshots as a 500 px JPEG or cropped to one element, plus video and pixel diffs.