Read-only MCP bridge for Chinese e-commerce merchant data (Douyin, Taobao, JD, Kuaishou, Xiaohongshu, WeChat Store)
From README links · today
MCP servers expose merchant order and after-sales data to AI agents, read-only.
What they did
They wanted an AI agent to answer merchant operations questions — daily order and after-sales summaries across Chinese marketplaces — without giving the model write access to any store backend. Instead of scraping dashboards, they wired the agent to mcp-cn-commerce, a monorepo of per-platform stdio MCP servers. Each platform (Douyin/Doudian, Taobao, JD, Kuaishou, Xiaohongshu, WeChat Store, plus Ocean Engine for ads) is installed separately and configured with the merchant's existing open-platform app credentials. The agent calls read-only tools for order list/detail, after-sales list/detail, and store info where supported, then normalizes amounts and timestamps and assembles a deterministic daily report that explicitly flags missing data and incomplete pagination. They started against the repo's mock templates to confirm the analysis shape, then moved to real read-only verification against store backends, comparing returned records to the merchant admin console. Pinduoduo was left out because no complete official business schema was available, and ad reporting beyond advertiser info and account balance was deferred.
How it went
The agent can produce structured daily order and after-sales summaries from authorized merchant data, with unknown amounts and coverage gaps marked rather than silently filled. The project is honest about maturity: all SDKs ship with live_verified set to false, real-store acceptance and backend reconciliation are unfinished, and registered tool counts (155 across 8 entries) are explicitly not a measure of verified capability. Several platforms have partial coverage — JD refund collection is incomplete, Kuaishou lacks open_id-to-store binding evidence, Xiaohongshu has unresolved time-unit questions, and Pinduoduo business queries are disabled. Treat it as a working scaffold with mock-validated analysis, not a production data pipeline.
Worth knowing
Every SDK is marked live_verified=false; no real-store acceptance or backend reconciliation has been completed, so numbers should be spot-checked against the merchant console before anyone acts on them. Coverage is uneven per platform and some historical MCP entries (products, inventory, logistics) are not current verified contracts. You need your own open-platform app credentials and per-store authorization for each platform, and field-level permissions vary by app. Pinduoduo has no callable business operations. Rate limits, retries, and connection pooling are shared, but pagination completeness and payment/refund semantics still need manual verification per platform.
Wiring
Install per-platform packages from PyPI (mcp-cn-commerce 0.1.6) or run from source with Python 3.11+. Each platform is its own stdio MCP server process; register them in your MCP client config (e.g. Claude Desktop or a custom agent) with command/args and an env block holding that platform's open-platform app key/secret and store authorization tokens. The agent connects over stdio, lists tools, and calls read-only order/after-sales/store tools. Shared infrastructure inside the package handles connection pooling, rate limiting, retries, metrics, and PII masking, plus unified money and time handling. For programmatic use, the python-sdk wraps the same tool contracts so a script can call order list/detail and after-sales list/detail directly, paginate to completion, and feed a deterministic report builder. Keep credentials in env or a secret manager, run mock templates in CI, and gate any real-store run behind a manual reconciliation step against the merchant admin console.
Try it yourself
Set up mcp-cn-commerce in this repo as a read-only MCP data source for my Chinese e-commerce stores. Read the README and docs/platforms.md, docs/sdk-integration.md, and docs/release-readiness.md first. Then: (1) add a config example for the stdio MCP servers I actually need (start with Doudian and Taobao), reading credentials from env vars, never hardcoded; (2) write a small Python client using the python-sdk that calls the order list and after-sales list tools for a date range, normalizes amounts and timestamps, and emits a daily summary JSON that marks missing fields and incomplete pagination explicitly; (3) add a mock-mode test that runs the summary against the repo's sample templates so CI passes without real credentials; (4) add a checklist doc for real-store verification: which tool, which admin-console screen, which fields to reconcile. Do not add any write operations. Flag every place where live_verified=false affects the output.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-mcp-cn-commerce-and-python-sdkcurl -s https://api.runchr.com/api/recipes/runchr/stack-mcp-cn-commerce-and-python-sdk/manifestSystem prompt
You are a read-only data assistant for a one-person company's Chinese e-commerce merchant operations, answering daily order and after-sales questions across Douyin/Doudian, Taobao, JD, Kuaishou, Xiaohongshu, and WeChat Store. You only read data through the configured MCP servers, never write to any store backend, and you mark missing fields, unknown amounts, and incomplete pagination explicitly rather than filling them in.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-mcp-cn-commerce-and-python-sdk/manifest.