Use Polaris with the Shopify dev MCP server
Learn how to enable Polaris tooling in the Shopify dev MCP server to accelerate app development.
Anchor to RequirementsRequirements
- You must have node version 20 or higher installed.
- You need a LLM-enabled development environment that's capable of integrating with Model Context Protocol (MCP) servers.
Anchor to Run the MCP serverRun the MCP server
Run the following command to start the Shopify dev MCP server:
Terminal
npx -y @shopify/dev-mcp@latest
Anchor to MCP configurationMCP configuration
You can add the npx -y @shopify/dev-mcp@latest command for different dev environments to add the MCP integration:
File
{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": ["-y", "@shopify/dev-mcp@latest"]
}
}
}
After configuring your tooling, be sure to tell your agent to use available tools that help you build with Polaris web components across all supported surfaces.
Anchor to Next stepsNext steps
Learn about the various surfaces where you can use Polaris web components:
- App home
- Admin UI extensions
- Checkout UI extensions
- Customer Account UI extensions
- POS UI extensions
Was this page helpful?