ui-bridge-mcp

v0.1.0
ui-bridge-mcp Checked 4 days ago Published 10 months ago

MCP server for UI Bridge - enables AI to inspect and interact with UI elements

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ui_health

Check if the qontinui-runner is running and accessible.

ui_snapshot

Get a complete snapshot of the runner's UI (Control mode). Returns all registered elements with their current state including: - Element ID, type, and label - Bounding box (x, y, width, height) - Visibility and enabled state - Available actions (click, type, focus, etc.) Use this to understand the current UI state before interacting with elements.

ui_discover

Trigger element discovery in the runner's UI. Call this if elements aren't showing up in ui_snapshot - it forces a fresh registration of all interactive elements.

ParameterTypeDescription
interactive_onlybooleanOnly discover interactive elements (buttons, inputs, etc.)

ui_get_element

Get detailed information about a specific UI element. Returns the element's full state including bounds, visibility, enabled state, text content, and available actions.

ParameterTypeDescription
element_id *stringThe element's data-ui-id (e.g., 'sidebar-nav-item-settings')

ui_click

Click an element in the runner's UI. Use ui_snapshot first to find the element_id you want to click.

ParameterTypeDescription
element_id *stringThe element's data-ui-id to click

ui_type

Type text into an input element in the runner's UI. Use ui_snapshot first to find the element_id of the input field.

ParameterTypeDescription
element_id *stringThe element's data-ui-id to type into
text *stringThe text to type

ui_focus

Focus an element in the runner's UI.

ParameterTypeDescription
element_id *stringThe element's data-ui-id to focus

extension_status

Check if the Chrome extension is connected. The extension enables interaction with external browser tabs. Returns connection status and WebSocket URL.

extension_list_tabs

List all browser tabs accessible via the Chrome extension. Returns tab IDs, titles, URLs, and which tab is active. Use the tab_id with extension_select_tab to target a specific tab.

extension_select_tab

Select a browser tab for subsequent operations. After selecting a tab, extension_get_elements will read from that tab.

ParameterTypeDescription
tab_id *integerThe tab ID from extension_list_tabs

extension_get_elements

Get all elements from the selected browser tab. Returns a list of elements with their: - ID, type, and accessible name - Role and ARIA attributes - Visibility and enabled state - Available actions - Bounding box positions Use extension_select_tab first to choose which tab to inspect.

ParameterTypeDescription
timeout_secsintegerTimeout in seconds for element discovery

extension_click

Click an element in the browser tab by CSS selector. Use extension_get_elements first to understand the page structure.

ParameterTypeDescription
selector *stringCSS selector for the element to click
timeout_secsintegerTimeout in seconds

extension_type

Type text into an element in the browser tab. Use extension_get_elements first to find the input field's selector.

ParameterTypeDescription
selector *stringCSS selector for the input element
text *stringText to type into the element
timeout_secsintegerTimeout in seconds

extension_screenshot

Take a screenshot of the current browser tab. Returns a base64-encoded PNG image.