astrolabe
Allows inspecting UI hierarchies, capturing screenshots, querying nodes, and applying presentation patches on iOS simulators or paired USB devices running a supported app with the Astrolabe Runtime SDK.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@astrolabelist all apps available on the connected iOS simulator"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Astrolabe
English | 简体中文
Astrolabe is a runtime UI inspection tool for AI coding agents. It combines a Swift CLI, a local MCP server, and a packaged agent skill to inspect and verify running mobile interfaces.
Android View inspection is supported through Astrolabe Runtime for Android 2.0.
Features
Discover supported apps running in iOS simulators, Android emulators, or on USB-connected devices.
Inspect UIKit and Android View hierarchies, node frames, visibility, text, styles, semantic roles, and detailed runtime attributes.
Capture native-resolution screenshots and compare them with expected images or recorded baselines.
Query nodes and verify style, layout, and node-detail expectations.
Keep related hierarchy operations bound to a frozen page snapshot.
Apply allowlisted, in-memory presentation patches in Debug builds and revert them without changing source code or persistent application state.
Expose the same inspection workflow through CLI commands, MCP tools, and the bundled
astrolabeskill.
Related MCP server: iOS Device Control MCP Server
Requirements
macOS 13 or later
Swift 5.9 or later
Node.js 22 or later
Android Platform Tools (ADB) when inspecting Android apps
A supported app with an Astrolabe Runtime SDK enabled in Debug builds
Installation
Clone the repository, then install Astrolabe for the AI clients you use:
git clone https://github.com/regulusleow/astrolabe.git
cd astrolabe
npm run install:codex
npm run install:opencode
npm run install:claude-codeCodex, OpenCode, and Claude Code can be installed independently or together. A multi-client installation builds the shared package once:
node scripts/install.mjs --client codex --client opencode --client claude-codeThe installer places shared artifacts under ~/.astrolabe/package and links
the bundled skill into each client's supported user-level skill directory.
Each client adapter owns only its MCP configuration: Codex uses
~/.codex/config.toml, OpenCode uses ~/.config/opencode/opencode.json, and
Claude Code uses ~/.claude.json. Installing or uninstalling one client does
not remove another client's configuration or required skill link.
Restart the configured AI clients after installation.
Installation management commands:
npm run reinstall:codex
npm run update:codex
npm run check:codex
npm run uninstall:codex
npm run reinstall:opencode
npm run update:opencode
npm run check:opencode
npm run uninstall:opencode
npm run reinstall:claude-code
npm run update:claude-code
npm run check:claude-code
npm run uninstall:claude-codeQuick Start
Launch a Debug build that includes a supported Runtime SDK, then discover it:
astrolabe list-apps --jsonUse the returned appId with inspection commands:
astrolabe inspect-screen <app-id> --json
astrolabe capture-hierarchy <app-id> --json
astrolabe find-nodes <app-id> --role text --visible-only --limit 20 --json
astrolabe inspect-node <app-id> --oid <oid> --json
astrolabe node-detail <app-id> <oid> --json
astrolabe capture-screenshot <app-id> --output /tmp/screen.png --source auto --jsonHierarchy commands return a snapshotId. Pass it to subsequent hierarchy,
node, style, and layout commands to keep the workflow bound to the captured
page. Screenshot and visual comparison commands always use the latest screen.
The installed MCP server exposes the same capabilities to Codex, OpenCode, and Claude Code. The bundled skill guides app discovery, snapshot reuse, node selection, runtime checks, screenshots, visual comparison, and temporary presentation experiments.
Development
Install dependencies and run the test suites:
npm ci
npm --prefix mcp-adapter ci
npm test
swift test --parallelBuild the Release CLI:
swift build -c release --product astrolabeRun end-to-end smoke tests with a supported app running:
npm run test:smoke
npm run test:usbRepositories
astrolabe-protocol: platform-neutral Wire Protocol, Schemas, Fixtures, and Swift/Kotlin DTOs and Codecs.
astrolabe-runtime-ios: Debug-only UIKit Runtime SDK.
astrolabe-runtime-android: Debug-only Android View Runtime SDK.
Astrolabe Host consumes the shared protocol directly and does not depend on a platform Runtime implementation package.
Roadmap
Jetpack Compose Runtime inspection.
Integrations for additional AI coding platforms.
License
Astrolabe is available under the Apache License 2.0. Components derived from third-party projects remain subject to their original licenses; see THIRD_PARTY_NOTICES for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to automate iOS Simulator interactions including device management, UI element interaction (tap, swipe, type), screenshot capture, and execution of YAML-defined navigation workflows.Last updated29MIT
- Alicense-qualityDmaintenanceEnables comprehensive control of iOS simulators and real devices through AI assistants, supporting app management, UI automation, screenshots, media operations, and location simulation for iOS development and testing workflows.Last updated5MIT
- Flicense-qualityDmaintenanceEnables AI to control iOS simulators through the MCP protocol. Supports device management, UI automation, and network interception including screenshot capture, text input, and HTTP request mocking.Last updated
- Alicense-qualityDmaintenanceEnables AI agents to control real iPhones and simulators on macOS, allowing for UI interaction, testing, and automation.Last updated4385MIT
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Compliance & security scan for your app: secrets, exposed files, headers, privacy, AI-disclosure.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/regulusleow/astrolabe'
If you have feedback or need assistance with the MCP directory API, please join our Discord server