@weaaare/mcp-virtual-screen-reader-auditor 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  MCP (Model Context Protocol) server for **headless virtual screen reader accessibility audits**. Works on any OS — no native screen reader required. Launches a real browser, injects a virtual screen reader, and navigates the live accessibility tree including dynamic/SPA content.
4
4
 
5
- Covers **WCAG 2.2** criteria using the same audit, findings, and reporting framework as `@weaaare/mcp-voiceover-auditor`.
5
+ Can help cover up to **12 WCAG 2.2 success criteria** using the same audit, findings, and reporting framework as `@weaaare/mcp-voiceover-auditor`.
6
+
7
+ > **Important:** This tool does **not** replace a manual audit by an accessibility specialist, nor does it substitute real testing with assistive-technology users. It is a fast feedback loop that catches common issues early — a complement, never a replacement.
6
8
 
7
9
  ## Tools
8
10
 
@@ -32,23 +34,25 @@ Covers **WCAG 2.2** criteria using the same audit, findings, and reporting frame
32
34
  | `end_audit` | End audit session and return summary data |
33
35
  | `generate_report` | Generate reports in Markdown, JSON, or CSV |
34
36
 
35
- ## Installation
36
-
37
- ```bash
38
- npm install -g @weaaare/mcp-virtual-screen-reader-auditor
39
- ```
37
+ ## Getting started
40
38
 
41
- Or use directly with `npx`:
39
+ **Standard config** works in most MCP clients:
42
40
 
43
- ```bash
44
- npx @weaaare/mcp-virtual-screen-reader-auditor
41
+ ```json
42
+ {
43
+ "mcpServers": {
44
+ "virtual-screen-reader-auditor": {
45
+ "command": "npx",
46
+ "args": ["-y", "@weaaare/mcp-virtual-screen-reader-auditor"]
47
+ }
48
+ }
49
+ }
45
50
  ```
46
51
 
47
- ## Configuration
52
+ <details>
53
+ <summary>VS Code</summary>
48
54
 
49
- ### VS Code (GitHub Copilot)
50
-
51
- Add to `.vscode/mcp.json`:
55
+ Add to your project's `.vscode/mcp.json` (or user-level `settings.json` under `"mcp"`):
52
56
 
53
57
  ```json
54
58
  {
@@ -61,21 +65,133 @@ Add to `.vscode/mcp.json`:
61
65
  }
62
66
  ```
63
67
 
64
- ### Claude Desktop
68
+ Or install via the VS Code CLI:
69
+
70
+ ```bash
71
+ code --add-mcp '{"name":"virtual-screen-reader-auditor","command":"npx","args":["-y","@weaaare/mcp-virtual-screen-reader-auditor"]}'
72
+ ```
73
+
74
+ </details>
75
+
76
+ <details>
77
+ <summary>Claude Desktop</summary>
78
+
79
+ Follow the MCP install [guide](https://modelcontextprotocol.io/quickstart/user). Add to your `claude_desktop_config.json` using the standard config above.
80
+
81
+ </details>
82
+
83
+ <details>
84
+ <summary>Claude Code</summary>
85
+
86
+ ```bash
87
+ claude mcp add virtual-screen-reader-auditor npx -y @weaaare/mcp-virtual-screen-reader-auditor
88
+ ```
89
+
90
+ </details>
91
+
92
+ <details>
93
+ <summary>Cursor</summary>
94
+
95
+ Go to `Cursor Settings` → `MCP` → `Add new MCP Server`. Use `command` type with `npx -y @weaaare/mcp-virtual-screen-reader-auditor`.
96
+
97
+ Or add to `.cursor/mcp.json` using the standard config above.
98
+
99
+ </details>
65
100
 
66
- Add to `claude_desktop_config.json`:
101
+ <details>
102
+ <summary>Windsurf</summary>
103
+
104
+ Follow Windsurf MCP [documentation](https://docs.windsurf.com/windsurf/cascade/mcp). Use the standard config above.
105
+
106
+ </details>
107
+
108
+ <details>
109
+ <summary>Cline</summary>
110
+
111
+ Add to your [`cline_mcp_settings.json`](https://docs.cline.bot/mcp/configuring-mcp-servers#editing-mcp-settings-files):
67
112
 
68
113
  ```json
69
114
  {
70
115
  "mcpServers": {
71
116
  "virtual-screen-reader-auditor": {
117
+ "type": "stdio",
72
118
  "command": "npx",
73
- "args": ["-y", "@weaaare/mcp-virtual-screen-reader-auditor"]
119
+ "args": ["-y", "@weaaare/mcp-virtual-screen-reader-auditor"],
120
+ "disabled": false
74
121
  }
75
122
  }
76
123
  }
77
124
  ```
78
125
 
126
+ </details>
127
+
128
+ <details>
129
+ <summary>Kiro</summary>
130
+
131
+ Follow the MCP Servers [documentation](https://kiro.dev/docs/mcp/). Add to `.kiro/settings/mcp.json` using the standard config above.
132
+
133
+ </details>
134
+
135
+ <details>
136
+ <summary>Codex</summary>
137
+
138
+ ```bash
139
+ codex mcp add virtual-screen-reader-auditor npx "-y" "@weaaare/mcp-virtual-screen-reader-auditor"
140
+ ```
141
+
142
+ Or edit `~/.codex/config.toml`:
143
+
144
+ ```toml
145
+ [mcp_servers.virtual-screen-reader-auditor]
146
+ command = "npx"
147
+ args = ["-y", "@weaaare/mcp-virtual-screen-reader-auditor"]
148
+ ```
149
+
150
+ </details>
151
+
152
+ <details>
153
+ <summary>Goose</summary>
154
+
155
+ Go to `Advanced settings` → `Extensions` → `Add custom extension`. Use type `STDIO` and set the command to `npx -y @weaaare/mcp-virtual-screen-reader-auditor`.
156
+
157
+ </details>
158
+
159
+ <details>
160
+ <summary>Warp</summary>
161
+
162
+ Go to `Settings` → `AI` → `Manage MCP Servers` → `+ Add`. Use the standard config above.
163
+
164
+ </details>
165
+
166
+ <details>
167
+ <summary>Gemini CLI</summary>
168
+
169
+ Follow the MCP install [guide](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md#configure-the-mcp-server-in-settingsjson). Use the standard config above.
170
+
171
+ </details>
172
+
173
+ ## WCAG criteria covered
174
+
175
+ | SC | Name | Tools |
176
+ | --- | --- | --- |
177
+ | 1.1.1 | Non-text Content | `virtual_item_text`, `virtual_last_spoken_phrase`, `log_finding` |
178
+ | 1.3.1 | Info and Relationships | `virtual_perform`, `virtual_item_text`, `log_finding` |
179
+ | 2.1.1 | Keyboard | `virtual_press`, `virtual_act`, `log_finding` |
180
+ | 2.1.2 | No Keyboard Trap | `virtual_press`, `virtual_next`, `log_finding` |
181
+ | 2.4.1 | Bypass Blocks | `virtual_perform`, `virtual_next`, `log_finding` |
182
+ | 2.4.2 | Page Titled | `virtual_item_text`, `virtual_last_spoken_phrase`, `log_finding` |
183
+ | 2.4.3 | Focus Order | `virtual_next`, `virtual_previous`, `log_finding` |
184
+ | 2.4.4 | Link Purpose (In Context) | `virtual_perform`, `virtual_item_text`, `log_finding` |
185
+ | 2.4.6 | Headings and Labels | `virtual_perform`, `virtual_item_text`, `log_finding` |
186
+ | 3.3.1 | Error Identification | `virtual_last_spoken_phrase`, `virtual_item_text`, `log_finding` |
187
+ | 3.3.2 | Labels or Instructions | `virtual_item_text`, `virtual_perform`, `log_finding` |
188
+ | 4.1.2 | Name, Role, Value | `virtual_last_spoken_phrase`, `virtual_item_text`, `log_finding` |
189
+
190
+ ## Acknowledgements
191
+
192
+ - **[W3C](https://www.w3.org/WAI/)** — for the [WCAG 2.2](https://www.w3.org/TR/WCAG22/) guidelines, [WAI-ARIA](https://www.w3.org/TR/wai-aria/) specification, and the [ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/). W3C content is used under the [W3C Software and Document License](https://www.w3.org/copyright/software-license/).
193
+ - **[a11ysupport.io](https://a11ysupport.io/)** — community-driven assistive-technology support data by Michael Fairchild, available under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
194
+
79
195
  ## License
80
196
 
81
197
  MIT - [weAAAre](https://weAAAre.com)
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ #!/usr/bin/env node
1
2
  export {};
2
3
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
2
3
  import { createServer } from './server.js';
3
4
  const main = async () => {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,IAAI,GAAG,KAAK,IAAmB,EAAE;IACrC,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAC9B,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,IAAI,GAAG,KAAK,IAAmB,EAAE;IACrC,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAC9B,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weaaare/mcp-virtual-screen-reader-auditor",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "MCP server for virtual screen reader accessibility auditing — headless browser-based screen reader simulation that works on any OS",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "@guidepup/virtual-screen-reader": "0.32.1",
17
17
  "@modelcontextprotocol/sdk": "1.27.1",
18
18
  "playwright-core": "1.58.2",
19
- "@weaaare/mcp-auditor-core": "^0.0.2"
19
+ "@weaaare/mcp-auditor-core": "^0.0.3"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@biomejs/biome": "2.4.6",
@@ -36,12 +36,12 @@
36
36
  ],
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "git+https://github.com/weAAAre/accessibility-ai.git",
39
+ "url": "git+https://github.com/weAAAre/a11y-agents-kit.git",
40
40
  "directory": "packages/mcp-virtual-screen-reader-auditor"
41
41
  },
42
- "homepage": "https://github.com/weAAAre/accessibility-ai/tree/main/packages/mcp-virtual-screen-reader-auditor#readme",
42
+ "homepage": "https://github.com/weAAAre/a11y-agents-kit/tree/main/packages/mcp-virtual-screen-reader-auditor#readme",
43
43
  "bugs": {
44
- "url": "https://github.com/weAAAre/accessibility-ai/issues"
44
+ "url": "https://github.com/weAAAre/a11y-agents-kit/issues"
45
45
  },
46
46
  "author": "weAAAre <hola@weAAAre.com> (https://weAAAre.com)",
47
47
  "engines": {