MCP Mobile Automation Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Mobile Automation ServerRun calculator tests on iPhone 12"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Mobile Automation Server
A Model Context Protocol (MCP) server that provides mobile automation testing capabilities through integration with Cucumber.js framework. This server exposes mobile testing tools to AI assistants, enabling automated testing of mobile applications.
š Features
Calculator App Testing - Execute comprehensive calculator functionality tests
Device Management - Get information about available devices and configurations
Test Execution - Run specific Cucumber scenarios with custom parameters
APK Management - Upload APK files to BrowserStack for testing
Multilingual Support - Demonstrate multilingual device parsing capabilities
Project Status - Get current project configuration and status
Related MCP server: MCP Appium
š Available Tools
1. run_calculator_test
Execute calculator app tests using the Cucumber.js framework.
Parameters:
scenario(optional): Specific scenario to run (e.g., "Basic Calculator Addition")device(optional): Device to test on (e.g., "iPhone 12")os_version(optional): OS version (e.g., "14")
2. get_test_scenarios
Get a list of available test scenarios from feature files.
3. get_device_info
Get information about available devices and configurations.
4. execute_cucumber_scenario
Run a specific Cucumber scenario with custom parameters.
Parameters:
feature: Feature file name (e.g., "calculator.feature")scenario_name(optional): Specific scenario name to rundevice(optional): Device to test onplatform(optional): Platform to test on (iOS/Android)
5. upload_apk
Upload APK file to BrowserStack for testing.
Parameters:
apk_path: Path to APK file (relative to project root)
6. get_project_status
Get current status and configuration of the mobile automation project.
7. run_multilingual_demo
Execute multilingual device parsing demonstration.
Parameters:
language(optional): Language to demo (english/portuguese/spanish/all)
š Installation
Clone the repository:
git clone <repository-url> cd mcp-cucumber-js-mobile-automationInstall dependencies:
npm installBuild the project:
npm run build
š§ Configuration
Prerequisites
Node.js 16 or higher
TypeScript
The parent Cucumber.js project: https://github.com/lucascortazz/cucumber-js-mobile-automation
Environment Variables
You can configure the MCP server using environment variables:
Variable | Description | Default |
| Path to the parent cucumber-js-mobile-automation project |
|
Example:
# Set custom path to parent project
export CUCUMBER_PROJECT_PATH="/path/to/cucumber-js-mobile-automation"
npm startProject Path Configuration
The MCP server automatically looks for the parent project in these locations:
Environment variable:
CUCUMBER_PROJECT_PATHDefault relative path:
../cucumber-js-mobile-automation
If the parent project is not found, the server will display helpful error messages with setup instructions.
TypeScript
Access to the parent Cucumber.js mobile automation project at:
/Users/lucascortazzo/code/cucumber-js-mobile-automation
VS Code Integration
The server includes a VS Code MCP configuration file at .vscode/mcp.json. This allows you to debug and test the MCP server directly in VS Code.
Claude Desktop Integration
To use this server with Claude Desktop, add the following to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\\Claude\\claude_desktop_config.json
{
"mcpServers": {
"mobile-automation": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/mcp-cucumber-js-mobile-automation/build/index.js"]
}
}
}š¦ Usage
Running the Server
# Start the server
npm start
# Or run in development mode
npm run devExample Commands
Once connected to an MCP client (like Claude Desktop), you can use these commands:
"Run calculator tests on iPhone 12"
"Show me available test scenarios"
"Execute the Basic Calculator Addition scenario"
"Get device information"
"Upload the Calculator.apk file"
"Show project status"
"Run multilingual demo in Portuguese"
š Integration & Setup
This MCP server integrates with the Cucumber.js mobile automation framework available at: https://github.com/lucascortazz/cucumber-js-mobile-automation
š Complete Setup Guide
Follow these steps to set up both the parent project and this MCP server:
Step 1: Set Up the Parent Mobile Automation Project
Clone the parent project:
git clone https://github.com/lucascortazz/cucumber-js-mobile-automation.git cd cucumber-js-mobile-automationInstall dependencies:
npm installConfigure environment variables:
# Copy the example environment file cp .env.example .env # Edit .env with your BrowserStack credentials # BROWSERSTACK_USERNAME=your_username # BROWSERSTACK_ACCESS_KEY=your_access_keyTest the setup:
npm test
Step 2: Set Up the MCP Server
Clone this MCP server project:
git clone https://github.com/lucascortazz/mcp-cucumber-js-mobile-automation.git cd mcp-cucumber-js-mobile-automationInstall dependencies:
npm installUpdate the parent project path:
Edit
src/index.tsand update theCUCUMBER_PROJECT_PATHconstant:// Update this path to match your parent project location const CUCUMBER_PROJECT_PATH = "/your/path/to/cucumber-js-mobile-automation";Build the MCP server:
npm run build
Step 3: Configure Claude Desktop
Install Claude Desktop from https://claude.ai/download
Configure MCP integration:
macOS: Edit
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: Edit%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "mobile-automation": { "command": "node", "args": ["/absolute/path/to/mcp-cucumber-js-mobile-automation/build/index.js"] } } }Restart Claude Desktop completely
Step 4: Test the Integration
Start Claude Desktop and look for the MCP tools indicator
Try these commands:
"Show me available test scenarios"
"Run calculator tests on iPhone 12"
"Get device information"
"What's the current project status?"
š§ Project Structure Requirements
Your directory structure should look like this:
your-projects/
āāā cucumber-js-mobile-automation/ # Parent project
ā āāā features/
ā ā āāā calculator.feature
ā ā āāā openReminders.feature
ā āāā app/
ā ā āāā Calculator.apk
ā āāā utils/
ā āāā package.json
āāā mcp-cucumber-js-mobile-automation/ # This MCP server
āāā src/
ā āāā index.ts
āāā build/
āāā package.jsonš Bridge Capabilities
The MCP server provides a bridge between MCP clients and the mobile automation testing capabilities, allowing AI assistants to:
Execute mobile tests from the parent project
Manage test scenarios dynamically
Handle device configurations
Process test results and provide insights
Upload APK files to BrowserStack
Run multilingual demos and parsing tests
š Development
Project Structure
mcp-cucumber-js-mobile-automation/
āāā src/
ā āāā index.ts # Main MCP server implementation
āāā build/ # Compiled JavaScript output
āāā .vscode/
ā āāā mcp.json # VS Code MCP configuration
āāā .github/
ā āāā copilot-instructions.md
āāā package.json
āāā tsconfig.json
āāā README.mdScripts
npm run build- Compile TypeScript to JavaScriptnpm start- Start the MCP servernpm run dev- Build and start in development mode
Debugging
You can debug this MCP server using VS Code with the included MCP configuration. The server logs to stderr, so you can monitor its activity during development.
š¤ Contributing
Fork the repository
Create a feature branch
Make your changes
Build and test the server
Submit a pull request
š License
This project is licensed under the ISC License.
Built with ā¤ļø using the Model Context Protocol SDK and TypeScript.
This server cannot be deployed
Maintenance
Related MCP Connectors
Drive real Android & iOS devices and web browsers from natural language for mobile + web QA. 290+ tools across device control, app management, automation sessions, browser automation, and flow recording / replay. Bearer-auth ā get a token at robotactions.com ā Profile ā API Tokens.
Control real Android and iOS devices with LLM agents ā tap, swipe, type, automate flows.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
- LimrunOAuthcom.limrun
Cloud iOS simulators and Android emulators your agent can create, drive, and throw away.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI-powered mobile app testing and automation through Appium, using Azure OpenAI to intelligently navigate mobile applications and generate test cases.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate Android mobile device testing through Appium, with automatic device detection, screen element inspection, and natural language test scenario execution.3MIT

MCP Appiumofficial
AlicenseBqualityAmaintenanceEnables AI assistants to automate mobile app testing and development for iOS and Android through natural language interactions. Supports intelligent element identification, session management, automated test generation, and comprehensive device interactions including clicks, swipes, screenshots, and app management.316,572 npm471Apache 2.0- AlicenseAqualityBmaintenanceEnables AI assistants to control mobile and desktop devices with natural language, including running automation tasks, taking screenshots, and managing devices.65 npmMIT