Cross-platform mobile app automation.
## Appium MCP Server: Mobile Application Test Automation The **Appium MCP Server** integrates comprehensive mobile app testing capabilities into Google Antigravity, enabling automated testing of iOS, Android, and hybrid applications through AI-assisted test development and execution. ### Why Appium MCP? - **Cross-Platform Testing**: Write tests once and run on iOS and Android using the same WebDriver protocol - **Native App Support**: Test native mobile applications without modifying app code or requiring source access - **Real Device Testing**: Execute tests on real devices or simulators for accurate production behavior validation - **Hybrid Support**: Test hybrid apps with seamless context switching between native and webview elements - **Language Flexibility**: Write tests in Python, JavaScript, Java, Ruby, or any WebDriver-compatible language ### Key Features #### 1. Test Execution ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Run Appium tests for the login flow on both iOS and Android simulators" }] ) ``` #### 2. Element Inspection ```python # Inspect app elements response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Inspect the checkout screen and generate element locators for all interactive components" }] ) ``` #### 3. Test Generation ```python # Generate test scripts response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Generate Appium test script for complete purchase flow from product selection to payment" }] ) ``` #### 4. Device Management ```python # Manage test devices response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "List available devices and start parallel test sessions on iPhone 15 and Pixel 8" }] ) ``` ### Configuration ```json { "mcpServers": { "appium": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-appium"], "env": { "APPIUM_HOST": "localhost", "APPIUM_PORT": "4723" } } } } ``` ### Use Cases **Regression Testing**: Automate regression suites for mobile apps to catch issues before release. **Cross-Platform Validation**: Ensure consistent behavior across iOS and Android platforms. **Continuous Testing**: Integrate mobile tests into CI/CD pipelines for continuous quality assurance. **Accessibility Testing**: Validate mobile app accessibility features meet platform guidelines. The Appium MCP Server brings professional mobile testing capabilities into your AI-assisted workflow, enabling comprehensive mobile app quality assurance.
{
"mcpServers": {
"appium": {}
}
}