Skip to content

Commit 1b68dca

Browse files
authored
Merge branch 'develop' into release-3.14.x
Signed-off-by: Jainam Sheth <99490559+shethj@users.noreply.github.com>
2 parents 990cdd2 + 9360fa5 commit 1b68dca

File tree

12 files changed

+19
-458
lines changed

12 files changed

+19
-458
lines changed

packages/pwa-kit-mcp/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## 0.5.0-dev (Oct 24, 2025)
2+
- Retired the pwakit_create_component tool [#3437](https://github.com/SalesforceCommerceCloud/pwa-kit/issues/3437)
23

34
## 0.4.0 (Oct 24, 2025)
45
- Unexposed the extra parameters on create_page tool. [#3359] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3359), [#3379] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3379)

packages/pwa-kit-mcp/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It allows AI agents to query context-aware services like this server to help dev
1414

1515
## What is PWA-Kit-MCP?
1616

17-
PWA-Kit-MCP is a local STDIO MCP Server that communicates via STDIO and operates in conjunction with a running local process, making it a fully locally installed MCP server. It provides an initial suite of MCP tools intended to standardize and optimize the developer workflow for PWA Kit storefront development. These tools facilitate project creation, supply development guidelines, enable the generation of new components and pages, and support site validation through performance and accessibility testing.
17+
PWA-Kit-MCP is a local STDIO MCP Server that communicates via STDIO and operates in conjunction with a running local process, making it a fully locally installed MCP server. It provides an initial suite of MCP tools intended to standardize and optimize the developer workflow for PWA Kit storefront development. These tools facilitate project creation, supply development guidelines, enable the generation of new pages, and support site validation through performance and accessibility testing.
1818

1919
_NOTE: Cursor provides multiple LLMs for your use. These PWA Kit MCP tools were tested with the Claude 4 Sonnet LLM_
2020

@@ -29,9 +29,6 @@ The PWA Kit MCP Server offers the following intelligent tools tailored to Salesf
2929
* **`pwakit_create_storefront`**:
3030
Guides agents and developers through creating a new PWA Kit project with `@salesforce/pwa-kit-create-app`.
3131

32-
* **`pwakit_create_component`**:
33-
Walks developers through a brief Q\&A to scaffold a component using the commerce data model, layout, and structure.
34-
3532
* **`pwakit_create_page`**:
3633
Interactive tool to generate a new PWA storefront page with custom routing and components.
3734

@@ -189,7 +186,7 @@ Then send JSON-RPC requests like:
189186

190187
```json
191188
{"jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {}}
192-
{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "create_sample_component", "arguments": {}}}
189+
{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "pwakit_get_dev_guidelines", "arguments": {}}}
193190
```
194191

195192
---

packages/pwa-kit-mcp/src/data/ai-instructions/cursor/pwa-kit-mcp.mdc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ Use these tools only when the user’s prompt clearly matches a tool’s purpose
1010
## Tools
1111
- `pwakit_get_dev_guidelines`
1212
- `pwakit_create_storefront`
13-
- `pwakit_create_component`
1413
- `pwakit_create_page`
1514
- `pwakit_run_site_test`
1615

1716
## Mandatory usage (when applicable)
1817
- Storefront dev tasks (analyze, generate, refactor, modify, fix) → `pwakit_get_dev_guidelines` first, then:
19-
- Components → `pwakit_create_component`
2018
- Pages → `pwakit_create_page`
2119
- Site or app performance or accessibility checks → `pwakit_run_site_test`.
2220

packages/pwa-kit-mcp/src/data/ai-instructions/generic/AGENTS.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ Use these tools only when the user’s prompt clearly matches a tool’s purpose
55
## Tools
66
- `pwakit_get_dev_guidelines`
77
- `pwakit_create_storefront`
8-
- `pwakit_create_component`
98
- `pwakit_create_page`
109
- `pwakit_run_site_test`
1110

1211
## Mandatory usage (when applicable)
1312
- Storefront dev tasks (analyze, generate, refactor, modify, fix) → `pwakit_get_dev_guidelines` first, then:
14-
- Components → `pwakit_create_component`
1513
- Pages → `pwakit_create_page`
1614
- Site or app performance or accessibility checks → `pwakit_run_site_test`.
1715

packages/pwa-kit-mcp/src/server/server.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {StdioServerTransport} from '@modelcontextprotocol/sdk/server/stdio.js'
1010
import {z} from 'zod'
1111
import {
1212
CreateAppGuidelinesTool,
13-
CreateNewComponentTool,
1413
DeveloperGuidelinesTool,
1514
TestWithPlaywrightTool,
1615
CreateNewPageTool,
@@ -68,7 +67,6 @@ class PwaStorefrontMCPServerHighLevel {
6867
return _origTool(name, description, inputSchema, wrappedHandler)
6968
}
7069

71-
this.createNewComponentTool = new CreateNewComponentTool()
7270
this.createAppGuidelinesTool = new CreateAppGuidelinesTool()
7371
this.testWithPlaywrightTool = new TestWithPlaywrightTool()
7472
this.exploreCommerceAPITool = new ExploreCommerceAPITool()
@@ -105,12 +103,6 @@ class PwaStorefrontMCPServerHighLevel {
105103
InstallAgentRulesTool.inputSchema,
106104
InstallAgentRulesTool.fn
107105
)
108-
this.server.tool(
109-
this.createNewComponentTool.name,
110-
this.createNewComponentTool.description,
111-
this.createNewComponentTool.inputSchema,
112-
this.createNewComponentTool.handler
113-
)
114106
this.server.tool(
115107
CreateNewPageTool.name,
116108
CreateNewPageTool.description,

0 commit comments

Comments
 (0)