# 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](https://cursor.com). ## Quick Start (No Clone Required) Add this to your Cursor MCP config file (`~/.cursor/mcp.json`): ```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). ## Available Prompts (Slash Commands) ### 1. Manual → Automation Conversion | Prompt | What It Does | |---|---| | `/convert-manual-to-automation` | Converts manual test cases into Appium + Java + TestNG automation scripts following POM architecture | | `/refactor-automation-code` | Performs a deep PR review of existing automation code and generates a structured review report | | `/xml-to-pom-locators` | Converts Appium Inspector Page Source XML into POM locator declarations (ID > Accessibility > XPath priority) | ### 2. Debugging & Failure Analysis | Prompt | What It Does | |---|---| | `/analyze-test-failure` | Analyzes Appium test failure logs to determine root cause, severity, flakiness risk, and fix recommendations | ### 3. Bug Standardization | Prompt | What It Does | |---|---| | `/standardize-bug-report` | 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 | |---|---| | `convert-manual-to-automation` | Converts manual test cases into Appium + Java + TestNG automation scripts following POM architecture | | `refactor-automation-code` | Performs a deep PR review of existing automation code and generates a structured review report | | `xml-to-pom-locators` | Converts Appium Inspector Page Source XML into POM locator declarations (ID > Accessibility > XPath priority) | | `analyze-test-failure` | Analyzes Appium test failure logs to determine root cause, severity, flakiness risk, and fix recommendations | | `standardize-bug-report` | Converts a bug title/description into a standardized bug report following the organization template | Notes: - **`standardize-bug-report` tool output**: the tool output format does **not** include a `