MokenLogic

MCP Integration

Shopify Integration Guide

Connect MokenLogic to your Shopify store so your agent can query products, orders, customers, and inventory in natural language. You create a custom app in your Shopify admin with read-only scopes, then paste the access token into MokenLogic. The whole flow takes about 5 minutes.

Before you begin

  • A Shopify account with permission to develop apps for your store.
  • MokenLogic installed and initialized, with at least one agent created.

Steps

  1. Open Settings in your Shopify admin

    Sign in to your Shopify admin (admin.shopify.com), then click "Settings" in the bottom-left corner.

  2. Go to Apps and click "Develop apps"

    In the settings sidebar, select "Apps", then click "Develop apps" in the top-right corner.

  3. Create a legacy custom app

    On the App development page, click "Create legacy custom app".

    If you don't see this button, custom app development may need to be allowed first by the store owner.

  4. Name the app and create it

    In the dialog, enter an app name (e.g. MokenLogic), choose an app developer, then click "Create app".

  5. Configure the Admin API integration

    On the app page, open the "Configuration" tab and click "Configure" on the "Admin API integration" card.

  6. Select the read-only access scopes and save

    Under "Admin API access scopes", search for and check the following 7 read-only scopes one at a time (the search box doesn't accept multiple scopes at once), then click "Save": read_products, read_orders, read_customers, read_inventory, read_locations, read_draft_orders, read_price_rules. Moken only requests read (read_*) scopes — it never modifies your store data.

    If the "Install app" button is still grayed out after clicking "Save", click "Save" once more.

  7. Install the app

    Click "Install app" in the top-right corner, then click "Install" in the confirmation dialog.

  8. Copy the Admin API access token

    After installing, open the "API credentials" tab and copy the Admin API access token (it starts with shpat_). Also note your store domain (e.g. yourstore.myshopify.com, shown in the sidebar).

    The token is only revealed once — copy it right away and keep it safe.

  9. Connect Shopify in MokenLogic

    Open MokenLogic, go to Settings → Customize → MCP Servers, and turn on "Shopify". In the "Connect Shopify" dialog, enter your store domain and the Admin API access token, then click "Connect". The token is used only to establish and maintain this connection.

Done — ask your agent about your store

Once connected, your agent can query the store directly — try "What were yesterday's orders?", "Which products are low on stock?", or "Find my top customers this month".

All guides