# How to connect Shopify MCP with VS Code

```json
{
  "title": "How to connect Shopify MCP with VS Code",
  "toolkit": "Shopify",
  "toolkit_slug": "shopify",
  "framework": "VS Code",
  "framework_slug": "vscode",
  "url": "https://composio.dev/toolkits/shopify/framework/vscode",
  "markdown_url": "https://composio.dev/toolkits/shopify/framework/vscode.md",
  "updated_at": "2026-05-06T08:28:13.467Z"
}
```

## Introduction

### How to connect Shopify MCP with VS Code
VS Code is the most popular code editor out there. With its recent AI makeover, it can do more than just help you write code. You can connect your applications to it and let LLMs automate many of the mundane tasks in your workflow.
In this guide, I will explain how to connect Shopify with VS Code in the most secure and robust way possible via Composio.

## Also integrate Shopify with

- [ChatGPT](https://composio.dev/toolkits/shopify/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/shopify/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/shopify/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/shopify/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/shopify/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/shopify/framework/codex)
- [Cursor](https://composio.dev/toolkits/shopify/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/shopify/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/shopify/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/shopify/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/shopify/framework/cli)
- [Google ADK](https://composio.dev/toolkits/shopify/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/shopify/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/shopify/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/shopify/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/shopify/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/shopify/framework/crew-ai)

## TL;DR

### Why use Composio?
Composio provides:
- Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
- Programmatic tool calling. Allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
- Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

## Connect Shopify to VS Code

### Integrate Shopify MCP with VS Code
### 1. Install with one click
Click the button below to add Composio to VS Code. You will be prompted to authorize. This requires VS Code 1.99+ with GitHub Copilot.
[+Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22composio%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fconnect.composio.dev%2Fmcp%22%7D)
### 2. Or add manually
Open or create .vscode/mcp.json in your project root and add the following configuration:

```bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}
```

## What is the Shopify MCP server, and what's possible with it?

The Shopify MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Shopify account. It provides structured and secure access to your store, so your agent can perform actions like managing products, processing orders, handling collections, organizing images, and managing customers on your behalf.
- Product management and automation: Let your agent create new products, update existing listings, or delete products from your Shopify store quickly and accurately.
- Order creation and fulfillment: Direct your agent to generate new orders, associate them with customers, and streamline your sales process with minimal manual input.
- Collection organization: Ask your agent to create custom collections, add products to collections, or remove collections to keep your store categories organized and up to date.
- Product image handling: Have your agent add new images to products, count existing images for inventory tracking, or remove outdated images from your catalog.
- Customer management: Automate the creation of new customer records, making it easy to onboard shoppers and keep your CRM current without lifting a finger.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `SHOPIFY_ADD_PRODUCT_TO_COLLECTION` | Add product to custom collection | Adds a product to an existing *custom collection*, optionally specifying its `position` if the collection is manually sorted. |
| `SHOPIFY_COUNT_PRODUCT_IMAGES` | Count product images | Retrieves the total count of images for a shopify product, useful for inventory management or display logic; the provided `product id` must exist in the store. |
| `SHOPIFY_CREATE_CUSTOM_COLLECTION` | Create a custom collection | Creates a new custom collection in a shopify store, requiring a unique title for manually curated product groupings (e.g., 'new arrivals', 'seasonal specials'). |
| `SHOPIFY_CREATE_CUSTOMER` | Create Customer | Tool to create a new customer in shopify. use when you need to add a new customer record to the store. |
| `SHOPIFY_CREATE_ORDER` | Create an order | Creates a new order in shopify, typically requiring line items; if `customer id` is provided, it must correspond to an existing customer. |
| `SHOPIFY_CREATE_PRODUCT` | Create a product | Creates a new product in a shopify store; a product title is generally required. |
| `SHOPIFY_CREATE_PRODUCT_IMAGE` | Create Product Image | Tool to create a new product image for a given product. use when you need to add an image to a product by providing the image source url or attachment. |
| `SHOPIFY_DELETE_CUSTOM_COLLECTION` | Delete custom collection | Permanently deletes a custom collection from a shopify store using its `collection id`; this action is irreversible and requires a valid, existing `collection id`. |
| `SHOPIFY_DELETE_PRODUCT` | Delete a product | Deletes a specific, existing product from a shopify store using its unique product id; this action is irreversible. |
| `SHOPIFY_DELETE_PRODUCT_IMAGE` | Delete product image | Deletes a specific image from a product in shopify, requiring the `product id` of an existing product and the `image id` of an image currently associated with that product. |
| `SHOPIFY_GET_ALL_CUSTOMERS` | Get All Customers | Retrieves customer records from a shopify store, with options for filtering, selecting specific fields, and paginating through the results. |
| `SHOPIFY_GET_COLLECTION_BY_ID` | Get collection by ID | Retrieves a specific shopify collection by its `collection id`, optionally filtering returned data to specified `fields`. |
| `SHOPIFY_GET_COLLECTS` | Get collects | Retrieves a list of collects from a shopify store, where a collect links a product to a custom collection. |
| `SHOPIFY_GET_COLLECTS_COUNT` | Get collects count | Retrieves the total count of collects (product-to-collection associations) in a shopify store. |
| `SHOPIFY_GET_CUSTOM_COLLECTIONS` | Get custom collections | Retrieves a list of custom collections from a shopify store, optionally filtered by ids, product id, or handle. |
| `SHOPIFY_GET_CUSTOM_COLLECTIONS_COUNT` | Get custom collections count | Retrieves the total number of custom collections in a shopify store. |
| `SHOPIFY_GET_CUSTOMER` | Get Customer | Retrieves detailed information for a specific customer from a shopify store, provided their valid and existing `customer id`. |
| `SHOPIFY_GET_CUSTOMER_ORDERS` | Get customer orders | Retrieves all orders for a specific, existing customer in shopify using their unique customer id. |
| `SHOPIFY_GET_ORDER_LIST` | Get order list | Retrieves a list of orders from shopify using default api settings and filters. |
| `SHOPIFY_GET_ORDERSBY_ID` | Get order by id | Retrieves a specific shopify order by its unique id, which must correspond to an existing order. |
| `SHOPIFY_GET_PRODUCT` | Get product | Retrieves details for an existing shopify product using its unique product id. |
| `SHOPIFY_GET_PRODUCT_IMAGE` | Get product image | Retrieves detailed information for a specific product image, identified by its id and its associated product id, from a shopify store. |
| `SHOPIFY_GET_PRODUCT_IMAGES` | Get Product Images | Retrieves all images for a shopify product, specified by its `product id` which must correspond to an existing product. |
| `SHOPIFY_GET_PRODUCTS` | Get products | Retrieves a list of products from a shopify store. |
| `SHOPIFY_GET_PRODUCTS_COUNT` | Get products count | Retrieves the total, unfiltered count of all products in a shopify store. |
| `SHOPIFY_GET_PRODUCTS_IN_COLLECTION` | Get products in collection | Retrieves all products within a specified shopify collection, requiring a valid `collection id`. |
| `SHOPIFY_GET_SHOP_DETAILS` | Get Shop Details | Retrieves comprehensive administrative information about the authenticated shopify store, as defined by the shopify api. |
| `SHOPIFY_UPDATE_ORDER` | Update Order | Updates the phone number for an existing shopify order, identified by its id; pass `phone=none` to remove the current phone number. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, VS Code can access the Shopify MCP server via Composio to run the app actions you authorize, directly from your coding workflow.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Shopify is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
- Connect HubSpot or Salesforce to log customer context, update records, and draft follow-ups.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

## How to build Shopify MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/shopify/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/shopify/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/shopify/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/shopify/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/shopify/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/shopify/framework/codex)
- [Cursor](https://composio.dev/toolkits/shopify/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/shopify/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/shopify/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/shopify/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/shopify/framework/cli)
- [Google ADK](https://composio.dev/toolkits/shopify/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/shopify/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/shopify/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/shopify/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/shopify/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/shopify/framework/crew-ai)

## Related Toolkits

- [Addresszen](https://composio.dev/toolkits/addresszen) - Addresszen is a real-time address autocomplete and verification service. It helps capture accurate, deliverable addresses with instant suggestions and validation.
- [Asin data api](https://composio.dev/toolkits/asin_data_api) - Asin data api gives you detailed, real-time product data from Amazon, including price, rank, and reviews. Perfect for e-commerce pros and data-driven marketers who need instant marketplace insights.
- [Baselinker](https://composio.dev/toolkits/baselinker) - BaseLinker is an all-in-one e-commerce management platform connecting stores, marketplaces, carriers, and more. It streamlines order processing, inventory control, and automates your sales operations.
- [Bestbuy](https://composio.dev/toolkits/bestbuy) - Best Buy is a leading retailer offering APIs for product, store, and recommendation data. Instantly access up-to-date retail insights for smarter shopping and decision-making.
- [Btcpay server](https://composio.dev/toolkits/btcpay_server) - BTCPay Server is a free, open-source, self-hosted Bitcoin payment processor. It lets merchants accept Bitcoin payments directly, cutting out middlemen and boosting privacy.
- [Cdr platform](https://composio.dev/toolkits/cdr_platform) - Cdr platform is an API for purchasing carbon dioxide removal services. It enables businesses to offset emissions by accessing verified carbon removal projects.
- [Cloudcart](https://composio.dev/toolkits/cloudcart) - CloudCart is an e-commerce platform for building and managing online stores. It helps businesses streamline product listings, orders, and customer engagement.
- [Countdown api](https://composio.dev/toolkits/countdown_api) - Countdown API gives you real-time, structured eBay product data, reviews, and seller feedback. Perfect for powering price monitoring, product research, or marketplace analytics workflows.
- [Dpd2](https://composio.dev/toolkits/dpd2) - Dpd2 is a robust email management platform for handling, sorting, and automating email workflows. Streamline your communications and boost productivity with advanced sorting, labeling, and response tools.
- [Finerworks](https://composio.dev/toolkits/finerworks) - FinerWorks is an online platform for fine art and photo printing services. Artists and photographers use it to order custom prints and manage print inventory efficiently.
- [Fingertip](https://composio.dev/toolkits/fingertip) - Fingertip is a business management platform for selling, booking, and customer engagement—all from a single link. It helps businesses streamline operations and connect with customers across social channels.
- [Fraudlabs pro](https://composio.dev/toolkits/fraudlabs_pro) - FraudLabs Pro is an online payment fraud detection service for e-commerce and merchants. It helps minimize chargebacks and revenue loss by detecting and preventing fraudulent transactions.
- [Gift up](https://composio.dev/toolkits/gift_up) - Gift Up! is a digital platform for selling, managing, and redeeming gift cards online. It streamlines promotions and gift card transactions for businesses and their customers.
- [Goody](https://composio.dev/toolkits/goody) - Goody is a gifting platform that lets users send gifts and physical products without handling logistics. It streamlines gifting by managing delivery, fulfillment, and recipient experience.
- [Gumroad](https://composio.dev/toolkits/gumroad) - Gumroad is a platform for selling digital products, physical goods, and memberships with a simple checkout and marketing tools. It streamlines creator payouts and helps you grow your audience effortlessly.
- [Instacart](https://composio.dev/toolkits/instacart) - Instacart is an online grocery delivery and pickup service platform. It lets you discover local retailers and create shoppable lists and recipes with ease.
- [Junglescout](https://composio.dev/toolkits/junglescout) - Junglescout is an Amazon product research and analytics platform for sellers. It delivers sales estimates, competitive insights, and optimization tools to boost your Amazon business.
- [Ko fi](https://composio.dev/toolkits/ko_fi) - Ko-fi is a platform that lets creators receive donations, memberships, and sales from fans. It helps creators monetize their work and grow their audience with minimal friction.
- [Lemon squeezy](https://composio.dev/toolkits/lemon_squeezy) - Lemon Squeezy is a payments and subscription platform built for software companies. It makes managing payments, taxes, and customer subscriptions effortless.
- [Loyverse](https://composio.dev/toolkits/loyverse) - Loyverse is a point-of-sale (POS) platform for small businesses, offering tools for sales, inventory, and customer loyalty. It helps streamline retail operations and boost customer engagement.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Shopify MCP?

With a standalone Shopify MCP server, the agents and LLMs can only access a fixed set of Shopify tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Shopify and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with VS Code?

Yes, you can. VS Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Shopify tools.

### Can I manage the permissions and scopes for Shopify while using Tool Router?

Yes, absolutely. You can configure which Shopify scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Shopify data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
