Dsers MCP

A Dsers MCP with 14 (and expanding) toolset to allow your agent to access and edit your dsers.

DSers MCP — Automate Dropshipping AI tools/AliExpress to Shopify & Wix Import

npm

An open-source MCP server to automate DSers product import, bulk edit variants, and push to Shopify or Wix using AI.

中文文档

DSers MCP is an open-source MCP (Model Context Protocol) server that lets AI Agents automate the entire DSers import workflow — from AliExpress / Alibaba / Accio.com 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.

What can it do?

  • One-click import — paste a product link, your AI agent imports it into DSers automatically
  • Clean up titles — strips the messy keyword-stuffed AliExpress titles into something readable
  • Pricing rules — markup multiplier (e.g. 2.5x), fixed markup (e.g. +$5), compare-at / sale prices
  • Batch import — import multiple products at once with a list of URLs
  • Multi-store push — push one product to all your connected Shopify & Wix stores in one go
  • Order tracking — list and filter your DSers orders by status (pending, awaiting shipment, fulfilled, etc.)
  • Safety checks — automatically blocks pushes that would result in below-cost pricing, zero price, or zero stock
  • SEO optimization — let AI rewrite the title and description for better search rankings before pushing

Supported product sources

Works with product links from AliExpress, Alibaba.com, and Accio.com. Just give your AI agent a product link from any of these platforms, and it will import the product into DSers and push it to your store. (1688.com links are also recognized but require your DSers account to have 1688 source authorization enabled.)

Accio.com — AI-powered product sourcing

Accio.com is Alibaba's AI sourcing assistant. You describe what you're looking for (e.g. "wireless earbuds under $5"), and it searches AliExpress & Alibaba for you.

How to use it with DSers MCP:

  1. Go to accio.com and search for products in natural language.
  2. Browse the results. When you find a product you like, click on it to open the product detail panel.
  3. Copy the URL from your browser address bar — it will look something like: https://www.accio.com/c/xxx?productId=1005009871053792&ds=aliexpress.com
  4. Give that link to your AI agent, e.g.: "Import this product and push to my store: [paste URL]"
  5. The agent handles the rest — no extra setup needed.

This works for both AliExpress and Alibaba products found on Accio.

What You Need

  • A DSers account (free plan works)
  • A Shopify or Wix store already connected in DSers
  • An MCP-compatible AI client — Cursor, Claude Desktop, Windsurf, or any client that supports MCP

Quick Start

Step 1: Log in (one time — opens your browser)

npx @akacoder404/dsers-mcp login

A browser window opens to the official DSers login page. You log in on DSers's own website — your password never passes through this tool. After login, the session is encrypted and saved locally.

Step 2: Add to your MCP client (no credentials needed)

{
  "mcpServers": {
    "dsers-mcp": {
      "command": "npx",
      "args": ["-y", "@akacoder404/dsers-mcp"]
    }
  }
}

That's it. No passwords in config files.

Authentication — Zero-Password Login

Your DSers password never touches this tool. Here's how login works:

  1. You run npx @akacoder404/dsers-mcp login
  2. Your browser opens the official DSers login page
  3. You log in on DSers's own website, as usual
  4. The tool picks up your login session and encrypts it locally
  5. Done — from now on, the MCP server just works. No passwords in any config file.

Works with Chrome, Edge, Brave, and other Chromium browsers. On Mac, Safari works too.

Sessions last about 6 hours. When it expires, your AI agent will ask you to run login again — takes 10 seconds.

Switching accounts?

npx @akacoder404/dsers-mcp logout
npx @akacoder404/dsers-mcp login

For developers: The server also accepts a DSERS_TOKEN env var for headless/CI environments. For most users, just use login.

Usage Examples

Once set up, just talk to your AI agent in plain language:

"Import this product and push to my Shopify store as a draft: https://www.aliexpress.com/item/1005006372921430.html"

"Import this product, mark up the price by 2.5x, and push it: https://www.aliexpress.com/item/1005006372921430.html"

"Batch import these 3 products and push them all to my store: [URL1] [URL2] [URL3]"

"Push this product to all my connected stores"

"Rewrite the title and description for SEO, then push to my store"

The agent figures out the right tools to call. You don't need to know tool names or parameters.

Install from Source

# Clone
git clone https://github.com/akacoder404/dsers-mcp.git
cd dsers-mcp

# Install
npm install

# Type check
npx tsc --noEmit

# Run tests
npm test

Project Structure

dsers-mcp/
├── src/
│   ├── index.ts              # MCP server entry — tool registration
│   ├── cli.ts                # CLI entrypoint (login, logout, stdio server)
│   ├── service.ts            # Import flow orchestration
│   ├── provider.ts           # DSers API adapter
│   ├── rules.ts              # Rule validation & application engine
│   ├── push-options.ts       # Push option normalization
│   ├── resolver.ts           # URL normalization (AliExpress/Alibaba/Accio)
│   ├── 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/                     # Unit tests
├── package.json
├── tsconfig.json
└── .env.example

Fourteen Tools

#ToolWhat it does
1dsers_store_discoverSee your connected stores, available shipping methods, pricing rules, and what rules you can apply
2dsers_rules_validateTest your pricing or title rules before applying — catches mistakes early
3dsers_product_importPaste a product URL, optionally apply pricing/title rules, and get a preview before pushing
4dsers_product_previewReview a product you already imported — title, price, variants, stock at a glance
5dsers_product_update_rulesEdit pricing, content, images, or variant rules on an already-imported product (incremental merge — no re-import needed)
6dsers_product_visibilitySet whether the product shows up in your store or stays as a hidden draft
7dsers_store_pushSend products to your Shopify or Wix store — one at a time, in bulk, or to all stores at once
8dsers_job_statusCheck if a push finished and whether it succeeded
9dsers_product_deleteDelete a product from the DSers import list (irreversible, requires confirmation)
10dsers_import_listBrowse the import staging list with cost, sell price, stock, markup status, and low-stock warnings
11dsers_my_productsList products already pushed to a specific store, with supplier URLs for re-import
12dsers_find_productSearch the DSers product pool by keyword or image; results include import_url for one-step import
13dsers_sku_remapSKU-level supplier swap on a live store product. Preview before apply.
14dsers_ordersList and filter your DSers orders by status — track dropshipping fulfillment progress

All tools return clear error messages so your AI agent knows what went wrong and what to do next — no cryptic error codes.

Pre-Push Safety Checks

Before pushing a product to your store, the tool automatically checks for common mistakes:

  • Hard blocks (push won't go through): selling below supplier cost, zero sell price, all variants out of stock
  • Warnings (push goes through, but you'll see a heads-up): profit margin below 10%, stock under 5 units, sell price under $1

If something looks wrong, your AI agent will tell you exactly which variant has the problem and why. If you're sure it's fine, you can override with force_push.

Pricing Rule Conflict Detection

If your DSers store has its own Pricing Rule enabled (basic/standard/advanced), and you also set pricing rules through MCP, the push will be blocked — not just warned. The agent will show two fix options:

  1. Set pricing_rule_behavior='apply_store_pricing_rule' in push options to accept the store's pricing rule
  2. Disable the Pricing Rule in your DSers store settings to use MCP pricing instead

Four Prompts

Ready-made workflows your AI client can use directly:

PromptDescription
dsers_workflow_quick-importImport a single product and push to store as draft
dsers_workflow_bulk-importBatch import with pricing multiplier
dsers_workflow_multi-pushPush one product to all connected stores
dsers_workflow_seo-optimizeImport, AI-rewrite title & description for SEO, then push

Environment Variables

VariableRequiredDescription
DSERS_ENVNoproduction (default) or test
DSERS_BASE_URLNoOverride API base URL
IMPORT_MCP_STATE_DIRNoJob state directory (default: .state)

What's Next

  • Support more store platforms that DSers already connects to (eBay, Wish, etc.)
  • Smarter pricing rule templates
  • More granular inventory sync options

Got an idea or feature request? Open an issue — suggestions and contributions from other developers are very welcome.

License

MIT

Server Terkait

NotebookLM Web Importer

Impor halaman web dan video YouTube ke NotebookLM dengan satu klik. Dipercaya oleh 200.000+ pengguna.

Instal Ekstensi Chrome