Skip to content

Commit 0b671bc

Browse files
@W-19251796 MCP a11y performance tool format fix (#3003)
1 parent a473997 commit 0b671bc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

packages/pwa-kit-mcp/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
- Add `create_app_guidelines` MCP tool. [#2599](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2599)
66
- Add `run_site_test` MCP tool [#2645](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2645):
77
- Add `create_sample_storefront_page` MCP tool [#2899] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2899)
8-
- fix `logMCPMessage` and add a test for this debugging util. [#2989] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2989)
8+
- fix `logMCPMessage` and add a test for this debugging util. [#2989] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2989)
9+
- fix `run_site_test` accessibility tool response format. [#3003] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3003)

packages/pwa-kit-mcp/src/tools/site-test-accessibility.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,12 @@ export async function runAccessibilityTest(siteUrl) {
1818

1919
await browser.close()
2020

21-
return results
21+
return {
22+
content: [
23+
{
24+
type: 'text',
25+
text: JSON.stringify(results)
26+
}
27+
]
28+
}
2229
}

0 commit comments

Comments
 (0)