Axe MCP Server
Overview
The Axe MCP Server is a Model Context Protocol (MCP) server that integrates enterprise-grade accessibility testing directly into your development workflow. Built on the trusted Axe platform, it enables developers to perform comprehensive accessibility scans and receive expert remediation guidance without leaving their IDE.
The server provides three tools:
analyzescans a web page, and can run Intelligent Guided Tests against it in the same call.analyze_mobilescans the screen showing on an iOS or Android device, simulator, or emulator, using Axe DevTools Mobile.remediateturns the issuesanalyzefound into code fixes. It covers web issues only.
A fourth tool, igt, is deprecated.
These tools integrate seamlessly with MCP-compatible clients (like Claude Desktop, VS Code with Copilot, or Cursor) and respect your organization's web Axe Configuration settings. analyze_mobile runs the default Axe DevTools Mobile rules.
Getting Access
The Axe MCP Server is available on two plans:
- Free — unlimited
analyzescans with the standard axe-core ruleset. Sign up with just an email address. - Premium — included with Axe DevTools for Web. Adds Advanced Rules, Intelligent Guided Tests, and the
remediatetool. Request a demo to get started.
See Free and Premium Plans for a full comparison.
Mobile scanning
Mobile scanning with analyze_mobile isn't part of the Free or Premium plans. It needs an Axe DevTools Mobile subscription, which has its own API key in the Axe Account Portal. Mobile scanning is available starting with version 1.8.0.
You can use either product on its own, or both together:
- Web only: set
AXE_API_KEY, or sign in with OAuth 2.0. - Mobile only: set
AXE_MOBILE_API_KEY, or sign in with OAuth 2.0 using an account entitled to Axe DevTools Mobile. The web tools are still listed but won't run. With the key, calling one says it needs a web credential. With OAuth, it says the account has no web subscription. - Web and mobile: set both
AXE_API_KEYandAXE_MOBILE_API_KEY, or sign in once with OAuth 2.0 using an account entitled to both.
Tools & Capabilities
The analyze Tool
Scans a web page for accessibility issues in a real browser, with the Axe DevTools Browser Extension, and returns the results to your agent. It works with local development URLs such as localhost:3000 and with remote URLs, and respects your organization's Axe Configuration.
Options let you scan at a specific viewport size, scope the scan to part of the page, log in or dismiss banners before scanning, inject cookies, capture a screenshot, and, on Premium, run Advanced Rules.
See Analyze Tool.
The analyze_mobile Tool
Axe DevTools Mobile. Scans the screen currently showing on a mobile device with Axe DevTools Mobile rules, and returns the violations, each placed in the app's view hierarchy so your agent can find the view in source. It works with an Android device or emulator, and with an iOS simulator or USB-connected iPhone. It needs the npm distribution, two scanner packages installed alongside the server, and adb for Android or macOS with Xcode for iOS.
See Analyze Mobile Tool.
Intelligent Guided Tests
Premium. The analyze tool can also run Deque's Automated Intelligent Guided Tests (IGTs) against the same page, in the same call: the Keyboard, Interactive Elements, and Modal Dialog IGTs. IGTs are AI-powered and consume AI credits. IGTs are web-only; analyze_mobile doesn't run them.
The remediate Tool
Premium. Takes the issues analyze found and returns AI-powered fix guidance, including a concrete code fix, that your coding agent can apply. Submit every issue from a run in one batched call. Each issue consumes AI credits.
remediate accepts web issues only. It doesn't support analyze_mobile findings.
See Remediate Tool.
The igt Tool
Deprecated. Use analyze with the igtTools parameter instead. See The igt Tool.
Getting Started
Before you start, you need an Axe account: sign up for the Free plan, or use your Axe DevTools for Web or Axe DevTools Mobile account. Setting up the Axe MCP Server then involves three independent choices:
- Choose a distribution — Docker or npm
- Set up authentication — an API key or OAuth 2.0
- Configure your client — VS Code with Copilot, Cursor, or Claude Code
To scan mobile apps, add a fourth step:
- Set up mobile scanning — add the scanner packages to your server command, install
adbor Xcode, and connect a device or start a simulator or emulator
Mobile scanning changes two of the choices above. It needs the npm distribution; Docker doesn't support it. And it needs an Axe DevTools Mobile credential: AXE_MOBILE_API_KEY, or an OAuth 2.0 sign-in for an account entitled to Axe DevTools Mobile.
Claude Code users can skip these steps with the Axe Accessibility plugin, which registers the server and adds slash commands for setup, agent instructions, and running the full remediation loop.
For environment variables and recommended AI-agent instructions, see the Configuration Reference. If something goes wrong, see Troubleshooting.
Example Prompts
Prompts that remediate issues or run guided tests need the Premium plan. Mobile prompts need Axe DevTools Mobile.
Ensuring expected tools get called
In many IDEs, using the following syntax ("#" prefix) will ensure the Axe MCP Server tools are called as expected:
#analyze the http://localhost:3033/ web page for accessibility issues and #remediate any violations foundAnalyze a localhost URL for accessibility issues:
Analyze http://localhost:3000 for accessibility issuesAnalysis with remediation:
Analyze https://example.com for accessibility issues and fix any issues foundAnalyze a page behind a login:
Analyze http://localhost:3000 for accessibility issues. Before running the
analysis, fill in the #username and #password fields with USERNAME and
PASSWORD from ./.env.local, click the button[type=submit] button, and
wait for #main-content to appear.Dismiss a cookie banner before scanning:
Analyze https://example.com for accessibility issues, but first click the
#cookie-dismiss button to dismiss the cookie consent banner.Capture a screenshot of the page:
Analyze http://localhost:3000 for accessibility issues and capture a screenshot of the pageScan a page with an injected session cookie:
Analyze https://app.example.com for accessibility issues. Set the session
cookie for app.example.com from ./.env.local so the scan starts already
logged in.Run every guided test in one call:
Analyze http://localhost:3000 for accessibility issues with thorough
advanced rules. Also run the keyboard, interactive elements, and modal
guided tests (test the modal triggered by button#open-dialog).Choose which interactive elements to test:
Analyze http://localhost:3000 and run the interactive elements guided test.
Show me the interactive elements it finds first and let me choose which
ones to test.Test a modal dialog:
Analyze http://localhost:3000 and run the modal guided test on the dialog
opened by #open-dialogMobile
analyze_mobile scans the screen that's open on the device when it's called.
Scan the screen on an Android emulator:
Scan the screen on my Android emulator for accessibility issuesScan an app on an iOS simulator:
Scan the app on my iPhone simulator for accessibility issues. The bundle ID
is in ios/MyApp.xcodeproj.Scan a specific simulator or iPhone:
Scan com.example.myapp on the iOS device with UDID 00008110-001A2B3C4D5E6F70Scan several screens:
I'll open each screen of the checkout flow on my Android device. Scan each
one when I say "next", then summarize the issues across all screens.Scan, then fix in source:
Scan the screen on my Android emulator. For each violation, find the view
in this project using its identifier or view path and suggest a fix.Ensuring the mobile tool gets called:
#analyze_mobile the screen on my Android emulatorSupport
For questions, issues, or feedback regarding the Axe MCP Server:
- Technical Support (Premium): helpdesk@deque.com
- General Inquiries: helpdesk@deque.com
- Sales Questions: sales@deque.com
Security & Privacy
For what the server sends to Deque, what it stores, and what access your AI agent needs, see the Security & Privacy FAQ.
