跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 AliExpress Affiliate,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 为联盟营销调研 AliExpress 商品:搜索商品和热门商品并查看价格与佣金,查看商品和 SKU 详情、运费、优惠券,生成带有你跟踪 ID 的联盟链接,并查看这些链接带来的订单和佣金。
试试这样问
AliExpress Affiliate 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → AliExpress Affiliate、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
AliExpress Affiliate + Meta Muse
让你的 AI 为联盟营销调研 AliExpress 商品:搜索商品和热门商品并查看价格与佣金,查看商品和 SKU 详情、运费、优惠券,生成带有你跟踪 ID 的联盟链接,并查看这些链接带来的订单和佣金。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
ALIEXPRESS_APP_KEY, ALIEXPRESS_APP_SECRET, ALIEXPRESS_TRACKING_ID
步骤 1 — 获取凭证
设置大约需要 15 分钟,另外还需等待 AliExpress 审核你的开发者资料和应用类别。你需要一个 AliExpress Portals 联盟账户。
- 在 https://portals.aliexpress.com 注册成为联盟会员,并在那里创建一个 跟踪 ID。它会加入每个联盟链接,确保佣金归你所有:把它填入
ALIEXPRESS_TRACKING_ID。 - 在 https://openservice.aliexpress.com 点击 Create Account(或登录),打开你的个人资料,选择开发者类型 Affiliate (individual) 或 Affiliate (corporation)。AliExpress 会审核该资料。
- 在 App Console 中点击 Create,申请 Affiliates 应用类别,然后创建应用。连接器不使用回调 URL,因此填写你自己的任意 https 地址即可。
- 在应用的概览页面,将 App Key 复制到
ALIEXPRESS_APP_KEY,将 App Secret(点击 View)复制到ALIEXPRESS_APP_SECRET。 - 新应用以测试状态运行,调用配额很小。准备就绪后,在控制台中点击 Apply Online。
- 安装连接器并运行
aliexpress_affiliate_list_categories检查密钥。
一个 Open Platform 账户不能同时拥有 Affiliate 应用和 Dropshipping 应用:如需做代发货,请使用 AliExpress Dropshipping 连接器,并为它使用单独的账户。
签名请求:每次调用都使用 App Secret 以 HMAC-SHA256 签名,App Secret 不会离开 AnythingMCP。AliExpress 会拒绝偏差超过两小时的时间戳,因此服务器时钟必须准确。
商品调研:AI 按关键词、类目、价格区间、配送时间或促销活动搜索面向联盟会员开放的商品,或列出佣金上调的热门商品。每个结果都包含价格、折扣、佣金比例、近 30 天销量、评分、店铺,以及带有你跟踪 ID 的 promotion_link。对于具体商品,它可以一次读取最多 50 个 ID 的详情,读取每个变体(SKU)在目的国的库存、某个 SKU 的运费和配送时间,以及当前适用的优惠券。
活动和链接:AI 列出当前进行中的精选促销及其商品,并将最多 50 个 AliExpress 商品、店铺或活动 URL 转换为带有你跟踪 ID 的联盟链接。
收益:AI 按状态列出某个时间段内通过你的链接产生的订单,包含实付金额、预估佣金和已结算佣金,或按 ID 读取订单。
只读:所有工具都只读取数据,包括生成链接。
格式:价格筛选条件 min_sale_price 和 max_sale_price 以 target_currency 的分为单位;返回的价格是十进制字符串,并附带币种。commission_rate 和 discount 是文本形式的百分比("7.0%")。订单时间和促销时间段采用太平洋时间。商品 ID 是很长的数字,以文本形式保存。每页最多 50 条。
常见错误:InvalidAppKey 或 IncompleteSignature 表示 App Key 和 App Secret 错误或不属于同一个应用;InsufficientPermission 表示应用没有该 API 的权限,请在控制台中检查其应用类别和权限组;调用限额相关的代码表示配额已用完,这在测试状态下很快就会发生。在结果中,resp_code 405 表示没有匹配项,402 表示参数错误。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
AliExpress Affiliate的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
aliexpress_affiliate_list_categories | List AliExpress product categories: category_id, category_name and parent_category_id for second-level ones |
aliexpress_affiliate_search_products | Search AliExpress products open to affiliates by keywords, category, price range, delivery time or promotion |
aliexpress_affiliate_list_hot_products | Hot products: AliExpress items with a raised commission (hot_product_commission_rate), filtered like aliexpress_affiliate_search_products… |
aliexpress_affiliate_get_products | Details of up to 50 AliExpress products by id: title, prices, discount, commission rates, category, shop, images, video, promotion_link… |
aliexpress_affiliate_get_sku_details | Every variant (SKU) of one AliExpress product for a destination country: sku_id, its properties (color, size), price in target_currency… |
aliexpress_affiliate_get_shipping | Shipping options, cost and delivery time of one SKU to a country |
aliexpress_affiliate_get_promotions | Promotions and coupons that apply right now to up to 10 products in one country: coupon codes, face value, minimum spend and validity |
aliexpress_affiliate_generate_links | Turn up to 50 AliExpress links (product, store or campaign URLs) into affiliate links that carry your tracking ID |
aliexpress_affiliate_list_featured_promos | List the featured promotions running now (for example Hot Product, New Arrival, Best Seller, weekly deals): promo_name, description and… |
aliexpress_affiliate_list_promo_products | Products of one featured promotion, with the same product fields as a search (prices, commission, promotion_link) |
aliexpress_affiliate_list_orders | Orders that came through your affiliate links in a time window, by status: order and sub-order ids, product, paid amount, estimated and… |
aliexpress_affiliate_get_orders | Affiliate orders by order or sub-order id (comma-separated): product, amounts, commission, status and dates |
示例提示
- “在 AliExpress 上搜索 10 到 30 USD 的无线耳机,显示佣金比例最高的五款。”
- “手机配件类目中,目前哪些热门商品的佣金最高?”
- “把商品 1005006123456789 寄到德国运费是多少,需要多长时间送达?”
- “今天在意大利,商品 1005006123456789 可以使用哪些优惠券?”
- “把这三个 AliExpress 链接转换成带有我跟踪 ID 的联盟链接。”
- “我的链接上周赚了多少佣金?按状态对订单分组。”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?