Optics
MCPB · OPTICS-FRAMEWORK-1.11.0.MCPB
Drive Android, iOS, smart TV and web apps from an agent; save the steps as CSV/YAML test suites.
Available components
Last scanned (22 hours ago)
Scores higher than 72% of MCPB servers
Category Testing and QA
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security12
- No malware scan is available for this kind of package: the supply-chain vendors we use do not cover it. This is a permanent gap in our coverage, not a finding about the package.Unverified
- Known CVEs were checked across the 57 of 57 dependencies we could resolve, so this covers what we could see, not the whole tree.Partial
- Install-script risk not yet assessed.Unverified
- 3 of 57 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 15 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability69
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (fair).Partial
- Context-footprint check failed: tool/resource definitions use about 6416 tokens (~149/item across 43 items; 41 tools + 2 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (5% of tools); any adoption earns full credit.Pass
Tool Safety75
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 0 of 4 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "terminate_session" implies "terminate" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
- An AI judge read all 43 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a current MCP spec version (2026-07-28).Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 21 Oct 26 +3
- Known CVEs: unverified → partial ▲ security
- Dependency health: unverified → 0.97 ▲ functional
- 20 Oct 26 36
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 4 Nov 2026 · Analysed mcpb/https://github.com/mozarkai/optics-agent-plugins/releases/download/mcpb-v1.11.0/optics-framework-1.11.0.mcpb@1.11.0
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | mcpb |
| Reason | No attestation published |
Background: How many MCP packages publish verified provenance →
Dependencies 57 packages
| Packages resolved | 57 |
|---|---|
| Stale | 3 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
assert_equality Assert Equality ~118
Compares two values for equality. Both values are resolved from session elements if they are ``${variable}`` references before comparison. :param output: The actual value or ``${variable}`` reference. :param expression: The expected value or ``${variable}`` reference. :param event_name: The name of the event associated with the comparison, if any. :return: True if equal, False otherwise.
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| expression | string | yes | – |
| output | string | yes | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
assert_presence Assert Presence ~186
Asserts the presence of elements -- anywhere in the page/DOM, visible or not. :param elements: Comma-separated string of elements to check (Image templates, OCR templates, or XPaths). :param timeout_str: The time to wait for the elements in seconds. :param rule: The rule for verification ("any" or "all"). :param event_name: The name of the event associated with the assertion, if any. :param fail: If True, raise on failure; if False, return False instead. A suite writes this as text, and ``False`` is read case-insensitively. :return: True if the rule is satisfied, False otherwise.
| Name | Type | Req | Description |
|---|---|---|---|
| elements | string | yes | – |
| event_name | – | – | – |
| fail | string | – | – |
| rule | string | – | – |
| session_id | string | yes | – |
| timeout_str | string | – | – |
No output schema declared.
No examples provided.
assert_visibility Assert Visibility ~224
Asserts that elements are actually rendered/visible on screen right now -- distinct from :meth:`assert_presence`, which reports found even for elements that exist in the page/DOM but are off-screen (e.g. not yet scrolled into view). :param elements: Comma-separated string of elements to check (Image templates, OCR templates, or XPaths). :param timeout_str: The time to wait for the elements to become visible, in seconds. :param rule: The rule for verification ("any" or "all"). :param event_name: The name of the event associated with the assertion, if any. :param fail: If True, raise on failure; if False, return False instead. A suite writes this as text, and ``False`` is read case-insensitively. :return: True if the rule is satisfied, False otherwise.
| Name | Type | Req | Description |
|---|---|---|---|
| elements | string | yes | – |
| event_name | – | – | – |
| fail | string | – | – |
| rule | string | – | – |
| session_id | string | yes | – |
| timeout_str | string | – | – |
No output schema declared.
No examples provided.
clear_element_text Clear Element Text ~209
Clear text from a specified element. :param element: The target element (Image template, OCR template, or XPath). :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the action. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
close_and_terminate_app Close And Terminate App ~83
Tears down the active driver session and flushes all pending events. Behaviour depends on the configured driver: WebDriver-based drivers (Appium, Selenium) call quit(); Playwright closes the page, context, and browser; BLE closes the serial port. All variants flush pending EventSDK events and release the driver reference.
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | – |
No output schema declared.
No examples provided.
detect_and_press Detect And Press ~144
Press an element if it appears within ``timeout``; otherwise do nothing. When the element never appears the press is skipped and the keyword still succeeds (it does not raise), so use it for optional taps such as dismissing a popup that may not show. Use ``press_element`` when the target must be present. :param element: The element to be detected and pressed (Image template, OCR template, or XPath). :param timeout: Seconds to wait for the element to appear. :param event_name: The event triggering the press.
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
| timeout | string | – | – |
No output schema declared.
No examples provided.
enter_number Enter Number ~225
Enter a specified number into an element. :param element: The target element (Image template, OCR template, or XPath). :param number: The number to be entered. :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the input. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| number | string | yes | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
enter_text Enter Text ~224
Enter text into a specified element. :param element: The target element (Image template, OCR template, or XPath). :param text: The text to be entered. :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the input. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| session_id | string | yes | – |
| text | string | yes | – |
No output schema declared.
No examples provided.
enter_text_direct Enter Text Direct ~55
Enter text using the keyboard. :param text: The text to be entered. :param event_name: The event triggering the input.
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| session_id | string | yes | – |
| text | string | yes | – |
No output schema declared.
No examples provided.
enter_text_using_keyboard Enter Text Using Keyboard ~101
Enter text or press a special key using the keyboard. If the input is a string that includes angle brackets (e.g., '<enter>'), the text between the brackets will be interpreted as a special key name and mapped accordingly. :param text_input: The text or special key identifier to send. :param event_name: Optional event label for logging.
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| session_id | string | yes | – |
| text_input | string | yes | – |
No output schema declared.
No examples provided.
execute_script Execute Script ~162
Execute JavaScript/script in the current context. :param script_or_json: The JavaScript code/script command, or a JSON string containing {"script": "...", "args": {...}} or {"script": "..."}. Examples: - "mobile:pressKey" (plain script) - '{"script": "mobile:pressKey", "args": {"keycode": 3}}' (JSON with args) - '{"script": "mobile:clear"}' (JSON without args) :param event_name: The event triggering the script execution, if any. :return: The result of the script execution. :rtype: Any
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| script_or_json | string | yes | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
force_terminate_app Force Terminate App ~66
Forcefully terminates the specified application. :param app_name: The name of the application to terminate. :param event_name: The event triggering the forced termination, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| app_name | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
get_app_version Get App Version ~64
Gets the version of the application. :param app_package: The app package/bundle ID to check, or the current app if None. :return: The version of the application, or None if not available.
| Name | Type | Req | Description |
|---|---|---|---|
| app_package | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
get_driver_session_id Get Driver Session Id ~28
Return the current driver session id, if available.
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | – |
No output schema declared.
No examples provided.
get_interactive_elements Get Interactive Elements ~221
Retrieves a list of interactive elements on the current screen. XPath and text fields are converted to one-line, CSV-friendly form (newlines as \n, tabs as \t, etc.) so output can be pasted into elements.csv or similar. On Appium sources, element bounds are returned in the screenshot's pixel space. :param filter_config: Optional list of filter types (e.g., ["buttons", "inputs"]). :param compact: When True, return only actionable elements (labels folded in, with an ``act`` list) plus standalone visible text (``act: []``), as ``{i, label, cls, bounds:[x1,y1,x2,y2], act, rid?, loc?}`` (``loc``: a unique web locator). Implemented by the Appium and Playwright page sources; sources without it return their full list. :return: A list of interactive elements.
| Name | Type | Req | Description |
|---|---|---|---|
| compact | string | – | – |
| filter_config | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
get_text Get Text ~206
Get the text from a specified element. :param element: The target element (Image template, OCR template, or XPath). :param index: Index of the element if multiple matches are found. :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :return: The text from the element or None if not supported.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| index | string | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
go_back Go Back ~40
Go back one screen: browser history on the web, the back button on a phone.
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
initialise_setup Initialise Setup ~72
Sets up the environment for the driver module. This method should be called before performing any application management operations. Not exposed on the Optics SDK because it currently performs no operation and doesn't delegate to the driver's own initialise_setup (e.g. AppiumDriver.initialise_setup).
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | – |
No output schema declared.
No examples provided.
is_element Is Element ~131
Checks if the specified element is in a given state (e.g., Enabled/Disabled/Visible/Invisible). :param element: The element to be checked (Image template, OCR template, or XPath). :param element_state: The state to verify (visible, invisible, enabled, disabled). :param timeout: The time to wait for the element in seconds. :param event_name: The name of the event associated with the check, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | yes | – |
| element_state | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
| timeout | string | yes | – |
No output schema declared.
No examples provided.
launch_app Launch App ~86
Launches the specified application. :param app_identifier: The app identifier (package name for Android, bundle ID for iOS). :param app_activity: The app activity to launch (Android only). :param event_name: The event triggering the app launch, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| app_activity | – | – | – |
| app_identifier | – | – | – |
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
launch_other_app Launch Other App ~60
Starts another application. :param app_name: The package name of the application. :param event_name: The event triggering the app start, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| app_name | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
press_checkbox Press Checkbox ~227
Press a specified checkbox element. .. deprecated:: Deprecated alias of :meth:`press_element` — use ``Press Element`` directly. :param element: The checkbox element (Image template, OCR template, or XPath). :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the press. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
press_element Press Element ~259
Press a specified element. :param element: The element to be pressed (text, xpath or image). :param repeat: Number of times to repeat the press. :param offset_x: X offset of the press. :param offset_y: Y offset of the press. :param index: Index of the element if multiple matches are found. :param event_name: The event triggering the press. :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| offset_x | string | – | – |
| offset_y | string | – | – |
| repeat | string | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
press_keycode Press Keycode ~114
Press a device key by keycode, for system/hardware keys with no on-screen element. On Android the keycode is the numeric KeyEvent code (3 = HOME, 4 = BACK, 66 = ENTER, 187 = RECENTS); TV platform profiles map it to their remote-control key instead. :param keycode: The keycode to be pressed. :param event_name: The event triggering the press.
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| keycode | string | yes | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
press_radio_button Press Radio Button ~229
Press a specified radio button. .. deprecated:: Deprecated alias of :meth:`press_element` — use ``Press Element`` directly. :param element: The radio button element (Image template, OCR template, or XPath). :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the press. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
screenshot Screenshot ~60
Capture the current screen and return it as a rendered PNG image. Prefer this over the `optics://session/{session_id}/screenshot` resource when you want the screen rendered inline (the resource returns raw bytes).
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | – |
No output schema declared.
No examples provided.
scroll Scroll ~126
Scroll the current view one step in a direction. ``direction`` names the way you move through the content: "down" reveals content further down. Every driver supports up/down; left/right work only on Selenium (Appium logs and ignores them, Playwright treats anything but "down" as up). The keyword succeeds whether or not the view actually moved. :param direction: up or down (left/right on Selenium only). :param event_name: The event triggering the scroll.
| Name | Type | Req | Description |
|---|---|---|---|
| direction | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
scroll_from_element Scroll From Element ~254
Perform a scroll action starting from a specified element. :param element: The element to scroll from (Image template, OCR template, or XPath). :param direction: The scroll direction (up, down, left, right). :param scroll_length: The length of the scroll. :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the scroll. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| direction | string | yes | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| scroll_length | string | yes | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
scroll_until_element_appears Scroll Until Element Appears ~107
Scroll in a specified direction until an element appears. :param element: The target element (Image template, OCR template, or XPath). :param direction: The scroll direction (up, down, left, right). :param timeout: Timeout for the scroll operation. :param event_name: The event triggering the scroll.
| Name | Type | Req | Description |
|---|---|---|---|
| direction | string | yes | – |
| element | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
| timeout | string | yes | – |
No output schema declared.
No examples provided.
select_dropdown_option Select Dropdown Option ~256
Open a dropdown and select one of its options, scrolling through the list if needed. Opens the dropdown by pressing `element`. If `option` isn't visible right away, diffs the interactive elements captured before and after opening to find the dropdown's list container, then scrolls within that container (never past the page behind it) until `option` appears or the list stops changing. Raises `OpticsError` (`E0201``) if `option` is never found within `timeout` seconds. Falls back to a single-screen check (no scrolling) when page source, or a list-like container, isn't available. Assumption: opened dropdown list is opened in such a way that the topmost option is visible on the screen :param element: The dropdown element (Image template, OCR template, or XPath). :param option: The option to select (visible label, OCR/Image template, or XPath). :param timeout: Seconds to keep scrolling through the dropdown list before failing. :param event_name: The event triggering the selection.
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | yes | – |
| event_name | – | – | – |
| option | string | yes | – |
| session_id | string | yes | – |
| timeout | string | – | – |
No output schema declared.
No examples provided.
sleep Sleep ~39
Sleep for a specified duration. :param duration: The duration of the sleep in seconds.
| Name | Type | Req | Description |
|---|---|---|---|
| duration | string | yes | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
start_appium_session Start Appium Session ~44
Starts an Appium session. :param event_name: The event triggering the session start, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
start_session Start Session ~362
Start a new optics session and launch the target app. Returns {"session_id", "driver_id"}. Pass the session_id to every keyword tool and state resource. The app is auto-launched on start. Sessions are NOT shared with `optics serve`/`optics live` (separate process); start one here before using any keyword tool. ai_self_heal / llm_provider / llm_model: per-session overrides for AI self-heal. Each falls back to the matching service-level env var the operator set at start-up (OPTICS_AI_SELF_HEAL / OPTICS_LLM_PROVIDER / OPTICS_LLM_MODEL) when left unset, so an already-configured server needs none of them. Because the process is multi-tenant, pass them to opt in/out or pick your own model for just this session instead of being locked to the operator's choice. Note that ai_self_heal=True with no provider configured anywhere still degrades to inert (no LLM to drive it); LLM credentials always come from the provider's own env vars (e.g. GOOGLE_API_KEY), never this tool. strict_element_match: reject fuzzy/partial text and xpath matches on locate (default False, i.e. fuzzy-tolerant). Set True when a near-miss locator string pressing the wrong element is worse than the keyword failing outright.
| Name | Type | Req | Description |
|---|---|---|---|
| ai_self_heal | – | – | – |
| capabilities | – | – | – |
| driver | string | – | – |
| elements_sources | – | – | – |
| image_detection | – | – | – |
| llm_model | – | – | – |
| llm_provider | – | – | – |
| project_path | – | – | – |
| strict_element_match | – | – | – |
| text_detection | – | – | – |
| url | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
swipe Swipe ~158
Swipe from a point in a specified direction. ``direction`` is the way the finger moves: "up" drags bottom to top, which reveals content further down. The keyword succeeds whether or not anything moved. :param coor_x: X pixel coordinate where the swipe starts. :param coor_y: Y pixel coordinate where the swipe starts. :param direction: The finger direction (up, down, left, right). :param swipe_length: Swipe distance in pixels. :param event_name: The event triggering the swipe.
| Name | Type | Req | Description |
|---|---|---|---|
| coor_x | string | yes | – |
| coor_y | string | yes | – |
| direction | string | – | – |
| event_name | – | – | – |
| session_id | string | yes | – |
| swipe_length | string | – | – |
No output schema declared.
No examples provided.
swipe_by_percentage Swipe By Percentage ~185
Swipe from a screen position, given in percentages, in a specified direction. ``direction`` is the way the finger moves: "up" drags bottom to top, which reveals content further down. The keyword succeeds whether or not anything moved. :param percent_x: Start X as a percentage of screen width (0-100). :param percent_y: Start Y as a percentage of screen height (0-100). :param direction: The finger direction (up, down, left, right). :param swipe_length: Swipe distance as a percentage of screen height (up/down) or width (left/right). :param event_name: The event triggering the swipe.
| Name | Type | Req | Description |
|---|---|---|---|
| direction | string | – | – |
| event_name | – | – | – |
| percent_x | string | yes | – |
| percent_y | string | yes | – |
| session_id | string | yes | – |
| swipe_length | string | – | – |
No output schema declared.
No examples provided.
swipe_from_element Swipe From Element ~254
Perform a swipe action starting from a specified element. :param element: The element to swipe from (Image template, OCR template, or XPath). :param direction: The swipe direction (up, down, left, right). :param swipe_length: The length of the swipe. :param aoi_x: X percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_y: Y percentage of Area of Interest top-left corner (0-100). Default: 0. :param aoi_width: Width percentage of Area of Interest (0-100). Default: 100. :param aoi_height: Height percentage of Area of Interest (0-100). Default: 100. :param event_name: The event triggering the swipe. :param index: Index of the element if multiple matches are found.
| Name | Type | Req | Description |
|---|---|---|---|
| aoi_height | string | – | – |
| aoi_width | string | – | – |
| aoi_x | string | – | – |
| aoi_y | string | – | – |
| direction | string | yes | – |
| element | string | yes | – |
| event_name | – | – | – |
| index | string | – | – |
| session_id | string | yes | – |
| swipe_length | string | yes | – |
No output schema declared.
No examples provided.
swipe_seekbar_to_right_android Swipe Seekbar To Right Android ~89
Swipe a seekbar to the right. .. deprecated:: Deprecated; prefer :meth:`swipe_from_element` / :meth:`swipe`. :param element: The seekbar element (Image template, OCR template, or XPath). :param event_name: The event triggering the swipe.
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
No output schema declared.
No examples provided.
swipe_until_element_appears Swipe Until Element Appears ~108
Swipe in a specified direction until an element appears. :param element: The target element (Image template, OCR template, or XPath). :param direction: The swipe direction (up, down, left, right). :param timeout: Timeout until element search is performed. :param event_name: The event triggering the swipe.
| Name | Type | Req | Description |
|---|---|---|---|
| direction | string | yes | – |
| element | string | yes | – |
| event_name | – | – | – |
| session_id | string | yes | – |
| timeout | string | yes | – |
No output schema declared.
No examples provided.
terminate_session Terminate Session ~26
Terminate a session and release its driver/resources.
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
validate_element Validate Element ~111
Verifies the specified element. :param element: The element to be verified (Image template, OCR template, or XPath). :param timeout: The time to wait for verification in seconds. :param rule: The rule used for verification ("all" or "any"). :param event_name: The name of the event associated with the verification, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | yes | – |
| event_name | – | – | – |
| rule | string | – | – |
| session_id | string | yes | – |
| timeout | string | – | – |
No output schema declared.
No examples provided.
validate_screen Validate Screen ~118
Verifies the specified screen by checking element presence. :param elements: Comma-separated string of elements to verify (Image templates, OCR templates, or XPaths). :param timeout: The time to wait for verification in seconds. :param rule: The rule for verification ("any" or "all"). :param event_name: The name of the event associated with the verification, if any.
| Name | Type | Req | Description |
|---|---|---|---|
| elements | string | yes | – |
| event_name | – | – | – |
| rule | string | – | – |
| session_id | string | yes | – |
| timeout | string | – | – |
No output schema declared.
No examples provided.
How do I install the Optics MCP server?
Optics ships as an MCPB bundle, a single file you download and open in an MCP host that supports MCPB bundles, such as Claude Desktop. The host reads the launch command from the bundle's own manifest, so there is no command to copy. Before opening it, check the file's SHA-256 matches the one the MCP registry declares for it, 9db4696f332c20627ac9e90415e3b17657be114a5f1ea3f366e788cb38a03ba3; the commands to do that are on this page. If it does not match, do not open it.
mcpb · optics-framework-1.11.0.mcpb
Download bundleCheck the download matches the SHA-256 the MCP registry declares before you open it. If it does not match, do not open the file.
SHA-256
9db4696f332c20627ac9e90415e3b17657be114a5f1ea3f366e788cb38a03ba3
macOS / Linux
echo "9db4696f332c20627ac9e90415e3b17657be114a5f1ea3f366e788cb38a03ba3 optics-framework-1.11.0.mcpb" | shasum -a 256 -c
Windows (PowerShell)
(Get-FileHash -Algorithm SHA256 .\optics-framework-1.11.0.mcpb).Hash -eq "9db4696f332c20627ac9e90415e3b17657be114a5f1ea3f366e788cb38a03ba3"
Run it in the folder you saved the bundle to, then open the file with an MCPB-capable host such as Claude Desktop.
What is the Optics MCP server?
Optics is an MCP server listed in the public MCP registry as org.optics-framework/optics. Drive Android, iOS, smart TV and web apps from an agent; save the steps as CSV/YAML test suites. This page covers its MCPB bundle (https://github.com/mozarkai/optics-agent-plugins/releases/download/mcpb-v1.11.0/optics-framework-1.11.0.mcpb).
Is the Optics MCP server safe to use?
Optics scores 39 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Optics MCP server expose?
Optics exposes 41 tools: start_session, terminate_session, screenshot, clear_element_text, detect_and_press, and 36 more. Their descriptions and schemas cost roughly 5,831 tokens of context every time the server is loaded.
What licence is the Optics MCP server under?
Optics declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.