MCP Appium Server

find-by-text

Generate precise XPath queries to locate mobile app elements by text, filtering by platform and element type. Simplify automation testing for Android and iOS applications.

Instructions

Generate XPath to find element by text

Input Schema

NameRequiredDescriptionDefault
elementTypeNoFilter by element type (e.g., android.widget.Button)
exactMatchNoWhether to match the text exactly (default: true)
platformNameYesPlatform to generate XPath for
textYesText to search for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "elementType": { "description": "Filter by element type (e.g., android.widget.Button)", "type": "string" }, "exactMatch": { "description": "Whether to match the text exactly (default: true)", "type": "boolean" }, "platformName": { "description": "Platform to generate XPath for", "enum": [ "Android", "iOS" ], "type": "string" }, "text": { "description": "Text to search for", "type": "string" } }, "required": [ "text", "platformName" ], "type": "object" }
ID: pu6x5f1oro