Developing Features for the PWA Kit MCP Server

If you're developing features for the PWA Kit MCP server and want to get immediate feedback during testing, follow these steps.

  1. Clone the pwa-kit GitHub repository.
  2. Update your Cursor IDE MCP server configuration so that you reference the local server. In Cursor Settings, in Tools & MCP, edit your pwa-kit entry to look like this entry.
  1. To ensure that your server is built and will rebuild whenever changes are made, run this command in the /pwa-kit-mcp folder.

The server logs to stderr and communicates using MCP via stdio. You can view these logs in the Output section (shift + command + U) and by filtering the output on MCP Logs.

This table provides an overview of PWA Kit MCP server files and folders in the /packages/pwa-kit-mcp folder of the cloned repository.

LocationDescription
package.jsonNode.js dependencies and project scripts
mcp.jsonMCP client configuration (used by Cursor or other IDEs)
src/server/Main server entry point (server.js)
src/tools/Contains all MCP tools like create-storefront-app, site-test, etc.
src/utils/Shared utility functions