mcp-cn-commerce
A suite of MCP servers that give AI agents read-only access to Chinese e-commerce platform business data, including advertising, orders, products, and more from platforms like Douyin, JD.com, Taobao, etc.
README
mcp-cn-commerce — Chinese E-Commerce Platform MCP Servers
🛒 Let AI agents read Chinese e-commerce merchant business data. Not content publishing — business operations MCP connectors for AI agents like Claude, ChatGPT, Gemini.
Keywords: MCP Server, Model Context Protocol, Chinese e-commerce, AI agent, e-commerce data, 电商 MCP, 抖店, 京东, 巨量引擎, Ocean Engine, Douyin Shop, JD.com, Taobao, Pinduoduo, Python MCP, AI business intelligence, agent tool
English | 简体中文
Table of Contents
- What is mcp-cn-commerce?
- Why This Project
- Supported Platforms
- Quick Start
- Architecture
- Tools Reference
- Security
- Examples - 使用示例和场景
- FAQ
- Contributing
- Roadmap
What is mcp-cn-commerce?
A monorepo of independent MCP (Model Context Protocol) servers that give AI agents structured, type-safe access to Chinese e-commerce platform business data. Each server wraps one platform's open API:
- 巨量引擎 (Ocean Engine) — advertising campaign, report, and account data
- 抖店 (Douyin Shop) — orders, products, refunds, shop management
- 京东 (JD.com) — orders, products, shop information
- More coming: 淘宝, 拼多多, 快手, 小红书, 微信小店
All tools are read-only by default — AI agents can analyze your business data but cannot modify anything.
Why This Project
Existing Chinese-platform MCP servers all focus on content publishing (posting videos, searching trends). Zero cover merchant business operations — pulling ad reports, checking orders, managing refunds.
| Content MCPs (HuiMei, Astron, etc.) | mcp-cn-commerce | |
|---|---|---|
| Purpose | Post videos, search hot topics | Pull ad reports, query orders |
| Target User | Creators / influencers | E-commerce business owners / operators |
| Data Type | Content data (views, likes, trends) | Business data (revenue, orders, refunds, ROAS) |
| Platform Scope | Content platforms | E-commerce + advertising platforms |
| Operations | Publish / write | Read-only analytics & monitoring |
This is the first open-source MCP server suite for Chinese e-commerce business operations.
Platforms
| Platform | Category | Phase | Status | Tests | Open API |
|---|---|---|---|---|---|
| 巨量引擎 (Ocean Engine) | Advertising (广告投放) | 1 | ✅ | 24 | open.oceanengine.com |
| 巨量千川 (Qianchuan) | E-commerce Ads (电商广告) | 1 | ✅ | (shared) | qianchuan.jinritemai.com |
| 抖店 (Douyin Shop) | E-commerce (电商店铺) | 1 | ✅ | 31 | op.jinritemai.com |
| 京东 (JD.com) | E-commerce (电商店铺) | 1 | ✅ | 19 | jos.jd.com |
| 淘宝 (Taobao) | E-commerce (电商店铺) | 2 | ✅ | 36 | open.taobao.com |
| 拼多多 (Pinduoduo) | E-commerce (电商店铺) | 2 | ✅ | 30 | open.pinduoduo.com |
| 快手 (Kuaishou) | E-commerce (电商店铺) | 3 | ✅ | 33 | open.kuaixiaodian.com |
| 小红书 (Xiaohongshu) | E-commerce (电商店铺) | 3 | ✅ | 33 | open.xiaohongshu.com |
| 微信小店 (WeChat Store) | E-commerce (电商店铺) | 3 | ✅ | 25 | developers.weixin.qq.com |
Phase 4 (exploratory): 闲鱼 (Xianyu), 美团 (Meituan), 饿了么 (Ele.me) — restricted APIs, awaiting policy clarity.
358 tests across all 8 servers. CI runs on Python 3.11, 3.12, 3.13.
Quick Start
Installation
From GitHub Releases (recommended — no registration needed)
# Visit the latest Release and download the .whl file
# https://github.com/TonyWang-hub/mcp-cn-commerce/releases/latest
# Or install directly from the Release URL:
pip install https://github.com/TonyWang-hub/mcp-cn-commerce/releases/latest/download/mcp_cn_commerce-0.1.0-py3-none-any.whl
From Git (always latest)
pip install git+https://github.com/TonyWang-hub/mcp-cn-commerce.git
For development
git clone https://github.com/TonyWang-hub/mcp-cn-commerce.git
cd mcp-cn-commerce
pip install -e ".[dev]"
Configuration
Set credentials via environment variables:
# 巨量引擎 (Ocean Engine) — Advertising platform
export OCEANENGINE_APP_KEY="your_app_key"
export OCEANENGINE_APP_SECRET="your_app_secret"
export OCEANENGINE_ACCESS_TOKEN="your_access_token"
# 抖店 (Douyin Shop) — TikTok Shop China
export DOUDIAN_APP_KEY="your_app_key"
export DOUDIAN_APP_SECRET="your_app_secret"
export DOUDIAN_SHOP_ID="your_shop_id"
export DOUDIAN_ACCESS_TOKEN="your_access_token"
# 京东 (JD.com) — Jingdong e-commerce
export JD_APP_KEY="your_app_key"
export JD_APP_SECRET="your_app_secret"
export JD_ACCESS_TOKEN="your_access_token"
Add to Your MCP Client
Works with Claude Desktop, Cherry Studio, Kimi Work, and any MCP-compatible AI client:
{
"mcpServers": {
"oceanengine": {
"command": "mcp-cn-oceanengine"
},
"doudian": {
"command": "mcp-cn-doudian"
},
"jd": {
"command": "mcp-cn-jd"
}
}
}
Example: AI Agent Querying Your Business
Once connected, you can ask your AI agent questions like:
"Show me this week's Ocean Engine campaign ROAS, sorted by spend" "Which Douyin Shop products are low on stock?" "How many JD refunds are pending approval?" "Compare my ad performance across Ocean Engine campaigns this month vs last month"
Architecture
mcp-cn-commerce/
├── .github/workflows/test.yml # CI: pytest on push (3.11/3.12/3.13)
├── shared/ # Shared auth/signing/pagination
│ └── cn_commerce_base.py # CommerceMCPBase — extend for new platforms
├── servers/
│ ├── oceanengine/ 17 tools ├── doudian/ 20 tools
│ ├── jd/ 14 tools ├── taobao/ 13 tools
│ ├── pinduoduo/ 13 tools ├── kuaishou/ 12 tools
│ ├── xiaohongshu/ 12 tools └── weixin-store/ 11 tools
├── docs/platforms.md # 8-platform API comparison & auth matrix
├── README.md / README_zh.md # English / 简体中文
└── LICENSE # MIT
Each servers/<platform>/ is an independent MCP server. Users install only what they need.
Tools Summary
| Server | Tools | Categories |
|---|---|---|
| oceanengine | 17 | Ads, Qianchuan, Star, Creative, Audience, Optimization |
| doudian | 20 | Orders, Products, Refunds, Logistics, Reviews, Live, Traffic, Marketing, Billing, Shop |
| jd | 14 | Orders, Products, After-Sale, Logistics, Reviews, Pricing, Inventory, Marketing, Shop |
| taobao | 13 | Orders, Products, Refunds, Logistics, Reviews, Shop, Marketing, Categories |
| pinduoduo | 13 | Orders, Products, Refunds, Logistics, Reviews, Shop, Marketing, Affiliate |
| kuaishou | 12 | Orders, Products, Refunds, Logistics, Reviews, Shop, Marketing |
| xiaohongshu | 12 | Orders, Products, Refunds, Logistics, Reviews, Shop, Marketing, Inventory, Finance |
| weixin-store | 11 | Orders, Products, Refunds, Logistics, Shop, Marketing, Supply Chain, Categories |
| Total | 112 | All read-only by default |
For full tool details, see the source code in each servers/<platform>/src/ directory.
| get_product_list | Product catalog with pricing and stock | /product/list |
| get_shop_info | Merchant shop information | /shop/info |
Security
This project handles sensitive e-commerce API credentials. Our security guarantees:
- 🔒 Runs locally — API keys and secrets never leave your machine
- 📖 Open source — every line of code is auditable
- 👁️ Read-only by default — all 112 tools only read data; zero write/modify/delete operations
- 📡 No telemetry — no usage data is collected, tracked, or transmitted
- 🖥️ Direct API calls — connects directly to platform APIs; no intermediate server or proxy
- 🔑 Env-var config — credentials are loaded from environment variables, never hardcoded
Roadmap
Phase 1 — Foundation ✅
- 巨量引擎: Ad campaign & report read APIs
- 巨量千川: E-commerce advertising (shared Ocean Engine auth)
- 抖店: Order, product, after-sale read APIs
- 京东: Order, product, shop read APIs
Phase 2 — Mid-Tier Expansion ✅
- 淘宝 (Taobao): Full Top API integration — orders, products, logistics
- 拼多多 (Pinduoduo): Orders, products, promotion tools
Phase 3 — Long-Tail Coverage ✅
- 快手 (Kuaishou): Orders, products, logistics
- 小红书 (Xiaohongshu): Orders, products, inventory
- 微信小店 (WeChat Store): Orders, products, after-sale
Phase 4 — Exploratory ⬜
- 闲鱼, 美团, 饿了么 (API access pending policy)
Related Resources
- Model Context Protocol (MCP) Documentation
- MCP Python SDK
- Claude Desktop — MCP Support
- Cherry Studio — Multi-Model MCP Client
- Platform API Comparison
Citation
If you use mcp-cn-commerce in your research or project:
@software{mcp-cn-commerce,
author = {Wang, Zhuo},
title = {mcp-cn-commerce: MCP Servers for Chinese E-Commerce Platforms},
year = {2026},
url = {https://github.com/TonyWang-hub/mcp-cn-commerce}
}
Star History
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。