MCP Appium Server

generate-test-script

Create Appium test scripts for automated mobile app testing by specifying platform (Android/iOS) and actions like tap, input, swipe, or wait.

Instructions

Generate Appium test script from actions

Input Schema

NameRequiredDescriptionDefault
actionsYesList of actions to perform
appPackageNoApp package name (Android)
bundleIdNoBundle ID (iOS)
platformNameYesPlatform to generate script for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "actions": { "description": "List of actions to perform", "items": { "additionalProperties": false, "properties": { "endX": { "description": "End X coordinate (for swipe actions)", "type": "number" }, "endY": { "description": "End Y coordinate (for swipe actions)", "type": "number" }, "selector": { "description": "Element selector", "type": "string" }, "startX": { "description": "Start X coordinate (for swipe actions)", "type": "number" }, "startY": { "description": "Start Y coordinate (for swipe actions)", "type": "number" }, "strategy": { "description": "Selector strategy: xpath, id, accessibility id", "type": "string" }, "text": { "description": "Text to input (for input actions)", "type": "string" }, "timeoutMs": { "description": "Timeout in ms (for wait actions)", "type": "number" }, "type": { "description": "Action type: tap, input, swipe, wait", "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "array" }, "appPackage": { "description": "App package name (Android)", "type": "string" }, "bundleId": { "description": "Bundle ID (iOS)", "type": "string" }, "platformName": { "description": "Platform to generate script for", "enum": [ "Android", "iOS" ], "type": "string" } }, "required": [ "platformName", "actions" ], "type": "object" }
ID: pu6x5f1oro