Axe MCP Server Mobile Scanning
The Axe MCP Server gives AI coding agents - such as Claude Code, Cursor, or VS Code with Copilot - the ability to run accessibility scans. With an Axe DevTools Mobile subscription, you can ask your agent to scan the screen open on an iOS or Android device, simulator, or emulator. The agent gets the results and can find the affected views in your source code.
Use Cases
The MCP server helps you to catch issues while you're building a screen, right from your IDE. For other workflows, see Component Details and Benefits.
What You Need
- An Axe DevTools Mobile subscription and API key
- An MCP client, such as Claude Code, Cursor, or VS Code with Copilot
- For iOS: a Mac with Xcode
- For Android: Android SDK Platform-Tools (
adb)
How It Works
Open the screen you want to test, then prompt your agent:
Scan the screen on my <DEVICE_IN_USE> for accessibility issuesThe server scans the screen and checks each element against the Axe DevTools Mobile rules for iOS and Android. It returns the results to your agent, which can explain the issues in your code.
Results from the MCP server work differently from your other Axe DevTools Mobile results:
- Results aren't saved to Axe Developer Hub; they go only to your agent. To track or share results, use the Mobile Analyzers or automated testing.
- The MCP server runs the default rules. It doesn't apply your organization's global rule configuration yet, so results may differ from your other tools.
- The agent scans one screen at a time - as you prompt it; it doesn't navigate the app.
Set Up the MCP Server
For setup steps, requirements, and troubleshooting, see Analyze Mobile Tool in the Axe MCP Server docs.
