PlugWiki

PWA Kit MCP, Salesforce's server for PWA Kit storefronts

Official · by SalesforceLocal
Getnpm@salesforce/pwa-kit-mcp

Helps your AI assistant build Salesforce Commerce Cloud PWA Kit storefronts, from new projects and pages to site tests.

This is Salesforce's server for developers building PWA Kit storefronts on Commerce Cloud. It gives your assistant PWA Kit coding guidelines, hook suggestions and shop API docs, and it can add pages and test a site. It runs on your machine and Salesforce calls it a developer preview, so commands may change or be removed. The README lists Cursor as the supported client and says it was tested with Claude 4 Sonnet.

Good for

  • Commerce Cloud developers building storefronts with PWA Kit
  • Teams new to PWA Kit who want the assistant to follow its best practices
  • Developers who need a quick performance and accessibility check on a storefront

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install @salesforce/pwa-kit MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the @salesforce/pwa-kit MCP server to Claude Code. Run this command:
    
    claude mcp add pwa-kit -e PWA_STOREFRONT_APP_PATH=<PWA_STOREFRONT_APP_PATH> -- npx -y @salesforce/pwa-kit-mcp
    
    Ask me for PWA_STOREFRONT_APP_PATH and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Built from the package data we hold. Not yet tested by us.

Tools

  • Gives best practices for building PWA Kit storefronts

    Returns development guidelines the assistant should follow before it writes or changes storefront code.

    Try: “Get the PWA Kit guidelines before we change the product page.”

    Read · pwakit_get_dev_guidelines

  • Guides you through starting a new PWA Kit project

    Guides the assistant and you through creating a new project with the PWA Kit create-app tool.

    Try: “Create a new PWA Kit storefront called my-store.”

    Read · pwakit_create_storefront

  • Generates a new storefront page with its route and components

    Interactively builds a new page with custom routing and components in your project.

    Try: “Add a new About Us page at /about to my storefront.”

    Write · pwakit_create_page

  • Suggests the right hooks for what you want to build

    Helps find and wire in the hooks that solve a specific storefront use case.

    Try: “Which hooks should I use to show recently viewed products?”

    Read · pwakit_recommend_hooks

  • Explains Salesforce Commerce shop API endpoints

    Documents the out-of-the-box shop API endpoints, their parameters and usage examples.

    Try: “How do I get a product with the shop API?”

    Read · pwakit_explore_scapi_shop_api

  • Finds your custom APIs and their schemas

    Looks up custom APIs registered on your Commerce Cloud instance and fetches their schemas. Falls back to local api.json and schema.yaml files without credentials.

    Try: “List the custom APIs on my instance and show the reviews endpoint.”

    Files · scapi_custom_api_discovery

  • Runs performance and accessibility checks on a site URL

    Audits a site address for performance and accessibility problems.

    Try: “Run a performance and accessibility test on my staging storefront.”

    Network · pwakit_run_site_test

  • Adds an agent rules file to your project

    Writes a rules file into your project that helps the assistant use this server well.

    Try: “Install the Agent MCP Tool Usage Guidelines.”

    Write · pwakit_install_agent_rules

Read from the source code

Permissions

medium risk · 4 things to watch

Medium risk

The assistant can create pages and write a rules file inside your storefront project. Work in a git branch so you can review and undo what it adds.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It writes files into your project

    Adding a page or installing the rules file changes files in your storefront folder. Commit first so you can review the diff. npmjs.com

  • Commerce Cloud credentials are optional

    Only custom API discovery needs them. Keep the client secret in dw.json or env values outside git, and without them the tool searches local files instead. npmjs.com

  • Developer preview

    Salesforce says commands and parameters may change or be removed at any time and advises against building on them. npmjs.com

  • Anonymous usage data is on by default

    It reports tool names, run times and success or error, not code, prompts or secrets. Add the no-telemetry flag to the args to turn it off. npmjs.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyNo read-only switch is documented.
Talks toYour Commerce Cloud instance (custom API discovery only). Site addresses you ask it to test. Salesforce (anonymous usage data, can be turned off)
Scopes
  • Commerce Cloud API client with the sfcc.custom-apis scope (only for custom API discovery)

Questions

Does it work in Claude or only Cursor?

The README supports Cursor only. It talks over standard input and output, so other tools that can launch such servers may work, but Salesforce does not document them.

Do I need Commerce Cloud credentials?

No. Only the custom API tool uses them. Without credentials it looks for local api.json and schema.yaml files in your project instead.

What is the app folder path it asks for?

It is the absolute path to the app subfolder of your generated storefront project. The server uses it to find your project and your dw.json file.

Is it production ready?

No. Salesforce labels it a developer preview and says it may change or be withdrawn at any time.

Does it send my code anywhere?

The README says usage data covers tool names, run times and success or error, and not source code, prompts or secrets. Add the no-telemetry flag to turn it off.

How do I add it to Cursor?

Use the Cursor tab in the install box above, then set the app folder path in the env values.

Information

updated Nov 2, 2026

Publisher
Salesforce (official)
Package
@salesforce/pwa-kit-mcp
Registry
npm
Transport
stdio
Auth
None
Version
0.5.0
License
ISC

npm

Other Salesforce MCP servers

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 1
  1. @salesforce/pwa-kit-mcp on npm · npmjs.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.