shopline-mcp
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
shopline-mcp
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.