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.
- Clone the pwa-kit GitHub repository.
- Update your Cursor IDE MCP server configuration so that you reference the local server. In Cursor Settings, in Tools & MCP, edit your
pwa-kitentry to look like this entry.
- To ensure that your server is built and will rebuild whenever changes are made, run this command in the
/pwa-kit-mcpfolder.
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.
| Location | Description |
|---|---|
package.json | Node.js dependencies and project scripts |
mcp.json | MCP 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 |