Shopify Integration Using MCP

This tutorial explains how to connect a Shopify development store to Composio so you can automate products, orders, and customer workflows through Tiledesk or any MCP-based agent.

💡 Total time: 20–30 minutes Works with: any Shopify development store — you don’t need coding skills.

What you need first

  • A Shopify Partner Account – https://partners.shopify.com

  • A Development Store (for example: testttttadmin.myshopify.com)

  • A Composio workspace – https://platform.composio.dev

1

Create the Shopify App

  1. Go to https://partners.shopify.com and open your Partner Dashboard.

  2. In the left menu, click Apps → All apps → Visid Dev Dashboard → Create app.

  3. Choose Custom app (for your own store), then:

    • Give it a name, for example, Composio Integration.

    • Select your development store (e.g. testttttadmin.myshopify.com).

  4. Click Create app.

2

Create a Version and Set OAuth URLs

  1. In the Dev Dashboard sidebar, click Versions.

  2. Click Create version (or Create a new version if one exists).

Fill in these fields carefully:

Field
Value

App URL

https://backend.composio.dev/

Embed app in Shopify admin

✅ Checked

Redirect URLs

https://backend.composio.dev/api/v1/auth-apps/add

Webhooks API Version

Leave as default

Scroll down to Access → Select scopes and click it.

3

Select Permissions (Scopes)

At the top left, change All APIs → Admin API.

Then tick these scopes:

  • read_products, write_products

  • read_orders, write_orders

  • read_customers, write_customers

  • read_inventory, write_inventory

  • read_fulfillments, write_fulfillments

  • read_locations

👉 Optional (only if you plan to manage pricing or images):

  • read_price_rules, write_price_rules

  • read_files, write_files

Click Done, then Release (top-right corner).

✅ You’ve just created a valid app version.

4
  1. Go back to your Partner Dashboard → Apps → Choose your App → Choose distribution.

  2. Under Custom Distribution, enter your store domain, which in our exmaple is: testttttadmin.myshopify.com

  3. Click Generate link. Shopify will give you an install link that looks like:

https://admin.shopify.com/oauth/install_custom_app?client_id=xxxx

Copy it.

5

Install the App on Your Store

  1. Paste the install link in your browser.

  2. You’ll be redirected to your store’s admin view.

  3. Shopify will show what permissions your app requests.

  4. Click Install app.

✅ Once installed, the app appears in your store under Apps → Composio Integration.

You might see a blank screen or a warning image — that’s normal. The connection is purely backend, not a storefront app.

6

Get Client ID and Secret

  1. In your Dev Dashboard, click Settings in the sidebar.

  2. You’ll see your API key and Secret key:

    • API key → Client ID

    • Secret key → Client Secret

Keep both handy — you’ll need them for Composio.

7

Create the Shopify Auth Config in Composio

  1. Go to your Composio workspace → Auth Configs → Create Auth Config.

  2. Choose Shopify from the list.

  3. Set:

    • Authentication method: OAuth2

    • Use your own developer credentials:

    • Client ID: (paste from Shopify)

    • Client Secret: (paste from Shopify)

    • Redirect URI: leave as default (Composio auto-fills it)

    • Scopes: same as you used in Shopify (read_products, write_products, ...)

  4. Save → Connect Account.

Shopify will open again, asking for permission and the subdomain. Here, you should enter only the first part of your store name, which in our case is testttttadmin

After a few seconds, you should see the Connected Account appear in Composio.

8

Create the MCP Server

  1. Go to MCP Configs in Composio.

  2. Click Create MCP Server.

  3. Enter the subdomain.

  4. And finally, click on Create your MCP server to receive the URL of your MCP. Copy that URL.

If you see:

“Authentication Successful” followed by “Failed to connect account”

Don’t worry — refresh the page. The server usually appears correctly in the list.

9

Tiledesk Configuration (Easiest Part)

Now that your Shopify MCP server is ready, you just need to connect it inside Tiledesk.

  1. Open the Tiledesk Dashboard and launch your AI Agent in Design Studio.

  2. In your workflow, select an AI Action and choose AI Prompt.

  3. A panel will appear on the right side.

  4. In the Prompt field, enter the instruction you want the AI to follow.

  5. Scroll down and click Select MCP Tools.

  6. Choose Add MCP Server, give it a name, and paste the MCP URL you copied earlier.

  7. Save your changes.

That’s it — your Tiledesk AI Agent is now connected to your Shopify MCP server.

10

Testing

Let’s see how the AI Agent works. Based on the permissions you granted, it can perform actions such as reading and writing customers, products, checking inventory, and more. In this example, I simply asked it to show the available product.

Last updated