A Model Context Protocol (MCP) server that provides tools and prompts for working with Shopify Polaris UI components. Version 1.0.0 enables AI assistants to search components, get detailed props and best practices, and retrieve code examples. It supports Node.js >=14.17.0 and is designed for Cursor or Claude Desktop integration. Key differentiators: specialized prompts for component implementation and layout design, and direct access to Polaris component data without manual documentation lookups.
npm install polaris-mcp-serverVerified import paths — ran on the pinned version, not inferred.
Configures the MCP client to use polaris-mcp-server and demonstrates calling the three available tools: search, details, examples.
Use the alternative Windows config: { command: 'cmd', args: ['/k', 'npx', '-y', 'polaris-mcp-server'] }Re-run 'npm run scrape' to update component data.
Re-generate the data by running the scraper script periodically.
Ensure npx fetches the package correctly; if using local install, run 'npm install @modelcontextprotocol/sdk'.
Kill the previous process or use a different transport (e.g., change port if using SSE).
Check server logs for startup errors. Ensure client configuration points to the correct server name.