Skip to main content
Glama

shopier-mcp

Türkçe

An unofficial MCP server for the Shopier REST API v1. It lets Claude, or any other MCP client, read the orders, products, shipping, refunds and balance of your Shopier shop, and optionally update products, orders and discounts.

Tool descriptions and error messages are in Turkish, because Shopier's users are Turkish sellers. Tool names, parameters and enum values are in English.

Status

Experimental (v0.1.4). Tested against a real Shopier shop on 2026-11-15: every read tool except the product ones, and creating products with create_product. On that account Shopier returned 403 for reading and updating products (see Observed Shopier behaviour). Start with the read-only tools.

The only official sources are this GitHub repository and the shopier-mcp package on npm. Packages with similar names are not this project.

Related MCP server: Shopify MCP Server

Disclaimer

This is an independent, unofficial open-source project. It is not affiliated with, endorsed by, or supported by Shopier. "Shopier" and related marks belong to their respective owner and are used here only to identify the API this software talks to.

The software is provided under the MIT license, "as is", without warranty of any kind. You are responsible for every action taken in your shop (orders, products, discounts, refunds, deletions).

Security

  • A PAT grants full access to your account. Do not share it, paste it into a chat, or commit it.

  • The server runs on your own machine. Your PAT is never sent to the project author or any other server; it goes only to api.shopier.com. If you override SHOPIER_API_BASE_URL, the PAT is sent to that host instead.

  • The PAT is stored in plain text in your MCP client configuration. Do not share those files, and do not use claude mcp add --scope project, which writes the PAT to .mcp.json in the project folder.

  • Read tools return customer data (names, addresses, phone numbers, emails, order contents). That data goes to your MCP client and the AI provider behind it. How you handle your customers' personal data is your responsibility.

  • Write tools are off by default. Set SHOPIER_ALLOW_WRITES=true only when you need them.

  • SHOPIER_ALLOW_DANGEROUS=true enables refunds and permanent deletion. These may be irreversible. Enable it only for the session that needs it, and do not auto-approve tool calls in your client.

  • If you suspect the PAT has leaked, delete it under Account > Personal Access Token in Shopier and create a new one.

Requirements

  • Node.js 22+

  • A Shopier Personal Access Token (PAT)

Creating a PAT

  1. Enable two-factor authentication (2FA) on your Shopier account under Account > Account Security. A PAT cannot be created while 2FA is off.

  2. Under Account > Personal Access Token, give it a name and click Generate.

  3. The token is shown only once; copy it right away.

Source: Creating and using PATs.

Install

Nothing to install: your MCP client downloads and runs the server from npm with npx. The examples pin the version (@0.1.4); bump it by hand to upgrade.

Claude Code

claude mcp add shopier --scope user -e SHOPIER_PAT=YOUR_PAT -- npx -y shopier-mcp@0.1.4

--scope user makes the server available in all projects (the default, local, applies only to the current folder). Add -e SHOPIER_ALLOW_WRITES=true to enable the write tools.

This command writes the PAT to your shell history. To avoid that, start the command with a space (if HIST_IGNORE_SPACE is set in zsh) or delete it from the history afterwards.

Claude Desktop

In claude_desktop_config.json:

{
  "mcpServers": {
    "shopier": {
      "command": "npx",
      "args": ["-y", "shopier-mcp@0.1.4"],
      "env": {
        "SHOPIER_PAT": "YOUR_PAT",
        "SHOPIER_ALLOW_WRITES": "false"
      }
    }
  }
}

From source

git clone https://github.com/karadoganyi/shopier-mcp.git
cd shopier-mcp
npm install

npm install also builds the project (dist/). In the examples above, replace npx -y shopier-mcp@0.1.4 with node /ABSOLUTE/PATH/shopier-mcp/dist/index.js.

Agent skill (optional)

skills/using-shopier-mcp/SKILL.md tells the agent which flag adds which tool, what to say when a tool is missing (server not connected, flag off, or not supported), and how to handle the PAT. It instructs the agent not to set up the server with a PAT pasted into the chat. For Claude Code, copy it into your skills folder:

mkdir -p ~/.claude/skills/using-shopier-mcp && curl -fsSL https://raw.githubusercontent.com/karadoganyi/shopier-mcp/main/skills/using-shopier-mcp/SKILL.md -o ~/.claude/skills/using-shopier-mcp/SKILL.md

Agents that support the SKILL.md format can load the same file from their own skills folder.

Environment variables

Variable

Default

Description

SHOPIER_PAT

—

Required. Sent as a Bearer token, never logged.

SHOPIER_ALLOW_WRITES

false

Enables the product, order, shipping, category and discount write tools.

SHOPIER_ALLOW_DANGEROUS

false

With writes enabled, also enables refunds (create_refund) and permanent deletion (delete_resource).

SHOPIER_API_BASE_URL

https://api.shopier.com/v1

For testing. Only https is accepted (http for localhost); a non-default host prints a warning to stderr.

Flags accept true, 1, yes or on. Disabled tools are not registered at all, so the model cannot see them.

Tools

Read (always on, 17 tools) list_orders, get_order, get_order_transaction, list_products, get_product, list_categories, list_variations, list_selections, list_refunds, list_shippings, get_balance, list_balance_transactions, list_payouts, list_payout_transactions, get_shop_info, list_discounts, list_webhooks

Write (SHOPIER_ALLOW_WRITES=true, +9 tools) create_product, update_product, fulfill_order, update_order_shipping_address, create_shipping_code, create_category, create_discount_code, update_discount_code, create_automatic_discount

Dangerous (SHOPIER_ALLOW_DANGEROUS=true, +2 tools) create_refund (refunds the buyer), delete_resource (permanently deletes a product, category, discount, shipping code or webhook)

Changing shop settings (which can close the shop) and creating webhooks (which send customer data to a URL) are deliberately left out.

API notes

  • Date format: yyyy-MM-ddTHH:mm:ss+0300. The real API also accepted +03:00 and Z, but rejects a date without a time. Discount dates use yyyy-MM-dd+0300.

  • Without dates, list_orders returns only the last 60 days.

  • List endpoints return at most 50 items per page. Shopier sends pagination data in response headers; the server adds it to every list response as a pagination field.

  • Prices are sent as strings ("249.90").

  • Product images must be publicly reachable URLs.

  • The rate limit is 200 requests per minute. On a 429, the request is retried once automatically if Retry-After is 10 seconds or less.

  • On a 5xx, only read requests are retried once. For write requests (refunds included), a timeout or 5xx is reported as "outcome unknown" and the model is asked to check the record before retrying, which prevents double refunds.

  • Empty updates, empty or .. IDs, negative amounts and the spec's conditionally required fields (the note for digital deliveries, the amount or percentage for each discount type) are rejected locally before any request is sent.

  • Product titles longer than 80 characters or containing &, < or > are rejected locally (see below).

Observed Shopier behaviour

Seen on a real shop on 2026-11-15. Shopier's documentation does not describe these, so they may change or differ per account.

  • Product read and update can be blocked. create_product worked, but list_products, get_product and update_product returned 403 forbidden, even for a product just created. Categories, variations and selections, which use the same products:read scope, worked. Shopier's docs say to contact hello@shopier.com about a 403. Until it is resolved, edit products in the Shopier panel, and send every field correctly on the first create_product.

  • Titles: & is stored as &amp; and shown that way on the product page, and long titles are cut at about 90 characters. The server therefore rejects titles over 80 characters or containing &, < or >.

  • Descriptions: line breaks sent through the API are not shown; the description is displayed as one paragraph.

  • Images: Shopier downloads the image URLs and stores them as JPEG on its own CDN, so the source URL only has to work once.

  • Shipping: shippingPayer: "sellerPays" with priceData.shippingPrice above 0 charges the buyer that fee in the basket. Without shippingPrice, the product page shows "Ücretsiz kargo" and the API stores "0.00".

  • Dispatch time: dispatchDuration: 3 is shown as "3 iş günü içinde kargoda" (dispatched within 3 business days).

Test

npm test

Needs no network and no real PAT:

  • test/smoke.mjs: MCP handshake, tool counts per flag (17 / 26 / 28), and the error message when no PAT is set.

  • test/mock.mjs: against a local mock API — query parameters and pagination headers; request bodies of create_product, update_product, fulfill_order, create_discount_code and create_refund; DELETE and ID encoding; local validation (checking that no request is sent); 403/404 error messages; the 429 and 5xx retry rules; and that a PAT with invalid characters never leaks into an error message.

Optional: npm run test:live calls the real api.shopier.com with a fake token and expects a clean 401.

The real-shop checks above were done by hand and are not part of npm test. The 30-second timeout path for write requests has no automated test.

License

MIT. See LICENSE.

Available Tools

17 tools
get_balanceBakiyeA
Read-onlyIdempotent

Mağazanın güncel Shopier bakiyesini getirir.

Inputs: no named parameters.

get_orderSipariş detayıA
Read-onlyIdempotent

Tek bir siparişin tüm detaylarını getirir (alıcı, ürünler, adres, gönderim).

Inputs: orderId (required).

get_order_transactionSipariş ödeme işlemiA
Read-onlyIdempotent

Bir siparişin ödeme/finans işlem kaydını getirir (komisyon, net tutar vb.).

Inputs: orderId (required).

get_productÜrün detayıA
Read-onlyIdempotent

Tek bir ürünün detaylarını getirir (fiyat, stok, varyantlar, görseller).

Inputs: productId (required).

get_shop_infoMağaza bilgisiA
Read-onlyIdempotent

Mağaza ayarlarını (shop/settings) veya mağaza sahibi bilgisini (shop/owner) getirir.

Inputs: which.

list_balance_transactionsBakiye hareketleriB
Read-onlyIdempotent

Bakiye hareketlerini listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit, dateEnd, +1 more.

list_categoriesKategorileri listeleB
Read-onlyIdempotent

Ürün kategorilerini vitrindeki sıralarına göre listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit.

list_discountsİndirimleri listeleA
Read-onlyIdempotent

İndirim kodlarını (codes) veya otomatik indirimleri (automatic) listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: kind, page, sort, limit.

list_ordersSiparişleri listeleA
Read-onlyIdempotent

Mağazanın siparişlerini listeler, en yeni önce. Tarih verilmezse yalnızca son 60 günün siparişleri döner. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit, dateEnd, +6 more.

list_payoutsÖdemeleri (payout) listeleB
Read-onlyIdempotent

Banka hesabına yapılan ödemeleri listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit, dateEnd, +1 more.

list_payout_transactionsÖdeme içeriğiB
Read-onlyIdempotent

Bir payout'a dahil olan işlemleri listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: payoutId (required), page, sort, limit.

list_productsÜrünleri listeleC
Read-onlyIdempotent

Mağazadaki ürünleri filtreleyerek listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit, dateEnd, +10 more.

list_refundsİadeleri listeleB
Read-onlyIdempotent

İadeleri listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit, status, +3 more.

list_selectionsVaryasyon seçeneklerini listeleA
Read-onlyIdempotent

Varyasyon seçeneklerini listeler (örn. S, M, L). Ürün varyantı oluştururken selectionId burada bulunur. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, limit, variationId.

list_shippingsKargo kodlarını listeleB
Read-onlyIdempotent

Kargo gönderi kodlarını listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, type, limit, +6 more.

list_variationsVaryasyon tiplerini listeleB
Read-onlyIdempotent

Ürün varyasyon tiplerini listeler (örn. Beden, Renk).

Inputs: no named parameters.

list_webhooksWebhook aboneliklerini listeleB
Read-onlyIdempotent

Kayıtlı webhook aboneliklerini listeler. Yanıttaki pagination alanı sayfa ve toplam kayıt sayısını gösterir.

Inputs: page, sort, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools target clearly distinct resources (orders, products, categories, refunds, payouts, discounts, webhooks) and the list/get split is easy to distinguish. The only mild overlap is list_variations (variation types) versus list_selections (variation options like S/M/L), but the descriptions clarify the difference adequately.

    Naming Consistency5/5

    Every tool follows a strict verb_noun snake_case pattern, either list_* (list_orders, list_payouts) or get_* (get_order, get_balance, get_shop_info). Singular/plural usage is sensible (get_ for single entities, list_ for collections).

    Tool Count4/5

    17 tools is on the heavier side but each maps to a distinct resource in the commerce domain, so none feel redundant. The set is organized into coherent groups (orders, catalog, finance, shop/config), keeping it manageable.

    Completeness3/5

    Read coverage is broad and well structured across orders, products, finance, discounts, and webhooks, but the surface is entirely read-only — no create/update/delete for products, discounts, webhooks, or order handling. This leaves significant gaps for any store-management workflow that requires mutations.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects Claude, ChatGPT, Cursor, or any MCP client to a Shopify store, enabling read-only access to themes, Liquid files, catalogue data, and store configuration through 122 tools.
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Claude, Cursor and other MCP clients to a Horoshop e-commerce store's API so users can query orders, catalog products, categories, customers and reference data, and create or update products, orders, customers, product sets and webhooks through natural language. An optional read-only mode hides all write tools, and a generic call tool reaches any documented API function.
      37 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects MCP-compatible clients to a Shopify store's Admin GraphQL API, exposing products, orders, customers, inventory, and sales data as callable tools. It enables natural-language store queries, low-stock and sales summaries, customer support answers, and creation of draft products for review.
      MIT