You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Accessibility Scan Tools with Enhanced Progress Updates and Local Report Download (#41)
* feat: refactor accessibility tools with new scanner and report fetcher implementations
* fix: update progress token handling in AccessibilityScanner notifications
* fix: handle missing progress token in accessibility scan notifications
* fix: remove outdated file reference in accessibility tool
* fix: update @modelcontextprotocol/sdk to version 1.11.4 and improve error handling in tests
* feat: add csv-parse dependency and implement accessibility report parsing functionality
* fix: update pageURL parameter type to Array<string> for accessibility scan function
* fix: remove total issues and next page information from scan results message
* fix: change pageURL parameter type from Array<string> to string for accessibility scan function
* fix: simplify pageURL parameter definition in accessibility scan function
* fix: enhance progress reporting in waitUntilComplete method
text: `❌ Accessibility scan "${name}" failed with status: ${status} , check the BrowserStack dashboard for more details [https://scanner.browserstack.com/site-scanner/scan-details/${name}].`,
const{ records }=awaitparseAccessibilityReportFromCSV(reportLink);
52
+
27
53
return{
28
54
content: [
29
55
{
30
56
type: "text",
31
-
text: `Successfully queued accessibility scan, you will get a report via email within 5 minutes.`,
57
+
text: `✅ Accessibility scan "${name}" completed. check the BrowserStack dashboard for more details [https://scanner.browserstack.com/site-scanner/scan-details/${name}].`,
@@ -56,7 +86,9 @@ export default function addAccessibilityTools(server: McpServer) {
56
86
content: [
57
87
{
58
88
type: "text",
59
-
text: `Failed to start accessibility scan: ${errorinstanceofError ? error.message : "Unknown error"}. Please open an issue on GitHub if the problem persists`,
0 commit comments