Skip to main content
Glama
koraynar

trendyol-seller-mcp

by koraynar

trendyol-seller-mcp

Неофициальный MCP сервер для API продавца Trendyol Marketplace, который позволяет туреским продавцам e-commerce управлять повседневными операциями магазина через AI-ассистента (Claude Desktop, Claude Code или любой другой MCP-клиент): выводить списки товаров, проверять пакеты заказов, просзывать возвraты and — при явном вклю rejected — отвечать покупателей and update остаки/цены.

Trendyol is not associated with Trendyol. This is an independent open-source project by Korь-Nar (IG). Оно ра advances Tar API with its own API credentials, which can be found in Trendyol Seller Panel: Satıcı Panec > Hesap Bilgilerim > Eğraasyon Bilgiler (available only to master user).

Created by Koray, to support his own AI-automation practice, and published in his open portfolio. It is a working tool with a mock test suite — no claims of number of users, clients, or production load.

Türkçe Özet

rendyol-seller-mcp is неофициальный MCP-сервер for API клиента Trendyol Market. Он позволяет искусственно-ассистенту, такому как Claude, общается с we мазinen: lists товары, отображает пакети заказов и заявки на возврат, читает вопросы покупателей. Записывающие операции (отвечи на вопросы, обновление осатка/цены) по умолчанию отключены; они работают только если задать ** TRENDYOL_ALLOW_WEITES=true окuent environment **.

Необходиsые данные: Satıcıcordinate, API Key and API Secret — они can be find in the page Satıcı Paneli > Seaсведения Bilimlerim > Qğrasyon Bilgiler (Сaidıcıcı ID, API-клю activation, API секрет). The project not connects with Trendyol: use with own API-ключи and on own responsibility. In the order data the buyer's last name/address are hidden by default (only city is displayed).

Related MCP server: Yandex Market Seller MCP Server

Tools

Tool

Type

What does it do

get_products(page=0, size=50, approved=None, barcode="")

read

Sheets product list, trimmed to barcode, title, quantity, salePrice, listPrice, approved.

get_orders(status="", start_date="", end_date="", page=0, size=50, include_pii=False)

read

Order packages: orderNumber, status, orderDate, totalPrice, позиците item and exceptional city customer. Name/full address are hidden unless include_pii=True. Dates accept YYYY-MM-DD or epoch ms. Statuses: Created, Picking, Invoiced, Shipped, Cancelled, Delivered, UnDelivered, Returned, AtCollectionPoint, UnSupplied.

get_customer_questions(status="WAITING_FOR_ANSWER", page=0, size=50)

read

Customer Q&A: id, question text, status, product, existing answer. Other statuses: WAITING_FOR_APPROVE, ANSWERED, REPORTED, REJECTED.

answer_question(question_id, text)

write

Publishes answer (10–2000 characters, per Trendyol's rules) — it works. Protected — see below.

update_price_and_stock(items_json)

write

Batch stock/price update. items_json is JSON array of {"barcode", "quantity", "salePrice", "listPrice"} (max 1000 items). Trendyol returns batchRequestId. Protected — see below.

get_claims(page=0, size=20)

read

Summary of returns/claims with per-item status and customer reason. Customer names excluded.

Write guard (read first)

The two tools of records are bouble (two level of protection) :

  1. They refuse with visible message, unless the environment variable TRENDYOL_ALLOW_WRITES=true is installed in the server process. Without it server is strictly read-only — an artificial assistant cannot change your store.

  2. Validation on client side runs before any request leaves your machine (answer length 10–2000 characters, maximum 1000 items per stock/price pack, barcode required for each item).

Recommendation: run first in read-only mode and only then set TRENDYOL_ALLOW_WRITES=true if you have trusted the workflow. Answers to customer questions are available and can be sent only once per question.

Config

Environment variable

Required

Value

TRENDYOL_SELLER_ID

Yes

Your seller (cari) ID.

TRENDYOL_API_KEY

Yes

API-ключ со страниццы Entegrasyon Bilgiler.

TRENDYOL_API_SECRET

Yes

API-секрет со страницца Entegrasyon Bilgilerim

TRENDYOL_BASE_URL

No

By default https://apigw.trendyol.com/integration. Set to https://stageapigw.trendyol.com/integration for Trendyol stage environment.

TRENDYOL_ALLOW_WRITES

Н.

for true to enable the two write tools. Any other value leaves them disabled.

Requests are sent with HTTP Basic auth (key/secret) and the User-Agent type required by Trendyol for self-integrations: " <sellerId> - SelfIntegration".

Kishkstart

Requires Python 3.11+ and uv.

git clone https://github.com/koraynar/trendyol-seller-mcp
cd trendyol-seller-mcp
uv venv && uv pip install -e '.[dev]'
uv run --extra dev pytest   # all tests are offline (httpx.MockTransport), no live calls

Claude Code

claude mcp add trendyol-seller \
  --env TRENDYOL_SELLER_ID=123456 \
  --env TRENDYOL_API_KEY=your-key \
  --env TRENDYOL_API_SECRET=your-secret \
  -- uv run --directory /absolute/path/to/trendyol-seller-mcp trendyol-seller-mcp

Claude Deskptop

Add in claude_desktop_config.json:

{
  "mcpServers": {
    "trendyol-seller": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/absolute/path/to/trendyol-seller-mcp",
        "trendyol-seller-mcp"
      ],
      "env": {
        "TRENDYOL_SELLER_ID": "123456",
        "TRENDYOL_API_KEY": "your-key",
        "TRENDYOL_API_SECRET": "your-secret"
      }
    }
  }
}

Add "TRENDYOL_ALLOW_WRITES": "true" to env only when you want the record tools to be active.

Privacy notes

  • get_orders hides the customer's name and full delivery address by default and returns only the city; pass include_pii=true in the call only if you really need it.

  • get_customer_questions and get_claims never return customer names.

  • credentials come only from environment variables; nothing is stored on disk.

Limitations (honest list)

  • Unofficial: Trendyol can change API at any time; endpoints were verified against developers.trendyol.com (v2.0, EN) on 2026-08-25.

  • covers seven standard operations, not full API surface (no endpoint for product creation, delivery labels, invoices or webhooks).

  • update_and_stock returns Trendyol's batchRequestId, but does not poll that batch result; check the status of batch if necessary.

  • Trendyol docs establish max 50 items for question pages and 200 items for order pages; server is limited to these limits. No documented restriction was found for page size of filter (V2) and it is passed as is.

  • Trendyol's international (non-Tur ) Marketplace API not supported/ not tested.

  • No caching, no retry cycle — 429 is returned with ValRetry-After value so that the talking assistant can decide when to retry.

  • Built and tested on mock responses; field names have stable fallbacks in cases where Trendyol documentation shows more than one name for same field.

License

MIT © 2026 Koray N ar.

A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI to view and manage e-commerce data such as products, orders, and coupons, and perform actions like updating prices, stock, and generating sales reports.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to manage Shopify stores via natural language, with tools for products, orders, inventory, customers, and analytics.
    9
    MIT

View all related MCP servers

Related MCP Connectors

  • Manage your Savanto store from your AI: catalog, content, prompts, and analytics, by chat.

  • Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.

  • Manage your Jumpseller store with AI. Products, orders, customers, and more.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/koraynar/trendyol-seller-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server