Skip to main content

Shopify Functions support in Dev Assistant and the shopify.dev MCP server

We've enhanced the Dev Assistant and the shopify.dev MCP server, adding support for Shopify Functions. Now, AI-powered assistance can help you build and optimize Functions code, streamline your development process, and accelerate your implementation. When you describe your desired outcome to the Dev Assistant, it can do the following things:

  • Suggest a Function API : Identify the most suitable Function API for your use case.
  • Generate code: For example, input queries, Function logic (in Rust), and the expected output.
  • Convert JavaScript to Rust: Convert existing JavaScript code to Rust, enhancing performance and lowering execution costs.

Together, these features simplify Shopify Functions development, making it more accessible to developers who are new to Rust or unfamiliar with the Function APIs.

To get started, simply describe your Functions-related goals to the Dev Assistant. Then, let it guide you through your implementation with relevant code examples and explanations.

This new functionality is available in the Dev Assistant on shopify.dev, or through the shopify.dev MCP server.

Was this section helpful?