a11ydriver-mcp
A11yDriver Engine
Zero-UI Chrome Extension & MCP Server Bridge for Autonomous AI Agents
Engineered with ❤️ by Eliyanto Sarage • officialelsa21@gmail.com
⚡ Key Highlights & Architecture
🛡️ Zero-UI Background Operator: Operates 100% silently in Chrome service worker without popup or sidepanel overhead.
🌳 Accessibility Tree Serializer (
a11y-engine.js): Converts complex DOM + Shadow DOM trees into compressed semantic trees withrefIdtracking, saving up to 80% LLM tokens.🧰 21 Full CDP MCP Tools: Complete browser control including Tab Group sessions, drag-and-drop, full-page screenshots, PDF export, hover triggering, and key pressing.
🔒 Sensitive Data Redaction: Automatic local masking of password fields, OTPs, and credit card credentials.
⏱️ Manifest V3 Keep-Alive: Heartbeat alarms prevent Service Worker sleep during extended AI agent sessions.
🚀 Quick Setup
1. Install Global MCP Server
npm install -g a11ydriver-mcp2. Configure AI Agent (Claude Code / Claude Desktop / Custom Agent Host)
Add a11ydriver-mcp to your MCP configuration:
{
"mcpServers": {
"a11ydriver": {
"command": "a11ydriver-mcp"
}
}
}3. Load Extension in Chrome
Open
chrome://extensionsin Google Chrome.Turn on Developer mode.
Click Load unpacked and select the
extension/directory.
4. Enable Agent Diagnostic Protocol (System Prompt)
Copy and paste the prompt in AGENT_INSTRUCTIONS.md into your AI Agent's system instructions. This ensures the AI Agent automatically detects whether MCP & Extension are connected and diagnoses any missing setup steps.
🛠️ Complete MCP Tool Protocol (21 Tools)
Tool Category | MCP Tool Name | Description |
Tab & Group |
| List all open Chrome tabs with IDs & titles |
| Open a new tab (optional | |
| Create an isolated tab group for AI agent session | |
| Close all tabs inside an agent tab group after task finishes | |
| Switch active focused tab by | |
| Close specified tab by | |
Navigation |
| Navigate active tab to target |
| Go back in browser history | |
| Go forward in browser history | |
| Reload current page | |
Interactions |
| Click element by coordinates |
| Hover cursor over element or | |
| Perform drag & drop from | |
| Type text into element | |
| Press special keys ( | |
| Scroll page vertically ( | |
DOM & Output |
| Get semantic Accessibility Tree snapshot with |
| Execute custom JS snippet on web context via CDP Runtime | |
| Capture tab screenshot (supports | |
| Print web page to PDF base64 document | |
| Get session cookies for active domain |
Developed by Eliyanto Sarage (officialelsa21@gmail.com)
Released under the MIT License.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/idugeni/a11ydriver-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server