Connector guide7-minute read23 MCP tools7 languages

Connect SHOPLINE to Claude via MCP: Orders and Stock

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

HCBy HelpCode teamUpdated 7 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

SHOPLINE

SHOPLINE

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

tools

23

Region

INTL

Category

E-commerce

Authentication

Bearer Token

Required env vars

SHOPLINE_HANDLESHOPLINE_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Guided setup

Connect SHOPLINE to Claude in 2 minutes

Start a free trial on AnythingMCP Cloud, connect SHOPLINE in the guided setup, then add your MCP URL to Claude. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

Try asking

Example prompts for SHOPLINE

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

SHOPLINE · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → SHOPLINE, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

SHOPLINE + Claude

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

SHOPLINE_HANDLE, SHOPLINE_ACCESS_TOKEN

Step 1 — Get credentials

Setting up takes about 5 minutes.

  1. Log in to the SHOPLINE Admin at https://admin.myshopline.com and open Apps, then Develop Apps (top right), and create a private app.
  2. Give it the access scopes the tools need: read_orders, write_orders, read_products, write_products, read_customers, read_inventory, write_inventory, read_location, read_assigned_fulfillment_orders and write_assigned_fulfillment_orders (read scopes alone are enough for the read tools).
  3. Open the app's API certificate and copy the access token into SHOPLINE_ACCESS_TOKEN. A private app token is valid for 3 years and can be refreshed there; deleting the app revokes it.
  4. Enter the store handle, the first part of <handle>.myshopline.com, in SHOPLINE_HANDLE.

Where to start: shopline_list_orders with status any (and fulfillment_status when you look for shipped orders), then shopline_list_order_fulfillments. For products shopline_list_products, shopline_get_product and shopline_list_product_variants.

Orders: shopline_list_orders, shopline_count_orders, shopline_update_order (tags, contact, notes, shipping address), shopline_list_order_transactions, shopline_list_order_refunds. The id is the order id; name is the order number the customer sees (1001 and up, with an optional prefix). Cancelling and refunding are not included, because they return money.

Shipping: shopline_create_fulfillment ships an order with a tracking number, shopline_list_order_fulfillments lists shipments, shopline_update_fulfillment_tracking replaces the tracking list of one shipment (send all entries, the rest is cleared).

Products: shopline_list_products, shopline_get_product, shopline_count_products, shopline_update_product (status active publishes, draft hides), shopline_list_product_variants, shopline_update_variant (price, compare-at price, SKU, barcode). Tags go in as a list and come back as a comma-separated string. Products have up to five options per variant.

Customers: shopline_list_customers, shopline_get_customer, shopline_search_customers, shopline_list_customer_orders.

Stock: each variant has an inventory_item_id. shopline_list_locations, shopline_get_inventory_items, shopline_get_inventory_levels, then shopline_set_inventory (absolute) or shopline_adjust_inventory (delta).

Paging: lists use a cursor. When there is another page, the answer carries _pagination.nextUrl; pass its page_info value with the same limit. _pagination is missing on the last page.

Ids and formats: ids are long digit strings (26 digits): always pass them as text. Times are ISO 8601; prices are decimal strings in the store currency.

Rate limit: 4 requests per second per app and store, with bursts up to 40 queued; above that SHOPLINE answers 429 Too many request. Answers are capped at 8 MB, so use fields and smaller limits for big stores.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Claude

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Recommended path: works on claude.ai web without editing any config file.

  1. In Claude, open Plugins (still called Customize on some plans) → Connectors.
  2. Click + Add, then Add custom connector.
  3. Enter a name, e.g. SHOPLINE, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Continue, keep the detected settings and click Continue again.
  4. Choose Sign in now, click Add and sign in to AnythingMCP (OAuth) to allow access.

All tools below appear in your chat: start typing prompts.

Available tools

ToolWhat it does
shopline_list_ordersList orders: id, name (order number such as 1001), order_at, financial_status, fulfillment_status, status, currency, current_total_price…
shopline_count_ordersCount the orders that match the filters (status, payment, shipment, dates): answers with count. Read-only
shopline_update_orderChange an order's tags, buyer email or phone, merchant notes (note_attributes) or shipping address. Only the fields given are sent; tags…
shopline_list_order_fulfillmentsList the fulfillments (shipments) of an order: id, status, tracking_company, tracking_number, tracking_url, line_items and created_at
shopline_create_fulfillmentShip an order (all of it, or the line items given) with a tracking number and carrier. notify_customer sends the shipping email. Answers…
shopline_update_fulfillment_trackingReplace the tracking information of a fulfillment. The list replaces what is stored: tracking entries left out are removed
shopline_list_order_transactionsList the payment transactions of an order: id, kind (sale, refund and so on), status, amount, currency, gateway and processed_at. Read-only
shopline_list_order_refundsList the refunds of an order: id, created_at, note, refund_line_items and transactions with amounts. Read-only
shopline_list_productsList products: id, title, handle, status (active, draft, archived), vendor, tags, product_category, created_at, updated_at, options and…
shopline_get_productRead one product: title, body_html, status, vendor, tags, handle, options, images, media and variants with price, sku, barcode, weight…
shopline_count_productsCount the products that match the filters (status, collection, dates): answers with count. Read-only
shopline_update_productChange a product: title, subtitle, description (body_html), status (active publishes, draft hides, archived archives), vendor, tags…
shopline_list_product_variantsList the variants of a product: id, sku, barcode, price, compare_at_price, option1 to option5, weight, inventory_quantity, inventory_policy…
shopline_update_variantChange a variant: price and compare_at_price (decimal strings in the store currency), sku, barcode, weight with weight_unit…
shopline_list_customersList customers: id, email, phone, first_name, last_name, state, tags, orders_count, total_spent, accepts_marketing, addresses and…
shopline_get_customerRead one customer: email, phone, names, state, tags, note, orders_count, total_spent, marketing consent and addresses
shopline_search_customersSearch customers by name, email, phone or address text (query_param), or by exact criteria such as tags or orders_count (query). Same…
shopline_list_customer_ordersList the orders of one customer, with the same order fields as shopline_list_orders. Up to 100 per page
shopline_list_locationsList inventory locations (warehouses and stores): id, name, address, active and whether it is the default location
shopline_get_inventory_itemsRead inventory items (one per variant): id, sku, tracked, cost and country of origin. The inventory_item_id is on every variant
shopline_get_inventory_levelsRead available stock per inventory item and location: inventory_item_id, location_id, available and updated_at
shopline_set_inventorySet the available stock of an inventory item at a location to an absolute number (replaces the current quantity)
shopline_adjust_inventoryChange the available stock of an inventory item at a location by a delta: positive adds, negative removes

Example prompts

  • "How many SHOPLINE orders came in this week, and how many are unfulfilled?"
  • "Add DHL tracking 1234567890 to the fulfillment of order #1052."
  • "Which variants have fewer than 5 units at our main location?"
  • "Show all orders of the customer Anna Berg."
  • "Which orders were refunded last month, and for how much?"

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes, point both at https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.

Which SHOPLINE does it cover? Stores on myshopline.com, through the SHOPLINE Admin REST API. The older SHOPLINE platform at shoplineapp.com has a different API and is not covered.

Where does the access token come from? SHOPLINE Admin, Apps, Develop Apps: create a private app with the scopes the tools need and copy the access token from its API certificate. Enter the store handle as well.

Which tools install switched off? None. Transactions and refunds are read-only, and every write (order notes, fulfillments, tracking, product and inventory changes) is shown to you before it runs.

Next steps

Was this guide helpful?

Connect SHOPLINE to Claude in 2 minutes

Start a free trial on AnythingMCP Cloud, connect SHOPLINE in the guided setup, then add your MCP URL to Claude. No code and no server to run.

Related guides

Connectors

Connect SHOPLINE to ChatGPT via MCP: Orders and Stock

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Connectors

Connect SHOPLINE to Microsoft Copilot via MCP

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Connectors

Connect SHOPLINE to Cursor via MCP: Products and Stock

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Connectors

Connect SHOPLINE to Gemini CLI via MCP: Orders and Stock

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Connectors

Connect SHOPLINE to Meta Muse via MCP: Orders and Stock

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.

Connectors

SHOPLINE MCP Server: Orders, Products and Inventory

SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.