Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Shopline

FreeNot checked

MCP server for the Shopline Open API. Exposes 140+ tools for querying and managing orders, products, customers, promotions, analytics, and store settings from y

GitHubEmbed

About

MCP server for the Shopline Open API. Exposes 140+ tools for querying and managing orders, products, customers, promotions, analytics, and store settings from your Shopline store via Claude.

README

MCP server for the Shopline Open API. Exposes 140+ tools for querying and managing orders, products, customers, promotions, analytics, and store settings from your Shopline store via Claude.

Get a Shopline API token

In your Shopline admin panel:

Settings → Staff Settings → API Auth → Generate

Copy the token — you'll need it for the config below.

Setup

Claude Desktop (recommended: uvx)

Install uv first (brew install uv on macOS).

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and add:

{
  "mcpServers": {
    "shopline": {
      "command": "uvx",
      "args": ["shopline-mcp"],
      "env": {
        "SHOPLINE_API_TOKEN": "your_token_here"
      }
    }
  }
}

uvx downloads and runs the package on demand — no manual install needed. Quit Claude Desktop completely (Cmd+Q) and reopen.

Claude Code

claude mcp add --transport stdio shopline \
  -e SHOPLINE_API_TOKEN=your_token \
  -- uvx shopline-mcp

Alternative: pip install

If you prefer a permanent install:

pip install shopline-mcp

Then use the absolute path to the installed binary (which shopline-mcp) as the command in your Claude Desktop config.

Tools

The server exposes 140+ tools grouped into these categories:

  • Orders & Sales — search, detail, fulfillments, transactions, cancel, returns, deliveries, conversations, reviews
  • Products & Inventory — search, detail, variants, inventory, write operations, purchase orders
  • Customers — info, orders, groups, store credits, membership tiers, member points, custom fields
  • Promotions — promotions, flash prices, affiliate campaigns, gifts, addon products, subscriptions
  • Categories — category tree, detail, write operations
  • Store settings — merchant, payment, delivery options, channels, taxes, staff, tokens, agents
  • Analytics — RFM, repurchase, geo, inventory turnover, category sales, promotion ROI, customer lifecycle, slow movers

Run claude mcp list (Claude Code) or check the tool picker in Claude Desktop to see the full list once configured.

API

This server uses the Shopline Open API at https://open.shopline.io/v1. It works with stores on shoplineapp.com (Taiwan / Asia region).

Troubleshooting

Claude Desktop doesn't show the tools — check that uvx is in PATH (which uvx). Claude Desktop inherits PATH from your shell on launch; if you installed uv after launching Claude Desktop, restart it. Check logs at ~/Library/Logs/Claude/.

Tool calls fail with auth errors — confirm SHOPLINE_API_TOKEN is set in the env block of the config (not just in your shell), and that the token has the required scopes in Shopline admin.

Test the server manually:

SHOPLINE_API_TOKEN=your_token uvx shopline-mcp

It will wait on stdin (correct — MCP uses stdio). Ctrl+C to exit.

Development

git clone https://github.com/tzangms/shoplinemcp.git
cd shoplinemcp
uv venv && source .venv/bin/activate
uv pip install -e .

License

MIT

from github.com/tzangms/shoplinemcp

Install Shopline in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install shopline-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add shopline-mcp -- uvx shopline-mcp

FAQ

Is Shopline MCP free?

Yes, Shopline MCP is free — one-click install via Unyly at no cost.

Does Shopline need an API key?

No, Shopline runs without API keys or environment variables.

Is Shopline hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Shopline in Claude Desktop, Claude Code or Cursor?

Open Shopline on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Shopline with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs