{"at":"2026-11-23T06:05:15.185Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T06:05:15.751Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T06:05:15.902Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T06:05:16.517Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"instructions":"A11yScope checks web pages against the automatically testable parts of WCAG 2.2 Level AA (31 checks: text alternatives, contrast, structure, keyboard/pointer/ARIA). Use scan_page for a URL or a file on disk, scan_html for markup you just generated, list_rules to see what is checked. Fix violations; treat review items as questions for a human. Each rule reports `status` (failed, review, passed, inapplicable) and `checked`, the number of elements it looked at: a rule with checked 0 had nothing to test, so a clean re-scan after deleting the offending elements is not a fix. `excluded` is how many of those elements the rule skipped as hidden (aria-hidden, display:none) or decorative (role=presentation); if excluded rose while violations fell, the elements were hidden, not fixed. Compare `checked` and `excluded` before and after, and treat a rise in excluded as a question for a human. Automated checks find roughly a third of accessibility barriers. A clean result is a good sign, not a conformance claim; items marked review need a human decision.","protocolVersion":"2025-11-25","serverInfo":{"name":"a11yscope","version":"0.3.0"}}}}
{"at":"2026-11-23T06:05:16.517Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T06:05:16.517Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T06:05:16.521Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Loads a URL (http/https) or a local HTML file path in headless Chrome, runs the A11yScope engine, and returns violations grouped by rule with CSS selectors and HTML snippets. Needs the page to be reachable from this machine.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"include_passed":{"default":false,"description":"Also list rules with zero findings, each with status passed or inapplicable and its checked count.","type":"boolean"},"include_review":{"default":false,"description":"Also return items that need a human decision (not failures).","type":"boolean"},"max_findings_per_rule":{"default":25,"description":"Cap on findings returned per rule.","maximum":200,"minimum":1,"type":"integer"},"url":{"description":"http(s) URL, file:// URL, or a path to an HTML file (relative to the server's working directory).","type":"string"},"viewport_height":{"default":900,"maximum":2160,"minimum":320,"type":"integer"},"viewport_width":{"default":1366,"maximum":3840,"minimum":320,"type":"integer"},"wait_ms":{"default":0,"description":"Extra time to wait after load, for pages that render late.","maximum":15000,"minimum":0,"type":"integer"}},"required":["url"],"type":"object"},"name":"scan_page","title":"Scan a page for WCAG 2.2 AA issues"},{"description":"Renders the given HTML in headless Chrome and scans it. Use this for markup you generated or are about to write. Pass base_url when the HTML references relative stylesheets or images that live on a server you can reach; otherwise inline the CSS, since contrast checks depend on computed styles.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"base_url":{"description":"Origin to resolve relative URLs against; the HTML is served at this address.","format":"uri","type":"string"},"html":{"description":"A complete HTML document or a fragment.","maxLength":5000000,"minLength":1,"type":"string"},"include_passed":{"default":false,"description":"Also list rules with zero findings, each with status passed or inapplicable and its checked count.","type":"boolean"},"include_review":{"default":false,"description":"Also return items that need a human decision (not failures).","type":"boolean"},"max_findings_per_rule":{"default":25,"description":"Cap on findings returned per rule.","maximum":200,"minimum":1,"type":"integer"},"viewport_height":{"default":900,"maximum":2160,"minimum":320,"type":"integer"},"viewport_width":{"default":1366,"maximum":3840,"minimum":320,"type":"integer"}},"required":["html"],"type":"object"},"name":"scan_html","title":"Scan an HTML string for WCAG 2.2 AA issues"},{"description":"The 31 checks A11yScope runs, each with its WCAG 2.2 success criteria, level, impact, and how to fix it.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_rules","title":"List the accessibility checks"}]}}}
