连接器指南阅读约 5 分钟35 个 MCP 工具7 种语言

如何通过 MCP 将 Trendyol 连接到 Gemini

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Trendyol

Trendyol

Run a Trendyol seller account from an AI agent: products (Product v2 listing, creation, content, archive), stock and prices, buybox, batch results, shipment packages with status, tracking, carrier and invoice link, returns, customer questions and answers, categories, attributes and brands, addresses and finance settlements. Basic auth with the API key and secret.

个工具

35

区域

INTL

类别

电子商务

身份验证

Basic Auth

所需环境变量

TRENDYOL_API_HOSTTRENDYOL_SELLER_IDTRENDYOL_API_KEYTRENDYOL_API_SECRET
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Trendyol,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

试试这样问

Trendyol 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Trendyol · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Trendyol、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Trendyol + Gemini

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

TRENDYOL_API_HOST, TRENDYOL_SELLER_ID, TRENDYOL_API_KEY, TRENDYOL_API_SECRET

步骤 1 — 获取凭证

  1. 用 master user(管理员角色)登录 Trendyol 卖家后台(partner.trendyol.com)。只有 master user 能看到 API 密钥和 secret。
  2. 打开右上角的店铺名称 → Hesap Bilgilerim → Entegrasyon Bilgileri。把 Satıcı ID(一个数字)复制到 TRENDYOL_SELLER_ID,把 API Key 复制到 TRENDYOL_API_KEY,把 API Secret Key 复制到 TRENDYOL_API_SECRET。
  3. 对正式店铺,把 TRENDYOL_API_HOST 设为 https://apigw.trendyol.com。Stage(测试)主机 https://stageapigw.trendyol.com 需要单独的 stage 凭据,并且只响应已被 Trendyol 加入白名单的 IP 地址(其他地址会收到 503),因此适合自托管的测试安装,而不是你的正式店铺。
  4. 仅当你在 Trendyol 的国际站点销售时,才把 TRENDYOL_STOREFRONT_CODE 设为该站点的两位国家代码。Trendyol 土耳其站请留空。
  5. 安装连接器并运行 trendyol_list_stock_and_prices。

订单使用 v2 接口:trendyol_list_orders 通过 Trendyol 的 v2 订单接口(/v2/orders)读取发货包裹。Trendyol 已规定自 2026 年 10 月 15 日起必须使用该接口,届时旧的订单列表将停止工作。它最多只能查到最近一个月,日期范围最长 2 周(不指定日期时为最近一周),且每个筛选条件只能取到前 10,000 个包裹,因此要查看更多时,AI 会缩小时间范围或按状态筛选。

先确认:价格和库存更新、内容修改、包裹状态、追踪单号、更换承运商、发票链接、批准退货、回答提问、归档和创建商品,都会直接作用于你的正式店铺。AI 会先给你看将要改变的内容(带新旧数值的条码、包裹及其明细行、回答文本),并等待你确认。商品写入是异步的:返回成功只表示请求已进入队列,因此 AI 会用 trendyol_get_batch_request 检查结果(结果保留 4 小时)。

安装时默认关闭:trendyol_delete_products(无法撤销)、trendyol_report_unsupplied(为客户取消订单明细行,无法撤销)和 trendyol_reject_claim_items(请求 Trendyol 拒绝退回的商品)。

限制:每个接口每 10 秒最多 50 次请求,另外还有按服务组计算的每分钟限制,具体取决于你店铺的商品刊登等级。一次价格和库存更新最多包含 1,000 个条码(每个商品最多 20,000 件,售价不高于标价),Trendyol 会拒绝 15 分钟内重复提交的相同请求,以及同一条码每分钟超过 30 次的价格更新。财务列表需要指定交易类型,时间范围最长 15 天。

常见错误:带 ClientApiAuthenticationException 或 basic.authorization.failed 的 401:凭据错误(stage 和正式环境的凭据不同)。403:请检查 TRENDYOL_SELLER_ID,因为 Trendyol 要求使用由它生成的 User-Agent。429 too.many.requests:稍等片刻再试。

该连接器不使用旧主机 api.trendyol.com/sapigw、旧的订单列表或旧的商品筛选。

步骤 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 — 在 Gemini 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换 YOUR_MCP_API_KEY。
  2. 保存文件并重启 gemini。
  3. 在 Gemini CLI 中运行 /mcp(或在终端运行 gemini mcp list),anythingmcp 应显示为已连接。
  4. 开始输入提示,Gemini CLI 现在可以调用 Trendyol 的工具。

可用工具

ToolWhat it does
trendyol_list_productsList the seller's approved products (Product v2 filter): one entry per content (productMainId, title, brand, category, images, attributes)…
trendyol_list_unapproved_productsList products that are not approved yet: pending approval or rejected, with the reject reasons, price, stock and attributes
trendyol_list_stock_and_pricesList only stock and prices of approved products (list price, sale price, quantity, last stock change per variant)
trendyol_get_productRead the basic state of one product by barcode: approved or not (and when), archived, listing id and content id
trendyol_get_buyboxCheck the buybox for up to 10 barcodes: your position in the buybox, the buybox price and whether other sellers offer the same product
trendyol_get_batch_requestRead the result of an asynchronous product, price, stock, archive or delete request by its batchRequestId: overall status (IN_PROGRESS…
trendyol_create_productsCreate products (Product v2, up to 1,000 per call)
trendyol_update_price_and_inventoryUpdate the stock and prices of approved products (up to 1,000 barcodes per call, at most 20,000 units per product)
trendyol_update_product_contentUpdate the content of approved products (title, description, images, attributes) by contentId, up to 1,000 per call
trendyol_update_unapproved_productsCorrect products that are still waiting for approval or were rejected (title, description, brand, category, images, attributes, stock code…
trendyol_archive_productsArchive products (take them off sale) or bring them back from the archive, by barcode, up to 1,000 per call
trendyol_delete_productsDelete products from Trendyol by barcode
trendyol_list_ordersList shipment packages (orders) with their lines, customer, addresses, amounts, status, cargo provider and tracking
trendyol_update_package_statusMove a shipment package to Picking (you started preparing it) or Invoiced (with the invoice number)
trendyol_update_tracking_numberSend the carrier's tracking number of a package shipped with your own carrier, mainly on the international storefronts (Europe, Gulf)…
trendyol_change_cargo_providerChange the cargo company of a shipment package
trendyol_send_invoice_linkSend the link of the e-invoice (e-Fatura or e-Arşiv) of a shipment package; Trendyol forwards it to the customer
trendyol_report_unsuppliedReport that lines of a package cannot be supplied, which cancels them for the customer
trendyol_list_claimsList returns (claims) with the order, customer, cargo tracking and each returned item with the customer reason and status
trendyol_get_claim_item_auditRead the status history of one returned item: each status change, when and by whom
trendyol_list_claim_issue_reasonsList the reasons a seller can give when rejecting a returned item, with their ids for trendyol_reject_claim_items
trendyol_approve_claim_itemsApprove returned items that arrived at your warehouse; the customer is refunded
trendyol_reject_claim_itemsOpen a rejection request for returned items (for example a wrong or damaged item came back), with a reason from…
trendyol_list_questionsList customer questions about your products: text, product, status (WAITING_FOR_ANSWER to answer), date and the answer if any
trendyol_get_questionRead one customer question with the product, the answer and, if it was rejected or reported, the reason
trendyol_answer_questionAnswer a customer question (10 to 2,000 characters)
trendyol_list_categoriesFind categories for product creation
trendyol_get_category_attributesList the attributes of a leaf category: id, name, whether it is required, a variant attribute, allows several values or a free value
trendyol_list_attribute_valuesList the allowed values of one category attribute (attributeValueId and name), for attributeValueIds in trendyol_create_products
trendyol_search_brandsFind brands by name to get the brandId for trendyol_create_products
trendyol_list_brandsList all brands page by page (id and name)
trendyol_list_cargo_providersList the cargo companies available on the storefront (code and name)
trendyol_list_addressesList the seller's shipment, invoice and return addresses with their ids (shipmentAddressId and returningAddressId for products) and the…
trendyol_list_settlementsList settlement lines: sales, returns, discounts, coupons, commissions and their payout, with amounts, commission rate, seller revenue…
trendyol_list_other_financialsList other financial records: payment orders (payouts), wire transfers, incoming transfers, deduction and return invoices, commission…

示例提示

  • “过去 3 天的发货包裹中,哪些仍处于 Created 状态?每个包裹包含哪些明细行?”
  • “检查条码 8680001234567 和 8680001234574 的 Buybox,告诉我是否有其他卖家拿到了 Buybox,价格是多少。”
  • “列出等待回答的客户提问,并为每个问题起草回复,但在发送任何回复之前先给我看。”
  • “根据 10 月 1 日至 15 日的结算,汇总我们的销售额、退货和佣金。”

FAQ

Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。

下一步

这份指南对你有帮助吗?

你的 Trendyol 智能体只差一次点击。

安装连接器,粘贴密钥,向 Gemini 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Trendyol 连接到 ChatGPT

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

连接器

如何通过 MCP 将 Trendyol 连接到 Claude

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

连接器

如何通过 MCP 将 Trendyol 连接到 Cursor

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

连接器

如何通过 MCP 将 Trendyol 连接到 Meta Muse

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

连接器

Trendyol 接入 MCP:从任意 AI 代理驱动 Trendyol

通过 AI 代理运营 Trendyol 卖家账户:商品(Product v2 列表、创建、内容、归档)、库存和价格、Buybox、批处理结果、带状态、物流追踪、承运商和发票链接的发货包裹、退货、客户问答、类目、属性和品牌、地址以及财务结算。使用 API 密钥和 secret 进行 Basic 认证。

连接器

如何通过 MCP 将 Avito 连接到 Gemini

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。