Search Results :

×

How to Connect VS Code to Your Shopify Store Using MCP

SecureMCP for Claude & ChatGPT lets you connect AI assistants such as ChatGPT, Claude, Cursor, VS Code, Microsoft Copilot, Google Gemini, and Perplexity to your Shopify store through a secure Shopify MCP (Model Context Protocol) server. This guide shows you how to add the Shopify MCP server to Visual Studio Code so that GitHub Copilot Chat can work with your store. You decide exactly what each AI agent is allowed to read or change using roles, choose which staff members can use each agent, and review every action the AI performs in the Activity log.

SecureMCP for Claude & ChatGPT

  • Install the SecureMCP for Claude & ChatGPT app on your Shopify store.
  • Log in to your Shopify admin as the store owner or as a staff member with permission to use the app.

VS Code

  • Visual Studio Code installed on your computer, updated to the latest version.
  • GitHub Copilot Chat enabled and signed in, so VS Code can use MCP servers in chat.
  • In your Shopify admin, go to Apps and open SecureMCP for Claude & ChatGPT.
  • SecureMCP for Claude and ChatGPT - Open the app from Shopify admin

  • A role is a reusable set of permissions that decides what a connected AI agent can read or change. On the Home page, under Get started, click Create role.
  • SecureMCP for Claude and ChatGPT - Create role

  • Enter the values by referring to the table below.
  • Role name Choose a name for the role, e.g. Ordering.
    Description Optional. A note to help you remember what the role is for.
    Permissions Select what the agent may do. Read lets it look, Write lets it make changes. Use Quick start (Read-only, Everything, Clear) to fill them faster.
    SecureMCP for Claude and ChatGPT - Enter role name and description

  • Select the permissions for this role (for example Read product, Read order and Read customer) and click Create role.
  • SecureMCP for Claude and ChatGPT - Select role permissions

  • The new role appears in the Roles list, alongside the built-in Store Admin role that has full access.
  • SecureMCP for Claude and ChatGPT - Roles list

  • On the Home page, click Add people.
  • SecureMCP for Claude and ChatGPT - Add people

  • Under Add a team member, enter the staff member's email and click Add person.
  • Note: Only add Shopify staff who already have permission to use this app. Adding someone here does not grant them Shopify access; if they are not set up in Shopify admin, they won't be able to connect.

    SecureMCP for Claude and ChatGPT - Add a team member

  • The team member is added to the Users list.
  • SecureMCP for Claude and ChatGPT - Users list

  • In the SecureMCP app, click Agents from the left menu.
  • SecureMCP for Claude and ChatGPT - Open Agents

  • On the Agents page, click Create agent.
  • SecureMCP for Claude and ChatGPT - Create agent

  • In Agent details, enter the values by referring to the table below and click Next: roles & people.
  • Agent name A name your team will recognise, e.g. VS Code AI.
    Description Optional. What the agent is used for.
    AI app ChatGPT, Claude, Claude Code, Codex or VS Code. This guide uses VS Code. The AI app can't be changed after the agent is created.
    Shopify MCP server for VS Code - Create agent details

  • In Roles & people, choose a role for each person who should use this agent (for example Store Admin).
  • Shopify MCP server for VS Code - Assign roles to people

  • If someone is missing from the list, enter their email under Someone missing from the list? and click Add person. Then click Create agent.
  • Shopify MCP server for VS Code - Add person and create agent

  • Your agent is ready. Click How to connect to open the step-by-step connection guide for VS Code.
  • Shopify MCP server for VS Code - Agent ready, how to connect

  • In Connect VS Code AI > Add the connector, click Copy to copy the MCP server URL shown under Paste the link. You will paste this URL into the Enter Server URL box in Step 6 to add the Shopify MCP server to VS Code.
  • Shopify MCP server for VS Code - Copy MCP server URL

  • Open VS Code and press Ctrl + Shift + P on Windows (Cmd + Shift + P on Mac) to open the command box. Type MCP: Add Server and press Enter.
  • Shopify MCP server for VS Code - MCP: Add Server command

  • When asked for the server type, choose HTTP (HTTP or Server-Sent Events).
  • Paste the MCP server URL you copied in Step 5 into Enter Server URL and press Enter.
  • Shopify MCP server for VS Code - Enter server URL

  • In Enter Server ID, type securemcp and press Enter.
  • Shopify MCP server for VS Code - Enter server ID

  • Choose where to save the server. Select the global configuration (for example Copilot Global) so the Shopify MCP server works in every VS Code window you open.
  • Note: A settings file may open after you save. You can close it; no changes are needed.

    Shopify MCP server for VS Code - Select global configuration

  • Press Ctrl + Shift + P (Cmd + Shift + P on Mac) again, type MCP: List Servers and press Enter.
  • Shopify MCP server for VS Code - MCP: List Servers command

  • Select the securemcp server from the list. Its status shows as Stopped.
  • Shopify MCP server for VS Code - Select securemcp server

  • Click Start Server.
  • Shopify MCP server for VS Code - Start server

  • VS Code asks whether the securemcp server can authenticate. Click Allow.
  • Shopify MCP server for VS Code - Allow authentication

  • Your browser opens. Sign in with your Shopify account and, from the store list, select the store where the SecureMCP app is installed. Once the sign-in completes, you can close the browser tab.
  • Return to VS Code. In the Chat panel, open Customizations and click MCP Servers. The securemcp server is listed under User; make sure its toggle is turned on.
  • Shopify MCP server for VS Code - securemcp server enabled

  • Open Chat in VS Code and prompt it to perform a store action, for example to create a test customer. When VS Code asks for permission to run the tool, review the action and allow it.
  • Shopify MCP server for VS Code - Test connection in VS Code chat

  • Go to Shopify admin > Customers to verify that the new customer is listed.
  • Shopify MCP server for VS Code - Verify customers in Shopify

  • In the SecureMCP app, open Activity to see what your AI agents did on your store, who they did it for, the record affected and the outcome. Filter by agent, outcome, action or date, or tick Problems only.
  • Shopify MCP server for VS Code - Activity log



You've successfully set up the Shopify MCP server for VS Code using SecureMCP for Claude & ChatGPT. Your AI agent can now work on your store from VS Code within the permissions you set, and every action is recorded in the Activity log.

SecureMCP gives you full control over how AI assistants access your Shopify store, with role-based permissions, per-person access, approval prompts and a complete activity log. You can use the same SecureMCP setup for other AI apps; only the agent and connector steps differ for each app.



 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again


By clicking Submit, you agree to our Privacy Policy.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support