mcp-appium-gestures
Generates code and provides documentation for Appium mobile gestures (tap, swipe, scroll, pinch/zoom, long press, drag and drop, double tap) in JavaScript (WebdriverIO) and Java (Appium Java Client).
Generates JavaScript test code using WebdriverIO for Appium mobile gestures.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Appium Gestures
An MCP (Model Context Protocol) server providing resources and tools for Appium mobile gestures.
Features
Documentation resources for common Appium mobile gestures:
Tap
Swipe
Scroll
Pinch/Zoom
Long Press
Drag and Drop
Double Tap
Tools to generate code for these gestures in different languages:
JavaScript (WebdriverIO v9+ and below)
Java (Appium Java Client)
Related MCP server: Appium MCP Server
Installation
# Clone the repository
git clone https://github.com/yourusername/mcp-appium-gestures.git
cd mcp-appium-gestures
# Install dependencies
npm installUsage
Start with stdio transport (for local use)
# Start the server with stdio transport
npm start
# or
npm run start:stdioStart with SSE transport (for remote use)
# Start the server with SSE transport on default port (8080)
npm run start:sse
# Start the server with SSE transport on a custom port
npm run start:sse:port 3000Development and Testing
# Test with mcp-cli
npm run dev
# Inspect with MCP Inspector
npm run inspectUsage with Claude
To use this MCP server with Claude, you need to add it to your MCP settings configuration file. The location of this file depends on your platform:
For Cursor:
/Users/[username]/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonFor Claude Desktop:
/Users/[username]/Library/Application Support/Claude/claude_desktop_config.jsonFor Cline or other MCP clients: Check your client's documentation for the configuration file location
Add the following configuration to the mcpServers object in the settings file:
{
"mcpServers": {
"appium-gestures": {
"command": "npx",
"disabled": false,
"args": ["mcp-appium-gestures"],
"autoApprove": [],
"timeout": 300,
"transportType": "stdio"
}
}
}Once configured, you can use the MCP server's tools and resources directly in Claude:
<use_mcp_tool>
<server_name>appium-gestures</server_name>
<tool_name>generate-tap-code</tool_name>
<arguments>
{
"language": "javascript",
"useElement": true,
"elementId": "login-button"
}
</arguments>
</use_mcp_tool>Or access resources:
<access_mcp_resource>
<server_name>appium-gestures</server_name>
<uri>gesture://tap</uri>
</access_mcp_resource>Resources
The server provides documentation resources for the following gestures:
gesture://tap- Tap gesture documentationgesture://swipe- Swipe gesture documentationgesture://scroll- Scroll gesture documentationgesture://pinch-zoom- Pinch and zoom gestures documentationgesture://long-press- Long press gesture documentationgesture://drag-drop- Drag and drop gesture documentationgesture://double-tap- Double tap gesture documentation
You can also access a specific gesture by name using the template: gesture://{name}
Tools
The server provides the following tools to generate code for Appium gestures:
generate-tap-code
Generates code for tap gesture.
Parameters:
language: 'javascript' or 'java'useElement: boolean - whether to tap on an element or at coordinateselementId: string (required if useElement is true) - the element ID to tap onx: number (required if useElement is false) - x coordinate to tap aty: number (required if useElement is false) - y coordinate to tap at
generate-swipe-code
Generates code for swipe gesture.
Parameters:
language: 'javascript' or 'java'startX: number - starting x coordinatestartY: number - starting y coordinateendX: number - ending x coordinateendY: number - ending y coordinateduration: number (optional, default: 500) - duration of the swipe in milliseconds
generate-scroll-code
Generates code for scroll gesture.
Parameters:
language: 'javascript' or 'java'direction: 'up', 'down', 'left', or 'right'useElement: boolean (optional, default: false) - whether to scroll to an elementelementId: string (optional) - the element ID to scroll todistance: number (optional, default: 300) - distance to scroll
generate-long-press-code
Generates code for long press gesture.
Parameters:
language: 'javascript' or 'java'useElement: boolean - whether to long press on an element or at coordinateselementId: string (required if useElement is true) - the element ID to long press onx: number (required if useElement is false) - x coordinate to long press aty: number (required if useElement is false) - y coordinate to long press atduration: number (optional, default: 2000) - duration of the long press in milliseconds
generate-double-tap-code
Generates code for double tap gesture.
Parameters:
language: 'javascript' or 'java'useElement: boolean - whether to double tap on an element or at coordinateselementId: string (required if useElement is true) - the element ID to double tap onx: number (required if useElement is false) - x coordinate to double tap aty: number (required if useElement is false) - y coordinate to double tap atpauseDuration: number (optional, default: 200) - pause duration between taps in milliseconds
License
MIT
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.
Drive and test your React Native and Expo apps end-to-end on iOS and Android. Supports real devices, simulators, and emulators. Snapshots, taps, typing, swipes, screenshots, deep links, reloads, builds and runtime errors.
remote debug iOS/Android/Unity/Godot/Flutter/RN/Web on real-device.ui-tree/screenshots/taps,tests.
Drive cloud Android phones on US mobile IPs. Read the screen, tap, type, install apps and run tasks.
Related MCP Servers
- AlicenseCqualityDmaintenanceMobile automation suite of tools including an MCP and libraries for test authoring & execution. Android first, iOS support coming.3822 npm80Apache 2.0
- 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 gradedqualityDmaintenanceProvides Appium mobile automation capabilities to Claude and other MCP-compatible clients, enabling cross-platform iOS and Android automation, element interaction, and session management.626 npm6MIT
- AlicenseAqualityDmaintenanceProvides prompt templates and tools for mobile QA automation, including converting manual tests to Appium scripts, analyzing failures, and standardizing bug reports.6Apache 2.0