DSers MCP product
Automate AliExpress/Alibaba dropshipping product import to Shopify or Wix via DSers. 7 tools for bulk import, variant editing, pricing rules, and multi-store push.
README
DSers MCP Product — Automate Dropshipping AI tools/AliExpress to Shopify & Wix Import
An open-source MCP server to automate DSers product import, bulk edit variants, and push to Shopify or Wix using AI.
<a id="english"></a>
English
DSers MCP Product is an open-source MCP (Model Context Protocol) server that lets AI Agents automate the entire DSers import workflow — from AliExpress / Alibaba / 1688 product URL to Shopify or Wix store listing. Bulk import, batch edit variants, clean AliExpress titles, apply pricing rules, and push to multiple stores — all with a single sentence to your AI agent.
The server is hosted on Vercel, published on Smithery, npm, and the official MCP Registry.
Documentation
| Document | Description |
|---|---|
| ARCHITECTURE.md | Three-layer architecture, directory structure, data flow |
| USAGE.md | Installation, client config (Cursor, Claude Desktop), scenario examples |
| SKILL.md | AI agent instruction file — workflow, rules, push options, error handling |
| SKILL-CN.md | Chinese human-readable guide for SKILL.md |
Install via npm
npx @lofder/dsers-mcp-product
Set environment variables DSERS_EMAIL and DSERS_PASSWORD before running, or add to your MCP client config:
{
"mcpServers": {
"dsers-mcp-product": {
"command": "npx",
"args": ["-y", "@lofder/dsers-mcp-product"],
"env": {
"DSERS_EMAIL": "your-email",
"DSERS_PASSWORD": "your-password"
}
}
}
}
Also listed on the official MCP Registry.
Install via Smithery
npx @smithery/cli mcp add @dsersx/product-mcp --client cursor
Or browse at smithery.ai/server/@dsersx/product-mcp.
Install from Source
# Clone
git clone https://github.com/lofder/dsers-mcp-product.git
cd dsers-mcp-product
# Install
npm install
# Configure (copy and fill in your DSers credentials)
cp .env.example .env
# Type check
npx tsc --noEmit
# Run with Smithery dev
npx @smithery/cli dev ./src/index.ts
Project Structure
dsers-mcp-product/
├── src/
│ ├── index.ts # MCP server entry — tool registration
│ ├── service.ts # Import flow orchestration (7 operations)
│ ├── provider.ts # DSers API adapter
│ ├── rules.ts # Rule validation & application engine
│ ├── push-options.ts # Push option normalization
│ ├── resolver.ts # URL normalization (AliExpress/Alibaba/1688)
│ ├── job-store.ts # File-based job persistence
│ └── dsers/ # Low-level DSers API wrappers
│ ├── config.ts # Configuration & environment
│ ├── auth.ts # Login, session cache, auto-refresh
│ ├── client.ts # Authenticated HTTP client
│ ├── account.ts # Store & user management APIs
│ ├── product.ts # Import list & push APIs
│ └── settings.ts # Shipping, pricing, billing APIs
├── test/ # Smoke tests
├── smithery.yaml # Smithery runtime config
├── package.json
├── tsconfig.json
└── .env.example
Seven Tools
| # | Tool | Title | Description |
|---|---|---|---|
| 1 | dsers.store.discover |
DSers Store & Rule Discovery | Discover stores, shipping profiles, supported rules |
| 2 | dsers.rules.validate |
Pricing & Content Rule Validator | Dry-run rule validation |
| 3 | dsers.product.import |
AliExpress / Alibaba / 1688 Import | Import from URL(s), apply rules, get preview |
| 4 | dsers.product.preview |
Import Draft Preview | Reload a saved preview |
| 5 | dsers.product.visibility |
Shopify / Wix Visibility Toggle | Toggle draft / published |
| 6 | dsers.store.push |
Push to Shopify / Wix Store | Push single/batch/multi-store |
| 7 | dsers.job.status |
Job Status Tracker | Check push result |
All tools include MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) and return structured error messages with {Error, Cause, Action} for AI agent consumption.
Three Prompts
Pre-built workflow templates that MCP clients can present to users:
| Prompt | Description |
|---|---|
dsers.workflow.quick-import |
Import a single product and push to store as draft |
dsers.workflow.bulk-import |
Batch import with pricing multiplier |
dsers.workflow.multi-push |
Push one product to all connected stores |
Credentials
The server supports two credential sources (checked in order):
- HTTP headers
x-dsers-email/x-dsers-password— used by Smithery and direct HTTP connections - Environment variables
DSERS_EMAIL/DSERS_PASSWORD— used by local stdio (Cursor, Claude Desktop)
See USAGE.md for setup details per connection method.
Environment Variables
| Variable | Required | Description |
|---|---|---|
DSERS_EMAIL |
Yes* | DSers account email (*or provide via HTTP header) |
DSERS_PASSWORD |
Yes* | DSers account password (*or provide via HTTP header) |
DSERS_ENV |
No | production (default) or test |
DSERS_BASE_URL |
No | Override API base URL |
IMPORT_MCP_STATE_DIR |
No | Job state directory (default: .state) |
Also Available
A Python version is available for local stdio deployments.
License
MIT
<a id="中文"></a>
中文
DSers MCP Product 是一个开源的 MCP (Model Context Protocol) 服务器,让 AI Agent 自动完成 DSers 的整个商品导入流程 —— 从速卖通 / Alibaba / 1688 商品链接到 Shopify 或 Wix 店铺上架。批量导入、批量编辑变体、清理速卖通标题、应用定价规则、推送到多个店铺 —— 只需一句话给你的 AI agent。
服务已托管在 Vercel,并发布到 Smithery、npm 和官方 MCP Registry。
文档
| 文档 | 说明 |
|---|---|
| ARCHITECTURE.md | 三层架构、目录结构、数据流 |
| USAGE.md | 安装、客户端配置(Cursor、Claude Desktop)、使用场景 |
| SKILL.md | AI agent 指令文件 — 工作流、规则、推送选项、错误处理 |
| SKILL-CN.md | SKILL.md 的中文说明 |
通过 npm 安装
npx @lofder/dsers-mcp-product
运行前设置环境变量 DSERS_EMAIL 和 DSERS_PASSWORD,或在 MCP 客户端配置中添加:
{
"mcpServers": {
"dsers-mcp-product": {
"command": "npx",
"args": ["-y", "@lofder/dsers-mcp-product"],
"env": {
"DSERS_EMAIL": "your-email",
"DSERS_PASSWORD": "your-password"
}
}
}
}
同时已收录到官方 MCP Registry。
通过 Smithery 安装
npx @smithery/cli mcp add @dsersx/product-mcp --client cursor
或在 smithery.ai/server/@dsersx/product-mcp 浏览和安装。
从源码安装
# 克隆
git clone https://github.com/lofder/dsers-mcp-product.git
cd dsers-mcp-product
# 安装
npm install
# 配置(复制并填写你的 DSers 账户信息)
cp .env.example .env
# 类型检查
npx tsc --noEmit
# 开发运行
npx @smithery/cli dev ./src/index.ts
七个工具
| # | 工具 | 标题 | 说明 |
|---|---|---|---|
| 1 | dsers.store.discover |
店铺与规则发现 | 查询店铺、配送方案、支持的规则 |
| 2 | dsers.rules.validate |
定价与内容规则校验 | 规则校验试运行 |
| 3 | dsers.product.import |
速卖通/Alibaba/1688 导入 | 从 URL 导入、应用规则、获取预览 |
| 4 | dsers.product.preview |
导入草稿预览 | 重新加载已保存的预览 |
| 5 | dsers.product.visibility |
Shopify/Wix 可见性切换 | 切换草稿 / 上架 |
| 6 | dsers.store.push |
推送到 Shopify/Wix | 单条/批量/多店铺推送 |
| 7 | dsers.job.status |
任务状态跟踪 | 查看推送结果 |
所有工具均包含 MCP 注解(readOnlyHint、destructiveHint、idempotentHint、openWorldHint),错误返回结构化格式 {Error, Cause, Action},方便 AI agent 理解和处理。
三个预设提示
MCP 客户端可直接展示给用户的工作流模板:
| 提示 | 说明 |
|---|---|
dsers.workflow.quick-import |
一键导入单个商品并推送为草稿 |
dsers.workflow.bulk-import |
批量导入 + 统一定价倍率 |
dsers.workflow.multi-push |
一个商品推送到所有店铺 |
其他版本
也提供 Python 版本,适用于本地 stdio 部署。
许可证
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器