About Astrolabe
Astrolabe is an MCP server published by regulusleow in the Blockchain category: the full-state-verification layer for AI coding agents: one native MCP server (Rust host, C engine) that turns a repository into measured, grounded, guarded, predictive, self-improving intelligence with provenance for every claim. Conduid read 23 tools from its source: apply_attribute_patch, capture_hierarchy, capture_screenshot, check_layout, check_node, check_node_detail and 17 more. No package is published for it, so it installs from a source checkout.
The repository has 2 stars and 0 forks, and its last commit was on 20 Nov 2026. Conduid has no tagged release on record for it. Its topics include c, code-intelligence, coding-agents, knowledge-graph and tree-sitter.
Install
git clone https://github.com/regulusleow/astrolabeTools (23)
apply_attribute_patchTemporarily modify one allowlisted presentation attribute in the Debug Runtime session to validate a UI hypothesis. This does not change source code, binaries, or persistent state. Before calling, query the Runtime allowlist with list_patchable_attributes and confirm oid and semanticPath with summarize_node_detail.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps that declares the attributePatching capability |
| attribute * | string | Complete namespaced attribute path returned by node details and present in the current Runtime allowlist; replace placeholders in parameterized catalog paths |
| oid * | string | Opaque node ID from the latest hierarchy (oid or detailOid) |
| value * | string | Temporary value; use decimal for numbers, #RRGGBB or #RRGGBBAA for colors, and width,height for shadowOffset |
capture_hierarchyReturn the UI hierarchy tree, frames, classes, colors, and basic node data. Without snapshotId, capture the current page and create a snapshot; with snapshotId, read only that snapshot. Returns at most 25 nodes by default.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| maxDepth | number | Maximum returned hierarchy depth; the root depth is 0 |
| nodeLimit | number | Maximum number of returned nodes; defaults to 25 and cannot exceed 200 |
capture_screenshotSelect a screenshot source using the platform-neutral source option and write a local PNG. Returns the actual source, pixel size, logical size, and scale. auto selects an available high-fidelity system screenshot based on the app connection kind.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| outputPath * | string | PNG output path |
check_layoutLocate two UI nodes by query and check their layout relation. With snapshotId, locate both nodes in the same page snapshot.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| expectedValue * | number | Expected relation value, such as the desired vertical-spacing gap |
| from | object | First opaque node ID |
| relation * | string | Layout relation to check |
| to | object | Second opaque node ID |
| tolerance | number | Allowed tolerance for numeric comparison |
check_nodeFind the first matching UI node and check its text, type, visibility, and frame. With snapshotId, inspect only the specified page snapshot.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| className | string | className substring to match, such as UILabel |
| expectedClassName | string | Expected exact node className |
| expectedFrame | object | Expected x coordinate |
| expectedText | string | Expected exact node text |
| expectedVisible | boolean | Expected node visibility |
| oid | string | Opaque node ID to match exactly |
| text | string | Text substring to match |
| tolerance | number | Allowed tolerance for numeric comparison |
| visibleOnly | boolean | Whether to match only visible nodes |
check_node_detailRead the runtime attribute summary for a UI node and check whether an attribute exists or matches an expected value.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| attribute * | string | Attribute semantic name, semantic path, path, identifier, or title to match |
| contains | boolean | Whether the actual value may contain the expected value |
| expectedValue | string | Expected attribute value preview |
| oid * | string | Opaque node ID returned by capture_hierarchy (oid or detailOid) |
| tolerance | number | Allowed tolerance for numeric comparison |
check_styleFind the first UI node matching the query and check its style. With snapshotId, locate the node only in that hierarchy snapshot and prefer cached details.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| className | string | className substring to match, such as UILabel |
| contains | boolean | Whether the actual value may contain the expected value |
| expectations * | array | Style attribute semantic name, semantic path, path, identifier, or title |
| oid | string | Opaque node ID to match exactly |
| text | string | Text substring to match |
| tolerance | number | Allowed tolerance for numeric comparison |
| visibleOnly | boolean | Whether to match only visible nodes |
clear_attribute_patchesRestore all temporary attribute patches in the target app's current Runtime Server session.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
compare_baselineRead the manifest generated by record_baseline and compare the current screenshot pixel by pixel with the baseline PNG.| Parameter | Type | Description |
|---|---|---|
| actualOutputPath | string | Actual screenshot PNG output path |
| allowLowResolution | boolean | Whether to allow low-resolution screenshots in pixel comparison |
| appId * | string | appId returned by list_apps |
| baselinePath * | string | manifestPath returned by record_baseline |
| diffOutputPath | string | Diff PNG output path; mismatched pixels are marked red |
| ignoreMasks | array | Ignore screenshot regions by preset names supported by the current platform Provider |
| ignoreNodeOids | array | Opaque node IDs ignored by UI-node frame, useful for dynamic avatars, times, and display names |
| ignoreNodeQueries | array | Match frames by node query and ignore their screenshot regions, useful for dynamic text, avatars, and countdowns |
| ignoreRegions | array | Ignored region left coordinate in pixels |
| includeNodes | boolean | Whether to return UI nodes overlapping diff regions |
| nodeLimit | number | Maximum number of returned affected nodes; defaults to 5 |
| pixelTolerance | number | Per-channel pixel tolerance; defaults to 0 |
| regionLimit | number | Maximum number of returned diff regions; defaults to 10 |
| threshold | number | Maximum allowed mismatched-pixel ratio; defaults to 0 |
compare_screenshotCapture the current screen using source and compare it pixel by pixel with an expected PNG, optionally writing actual and diff PNG files.| Parameter | Type | Description |
|---|---|---|
| actualOutputPath | string | Actual screenshot PNG output path |
| allowLowResolution | boolean | Whether to allow low-resolution screenshots in pixel comparison |
| appId * | string | appId returned by list_apps |
| diffOutputPath | string | Diff PNG output path; mismatched pixels are marked red |
| expectedPath * | string | Expected PNG path |
| ignoreMasks | array | Ignore screenshot regions by preset names supported by the current platform Provider |
| ignoreNodeOids | array | Opaque node IDs ignored by UI-node frame, useful for dynamic avatars, times, and display names |
| ignoreNodeQueries | array | Match frames by node query and ignore their screenshot regions, useful for dynamic text, avatars, and countdowns |
| ignoreRegions | array | Ignored region left coordinate in pixels |
| includeNodes | boolean | Whether to return UI nodes overlapping diff regions |
| nodeLimit | number | Maximum number of returned affected nodes; defaults to 5 |
| pixelTolerance | number | Per-channel pixel tolerance; defaults to 0 |
| regionLimit | number | Maximum number of returned diff regions; defaults to 10 |
| threshold | number | Maximum allowed mismatched-pixel ratio; defaults to 0 |
find_nodesFind UI nodes by query. Without snapshotId, capture the current page; with snapshotId, query only that snapshot. Pagination cursors remain bound to the page snapshot used by the first query.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| className | string | className substring to match, such as UILabel |
| cursor | string | Complete nextCursor returned by the previous page; subsequent pages read the same frozen snapshot, and appId and query filters must remain unchanged |
| limit | number | Maximum nodes per page; defaults to 50 and cannot exceed 100 |
| oid | string | Opaque node ID to match exactly |
| semanticRole | string | Stable semantic role to match |
| text | string | Text substring to match |
| visibleOnly | boolean | Whether to return only on-screen visible nodes |
inspect_diffCapture the current screen using source, compare it pixel by pixel with an expected PNG or baseline manifest, and return diff regions, suspected UI nodes, and recommended follow-up checks.| Parameter | Type | Description |
|---|---|---|
| actualOutputPath | string | Actual screenshot PNG output path |
| allowLowResolution | boolean | Whether to allow low-resolution screenshots in pixel comparison |
| appId * | string | appId returned by list_apps |
| baselinePath | string | Baseline manifest JSON path returned by record_baseline |
| diffOutputPath | string | Diff PNG output path; mismatched pixels are marked red |
| expectedPath | string | Expected PNG path; optional when baselinePath is provided |
| ignoreMasks | array | Ignore screenshot regions by preset names supported by the current platform Provider |
| ignoreNodeOids | array | Opaque node IDs ignored by UI-node frame, useful for dynamic avatars, times, and display names |
| ignoreNodeQueries | array | Match frames by node query and ignore their screenshot regions, useful for dynamic text, avatars, and countdowns |
| ignoreRegions | array | Ignored region left coordinate in pixels |
| nodeLimit | number | Maximum number of returned affected nodes; defaults to 5 |
| pixelTolerance | number | Per-channel pixel tolerance; defaults to 0 |
| regionLimit | number | Maximum number of returned diff regions; defaults to 10 |
| threshold | number | Maximum allowed mismatched-pixel ratio; defaults to 0 |
inspect_nodeFind the first matching UI node and read its details. Semantic nodes require snapshotId and retain the original frozen Runtime capture. Without snapshotId, an exact oid on a semantic-capable Runtime must pass a direct native detail read before automatic hierarchy capture; refusals never recapture UI.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| className | string | className substring to match, such as UILabel |
| oid | string | Opaque node ID to match exactly |
| text | string | Text substring to match |
| visibleOnly | boolean | Whether to match only visible nodes |
inspect_screenReturn screen statistics, inspection targets in logical coordinates, snapshotId, and hierarchySource. Without snapshotId, capture the current page and create a snapshot; with snapshotId, analyze only that snapshot.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| classLimit | number | Maximum number of classes in statistics; defaults to 12 |
| targetLimit | number | Maximum number of recommended follow-up nodes; defaults to 12 |
list_appsDiscover apps reachable through the current Runtime UI Providers and return platform, capabilities, Runtime version, compatibility status, missing capabilities, and upgrade guidance. Check compatibility.status before using other tools.list_attribute_patchesList temporary attribute patches still active in the target app's current Runtime Server session.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
list_patchable_attributesFetch the patchable attribute catalog from the target app Runtime, including attribute patterns, value types, applicable node types, numeric bounds, and input formats. Use this tool before apply_attribute_patch.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps that declares the attributePatchDiscovery capability |
node_detailRead details for a UI node. With snapshotId, verify membership and prefer cached details. Semantic detail requires that saved page and queries its original frozen Runtime capture on cache miss; native details retain live behavior.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| oid * | string | Opaque node ID returned by capture_hierarchy (oid or detailOid) |
query_ui_graphTraverse a bounded UI relation subgraph from one node in an existing frozen hierarchy snapshot. Requires the uiGraphRelations capability and never recaptures the Runtime hierarchy. Read truncationReasons and frontierOids before deciding whether to expand further.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| byteLimit | number | Optional maximum compact JSON byte count for the data object; omitted values use the native CLI default |
| direction | string | Optional traversal direction; omitted values use the native CLI default |
| maxDepth | number | Optional maximum BFS hop count; omitted values use the native CLI default |
| nodeLimit | number | Optional maximum returned node count including the root; omitted values use the native CLI default |
| relationLimit | number | Optional maximum returned relation count; omitted values use the native CLI default |
| relationTypes * | array | Open namespaced relation identifiers to traverse |
| rootOid * | string | Opaque root node ID from the same frozen snapshot |
record_baselineCapture the current screenshot and UI hierarchy and write a local baseline manifest for later use by compare_baseline.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| ignoreMasks | array | Record screenshot ignore regions by preset names supported by the current platform Provider |
| ignoreNodeOids | array | Opaque node IDs recorded in the baseline manifest by UI-node frame |
| ignoreNodeQueries | array | Match frames by node query and record screenshot ignore regions in the baseline manifest |
| ignoreRegions | array | Ignored region left coordinate in pixels |
| name | string | Baseline name; defaults to baseline |
| outputDirectory * | string | Baseline output directory |
revert_attribute_patchRestore the initial value recorded by a temporary patch without restarting the app.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| patchId * | string | Opaque patchId returned by apply_attribute_patch |
summarize_hierarchyReturn a bounded set of on-screen nodes, text nodes, and basic statistics. Without snapshotId, capture the current page; with snapshotId, read only that snapshot.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
summarize_node_detailRead runtime attribute details for a UI node and flatten them into a list that is easier for AI to search and compare.| Parameter | Type | Description |
|---|---|---|
| appId * | string | appId returned by list_apps |
| filter | string | Filter attributes by path, title, type, or value preview |
| oid * | string | Opaque node ID returned by capture_hierarchy (oid or detailOid) |
Security checks
6 checks have not been run yet.