IntegrateIntegrate
Integrations

Shopify Integration

Route-complete Shopify Admin access through GraphQL and REST tools

The Shopify integration provides access to route-complete Shopify Admin access through GraphQL and REST tools through the Integrate MCP server.

Installation

The Shopify integration is included with the SDK:

import { shopifyIntegration } from "integrate-sdk/server";

Setup

1. Create a Shopify OAuth App

  1. Go to Shopify Developer Portal
  2. Create a new OAuth application
  3. Configure your redirect URI
  4. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Shopify integration to your server configuration. The integration automatically reads SHOPIFY_CLIENT_ID and SHOPIFY_CLIENT_SECRET from your environment variables:

import { createMCPServer, shopifyIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    shopifyIntegration({
      scopes: ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_content", "write_content", "read_fulfillments", "write_fulfillments", "read_analytics"], // Optional
    }),
  ],
});

You can override the environment variables by passing explicit values:

shopifyIntegration({
  clientId: process.env.CUSTOM_SHOPIFY_ID,
  clientSecret: process.env.CUSTOM_SHOPIFY_SECRET,
      scopes: ["read_products", "write_products", "read_orders", "write_orders", "read_customers", "write_customers", "read_inventory", "write_inventory", "read_content", "write_content", "read_fulfillments", "write_fulfillments", "read_analytics"], // Optional
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";

await client.authorize("shopify");
const result = await client.shopify.adminGraphql({
  query: "value",
});

console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, shopifyIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [shopifyIntegration()],
});

Configuration Options

Prop

Type

Default Scopes

These defaults are applied unless you override scopes in the integration config:

  • read_products
  • write_products
  • read_orders
  • write_orders
  • read_customers
  • write_customers
  • read_inventory
  • write_inventory
  • read_content
  • write_content
  • read_fulfillments
  • write_fulfillments
  • read_analytics

Tools

shopify_admin_graphql

Admin graphql

Prop

Type

shopify_rest_get

Rest get

Prop

Type

shopify_rest_post

Rest post

Prop

Type

shopify_rest_put

Rest put

Prop

Type

shopify_rest_delete

Rest delete

Prop

Type

shopify_get_shop

Get shop

Prop

Type

Notes

  • Category: Commerce
  • Authentication mode: OAuth

On this page