Connector guide9-minute read24 MCP tools7 languages

Connect Temu to Meta Muse via MCP: Orders and Stock

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

HCBy HelpCode teamUpdated 9 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Temu

Temu

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

tools

24

Region

INTL

Category

E-commerce

Authentication

Signed request (HMAC)

Required env vars

TEMU_REGIONTEMU_APP_KEYTEMU_APP_SECRETTEMU_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Guided setup

Connect Temu to Meta Muse in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Temu in the guided setup, then add your MCP URL to Meta Muse. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Temu

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Temu · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Temu, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Temu + Meta Muse

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

TEMU_REGION, TEMU_APP_KEY, TEMU_APP_SECRET, TEMU_ACCESS_TOKEN

Step 1 — Get credentials

Setting up takes about 20 minutes. You need the plus Temu's review of your app.

  1. On the Temu Partner Platform (https://partner-us.temu.com for the United States, https://partner-eu.temu.com for Europe, https://partner.temu.com for other countries) create an account, choose the partner type Self-developed applications seller and link your Seller Center primary account. One Seller Center account can have one self-developed app.
  2. Fill in the app information and the compliance and security questionnaires. Question 5 of the compliance part asks for the IP addresses your calls come from: enter the outbound IP address of this AnythingMCP server. Only these addresses may call the API, cloud providers in China are not accepted, and the server must be in the region of the shop (a United States address for a United States shop, a European one for a European shop). Later changes go through Edit app information, Only IP address list and Support site, and are reviewed again.
  3. After the approval copy the App Key into TEMU_APP_KEY and the App Secret into TEMU_APP_SECRET, and pick the region of the shop in TEMU_REGION.
  4. In Seller Center open System Management, Authorization Management (https://seller.temu.com/open-platform/client-manage, in Europe https://seller-eu.temu.com/open-platform/client-manage), click Authorize a new app, select your app and the permissions, submit, and copy the Access Token into TEMU_ACCESS_TOKEN.

The access token expires: the authorization list in Seller Center shows the date, and temu_get_token_info returns it as expiredTime. Authorize again and paste the new token then; AnythingMCP does not renew it.

Where to start: temu_get_token_info shows the shop (mallId, regionId), the expiry and the operations the token may call. Then temu_list_orders.

Orders: temu_list_orders, temu_get_order, temu_get_order_shipping_address (the buyer address, personal data), temu_get_order_amount. A purchase is a parent order (parentOrderSn, starts with PO-) with one sub-order (orderSn) per product line. Statuses: 1 pending (do not ship yet), 2 awaiting shipment, 3 cancelled, 4 shipped, 41 partially shipped, 5 delivered, 51 partially delivered.

Shipping: read the carriers with temu_list_carriers (pass the region id) and the warehouses with temu_list_warehouses, then temu_confirm_shipment with the carrier id, the tracking number, the warehouse id and the order lines. temu_list_combinable_orders lists parent orders that may share a package. Check the result with temu_get_shipment and follow the package with temu_get_tracking. Before shipping look at temu_list_cancel_requests: temu_agree_cancel_request is installed switched off because it cancels the order and refunds the buyer.

Products, stock and prices: temu_list_products, temu_get_product, temu_list_skus, temu_list_categories. temu_get_stock and temu_update_stock read and change stock per SKU. temu_list_sku_prices reads the base price, temu_change_sku_price asks Temu for a new one and temu_list_price_offers follows the request; the two price order tools work only for shops Temu has enabled. temu_set_sale_status (take a product off the shelf) is installed switched off.

Refunds and returns: temu_list_after_sales lists them. Refunding, return labels and return decisions are not part of this connector.

Field notes

  • Ids: goodsId is a product, skuId a variant, both numbers; outGoodsSn and outSkuSn are your own codes. Order numbers are text.
  • Times in orders and after-sales are Unix seconds; the creation filters of the product lists are Unix milliseconds.
  • Money is an object with amount and currency. Order amounts given as whole numbers are in the smallest unit of the currency (cents).
  • An answer has success, errorCode, errorMsg and result. The connector reports success: false as a failed call.
  • Rate limit: 20 calls per second per app at the start; some operations have their own (the product list 20, the price offers 10 per second). Error 4000004 means too many calls.

Errors: 3000001 the signature is wrong (App Secret does not belong to the App Key). 3000026 unknown App Key. 3000031 unknown access token, 3000033 token and App Key do not belong together, 3000034 token expired or replaced. 3000032 the seller did not authorise this operation: authorise again with the permission ticked. 5000003 the calling IP address is not on the allow-list of the app. 3000011 and 3000012: the clock of the server is off by more than 300 seconds.

Not covered: Temu shipping labels (Buy-Shipping), pickups, ads, promotions, creating and editing products, refunds.

Step 2 — Install the 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

Step 3 — Add the connector in Muse

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Muse adds remote MCP servers as custom connectors and signs in to them with OAuth.

  1. In Muse, open Settings → Connectors and choose Add custom connector.
  2. Paste the MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.
  3. Muse opens the AnythingMCP sign-in page: sign in and approve access.
  4. In a chat, ask Muse for something that needs the Temu tools.

You can also set it up from a chat, on the web, in the iOS and Android apps or in WhatsApp. Send Muse this message:

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

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Muse connects from Meta's cloud, so localhost does not work.

Available tools

ToolWhat it does
temu_get_token_infoRead what the access token stands for: mallId, mallType (1 semi-managed, 100 local), regionId of the shop (211 is the United States)…
temu_list_ordersList orders, newest first. Returns totalItemNum and pageItems, each with parentOrderMap (parentOrderSn, parentOrderStatus, parentOrderTime…
temu_get_orderRead one parent order with its sub-orders: parentOrderMap (status, order, confirmation and latest shipment times, region names, payment…
temu_get_order_shipping_addressRead the delivery address of one parent order: receiptName, mobile, virtual mail address, regionName1 to regionName4 (country, state, city…
temu_get_order_amountRead the amounts of one parent order: sales proceeds (base price total, seller discount, shipping, product and shipping tax, estimated…
temu_list_combinable_ordersList the groups of parent orders that may be shipped together in one package (same buyer and address): combinedShippingGroups, each a list…
temu_list_warehousesList the shop's shipping warehouses: warehouseId, warehouseName, regionId1, defaultWarehouse, warehouseManagementType (0 cooperative, 1…
temu_list_carriersList the carriers Temu accepts for a region: logisticsServiceProviderId (the carrierId of temu_confirm_shipment)…
temu_confirm_shipmentMark orders as shipped with your own carrier and tracking number: the order moves from awaiting shipment to shipped and the buyer sees the…
temu_get_shipmentRead how one order was shipped: shipmentInfoDTO with carrierId, carrierName, trackingNumber, skuId, quantity, packageSn…
temu_get_trackingRead the tracking events of one package: trackingNum (the last-mile number) and trackingInfo, each with logisticsUpdatedAt (Unix seconds)…
temu_list_productsList the products of the shop. Returns total and goodsList with goodsId, goodsName, specName, outGoodsSn (your product code), status and…
temu_get_productRead one product in full: goodsName, goodsDesc, bulletPoints, catId and catName, outGoodsSn, product type, gallery (carousel and detail…
temu_list_skusList SKUs (variants) across products. Returns total and skuList with skuId, skuSn (your SKU code), goodsId, goodsName, specName and…
temu_get_stockRead the stock of SKUs: stockList per goodsId with skuStockInfoList (skuId, outSkuSn, selfOrdinaryStock, selfPreSaleStock and…
temu_update_stockChange the stock of SKUs of one product: set it to a target quantity (targets) or add and subtract (changes). Returns…
temu_list_sku_pricesRead the current base price (the price Temu pays the seller) of SKUs of one product: per SKU skuId and supplierPrice with amount and…
temu_list_price_offersList price offers (price orders): Temu's pricing assessments and price change requests with priceOrderId, goodsId, skuIdList, pricingType…
temu_change_sku_priceAsk Temu to change the base price of SKUs of one product. Returns successSkuList, failedSkuList with failedSkuReasonMap, and…
temu_list_categoriesList the categories below a parent category: catId, catName, level, parentId, leaf (products go into leaf categories only), catType and…
temu_set_sale_statusTake a product or some of its SKUs off the shelf, or put them back on sale. Off the shelf, buyers can no longer order it. Returns success.…
temu_list_after_salesList refund and return requests. Returns total and data with parentAfterSalesSn, parentOrderSn, afterSalesType (1 refund only, 2 return and…
temu_list_cancel_requestsList buyers' requests to cancel an order before it ships: total and data with parentAfterSalesSn, parentAfterSalesStatus and…
temu_agree_cancel_requestAgree to a buyer's request to cancel an order: the order is cancelled and the buyer refunded by Temu. It cannot be undone. Installed…

Example prompts

  • "Which Temu orders are waiting to be shipped, and are any of them combinable?"
  • "Confirm the shipment of order PO-211-12345678901234 with UPS tracking 1Z999AA10123456784."
  • "Which SKUs have fewer than 10 units in stock?"
  • "Are there cancellation requests I should look at before shipping today?"
  • "When does my Temu access token expire?"

FAQ

Where do the credentials come from? From a self-developed app on the Temu Partner Platform: after Temu approves it, copy the App Key and App Secret. Then authorize the app in Seller Center under Authorization Management and paste the access token. The token expires; authorize again and paste the new one then.

Does Temu restrict where calls come from? Yes. The app's questionnaire asks for the IP addresses that call the API: enter the outbound address of your AnythingMCP server, which must be in the shop's region (United States or Europe).

Which tools install switched off? temu_agree_cancel_request, which cancels the order and refunds the buyer, and temu_set_sale_status, which takes a product off the shelf. Switch them on on the connector page only if the AI should use them.

Where is Muse available? Meta currently offers Muse in the US and Canada, on the web, in the iOS and Android apps and in WhatsApp.

Does Meta review this connector? No. Meta doesn't review custom connectors. Muse sees only the tools you switched on for this MCP server in AnythingMCP, and you can disconnect it anytime under Settings → Connectors.

Next steps

Was this guide helpful?

Connect Temu to Meta Muse in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Temu in the guided setup, then add your MCP URL to Meta Muse. No code and no server to run.

Related guides

Connectors

Connect Temu to ChatGPT via MCP: Orders and Stock

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Connectors

Connect Temu to Claude via MCP: Orders and Stock

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Connectors

Connect Temu to Microsoft Copilot via MCP

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Connectors

Connect Temu to Cursor via MCP: Orders and Stock

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Connectors

Connect Temu to Gemini CLI via MCP: Orders and Stock

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.

Connectors

Temu MCP Server: Orders, Shipments and Stock

Temu Partner API for sellers with a local shop: orders with buyer address and amounts, confirming shipments with your own carrier and tracking number, tracking, products and SKUs, stock, base prices, categories, and refund, return and cancellation requests. Self-developed app with App Key, App Secret and the shop's access token; calls are signed.