QA Prompts MCP Server
Provides tools and prompts for converting manual test cases to Appium automation scripts, analyzing Appium test failures, converting Appium page source XML to POM locators, and standardizing bug reports for mobile automation testing.
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., "@QA Prompts MCP Server convert manual test for login to Appium script"
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.
QA Prompts MCP Server
An MCP (Model Context Protocol) server that provides QA prompt templates for mobile automation teams. It exposes structured prompts and tools for automation code generation, failure analysis, and bug standardization — all usable directly inside Cursor.
Quick Start (No Clone Required)
Add this to your Cursor MCP config file (~/.cursor/mcp.json):
{
"mcpServers": {
"qa-prompts": {
"command": "npx",
"args": ["-y", "github:swapnilGirishPawar/Custom-MCP-Server-Mobile-QA"]
}
}
}Restart Cursor. The prompts will be available immediately via the / slash command in chat.
This server also exposes the same capabilities as MCP tools, which can be invoked by MCP clients (and may be used automatically by Cursor when tool-calling is enabled).
Related MCP server: MCP Appium
Available Prompts (Slash Commands)
1. Manual → Automation Conversion
Prompt | What It Does |
| Converts manual test cases into Appium + Java + TestNG automation scripts following POM architecture |
| Performs a deep PR review of existing automation code and generates a structured review report |
| Converts Appium Inspector Page Source XML into POM locator declarations (ID > Accessibility > XPath priority) |
2. Debugging & Failure Analysis
Prompt | What It Does |
| Analyzes Appium test failure logs to determine root cause, severity, flakiness risk, and fix recommendations |
3. Bug Standardization
Prompt | What It Does |
| Converts a bug title/description into a standardized bug report following the organization template |
Available Tools (MCP Tools)
Each prompt is also registered as an MCP tool with the same name (without the leading /).
Tool | What It Does |
| Converts manual test cases into Appium + Java + TestNG automation scripts following POM architecture |
| Performs a deep PR review of existing automation code and generates a structured review report |
| Converts Appium Inspector Page Source XML into POM locator declarations (ID > Accessibility > XPath priority) |
| Analyzes Appium test failure logs to determine root cause, severity, flakiness risk, and fix recommendations |
| Converts a bug title/description into a standardized bug report following the organization template |
Notes:
standardize-bug-reporttool output: the tool output format does not include a<Title>line; it returns only [Issue], [Reproduction steps], [Screenshot], [Expected Result] (with those headings expected to be bold).
Usage
Open Cursor chat (
Cmd+L) or Composer (Cmd+I)Type
/to see the list of available promptsSelect a prompt
Fill in the required inputs
Submit — the AI processes the full prompt template and returns structured output
Example: Standardize a Bug Report
Type
/standardize-bug-reportin chatFill in:
bugDescription:
login button not working on iOS after updateadditionalContext (optional):
Build 2.3.1, iPhone 15, Premium account
The AI generates a complete standardized bug report (including a rewritten title), issue, reproduction steps, and expected result
Example: Convert Manual Test Case to Automation
Type
/convert-manual-to-automationin chatFill in:
featureNavigation:
Settings → Notifications → Push NotificationsmanualTestCase: (paste your manual test case)
existingCode (optional): (paste any existing Page Objects or BaseTest for context)
The AI generates a complete TestNG test class with POM, annotations, and framework conventions
Prompt / Tool Inputs Reference
Name | Required Inputs | Optional Inputs |
|
|
|
|
| — |
|
| — |
|
| — |
|
|
|
Local Development
# Clone the repo
git clone https://github.com/swapnilGirishPawar/Custom-MCP-Server-Mobile-QA.git
cd Custom-MCP-Server-Mobile-QA
# Install dependencies
npm install
# Build
npm run build
# Run locally
npm startFor development with auto-reload, use npm run dev (requires tsx).
To test locally before pushing, point your MCP config to the local build:
{
"mcpServers": {
"qa-prompts": {
"command": "node",
"args": ["/absolute/path/to/Custom-MCP-Server-Mobile-QA/dist/index.js"]
}
}
}Tech Stack
TypeScript with strict mode
@modelcontextprotocol/sdk v1.27+
Zod v4 for input validation
stdio transport for Cursor integration
Available Tools
6 toolsanalyze-test-failureAppium Test Failure Root Cause AnalyzerA
Performs deep failure analysis of Appium test logs to determine the true root cause, classify severity, assess flakiness risk, and provide fix recommendations.
Inputs: failureLogs (required).
Automation-initialization-codeGenerate Java Test + Page Class (testsuite)B
Returns the prompt text to generate Java test and page classes matching src/test/java/testsuite, for class name: required.
Inputs: className (required).
convert-manual-to-automationConvert Manual Test Case → Automation SkeletonB
Converts manual test cases into well-structured Appium + Java + TestNG automation scripts following POM architecture.
Inputs: manualTestCase (required), featureNavigation (required), existingCode.
refactor-automation-codeRefactor Existing Automation CodeC
Performs a deep technical PR review of Appium + Java + TestNG automation code and generates a professional PR Review Report.
Inputs: code (required).
standardize-bug-reportStandardize Bug ReportB
Converts a bug title or description into a properly structured, standardized bug report following the organization's template.
Inputs: bugDescription (required), additionalContext.
xml-to-pom-locatorsAppium Inspector XML → POM LocatorsA
Converts Appium Inspector Page Source XML into POM locator declarations with proper locator strategy priority (ID > Accessibility > XPath).
Inputs: pageSourceXml (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: converting page source, analyzing failures, formatting bug reports, generating initialization code, converting manual tests, and reviewing code. No overlap.
Five tools follow a consistent hyphen-separated lowercase pattern (e.g., xml-to-pom-locators), but 'Automation-initialization-code' starts with a capital letter, breaking the pattern.
With 6 tools, the set covers the core QA automation workflow—locator generation, failure analysis, bug reporting, test generation, manual conversion, and code review—without being too sparse or bloated.
The tools cover the main stages of Appium automation: setup, analysis, reporting, and refactoring. Missing potential tools like test data generation or execution, but the scope is reasonable.
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.
Order human-run real-device app tests from your coding agent; verified bugs return as fix prompts.
Investigate iOS and Android crashes and failed UI tests from your coding agent.
Agentic AI quality engineering: run, debug and triage tests on real browsers and devices
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
AlicenseAqualityAmaintenanceEnables 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.3211,306 npm520Apache 2.0- AlicenseNot gradedqualityCmaintenanceEnables AI-driven mobile test automation through planning, generation, and self-healing agents for Android and iOS, exposed as callable MCP tools.10ISC