Skip to main content
Glama
SMCodesP

AliExpress MCP

by SMCodesP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AE_LOCALENoLanguage / localisation (e.g. pt_BR for Portuguese).de_DE
AE_REGIONNoShip-to region (e.g. BR for Brazil).DE
AE_CURRENCYNoDisplay currency (e.g. BRL for Brazilian Real).EUR
MCP_TRANSPORTNoMCP transport type; set to 'stdio' for a classic stdio MCP server.http
AE_COOKIE_FILENoPath to a text file containing the AliExpress cookie string.~/.gemini/config/aliexpress_cookie.txt
AE_MTOP_COOLDOWNNoSeconds to stop attempting MTop product detail after it answers with an anti-bot challenge.900
AE_MAX_CONCURRENTNoProcess-wide cap on concurrent requests to AliExpress.2
ALIEXPRESS_COOKIENoFull cookie string or session cookies (aep_usuc_f, xman_t, etc.) to bypass anti-bot / TMD punish page.
AE_BROWSER_ENABLEDNoBrowser transport for product detail.true
AE_BROWSER_ATTEMPTSNoAttempts per lookup, each in a fresh context.3
AE_BROWSER_HEADLESSNoHeadless mode for Chromium.true
AE_BROWSER_TIMEOUT_MSNoPer-attempt budget.45000
AE_BROWSER_RETRY_DELAY_SNoPause between attempts.1.5

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_aliexpressA

Search AliExpress product listings by keyword.

Returns a list of products — id, title, sale price (and original price / discount), star rating, orders-sold text, thumbnail image and product URL. Prices and titles follow the configured market (Germany / EUR by default). Pass a product's id to get_aliexpress_product for full details.

get_aliexpress_productA

Retrieve the record of one AliExpress product.

Use after search_aliexpress surfaces something worth a closer look.

How complete the answer is depends on which source could serve it, so check the source and partial fields before describing it to the user:

  • source: "mtop", partial: false — the full record: title, selected-variant price plus per-variant pricing, star rating and review count, orders sold, stock, the store (name, positive rating, country), shipping (origin, ship-to, delivery estimate), the SKU option axes (e.g. colour / size), specifications and all product images.

  • source: "ssr+search", partial: true — AliExpress is currently gating its detail API behind an anti-bot challenge, so the record is composed from the product page and search results: title, images, url, price, rating and orders. Every field that could not be obtained is named in unavailable. Occasionally even price/rating cannot be recovered; price_note explains why and search_status distinguishes the two causes — blocked (AliExpress is rate-limiting right now, so it is worth retrying later) from not_found (the listing genuinely did not turn up in search). Say which one it was rather than just "no price available".

Prices are in the configured currency (EUR by default). A field listed in unavailable is unknown, not absent from the listing — do not tell the user a product has no variants, no reviews or no shipping options on that basis; say that detail could not be retrieved.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one searches for product listings while the other retrieves details for a specific product. Their descriptions explicitly cross-reference each other, leaving no ambiguity about when to use which.

Naming Consistency4/5

Both names use a consistent snake_case, action-first style: search_aliexpress and get_aliexpress_product. The minor deviation is that one name lacks a noun object, but the pattern is still predictable and readable.

Tool Count3/5

Two tools is a minimal but reasonable surface for a read-only product search and detail lookup server. It feels thin compared to more feature-complete e-commerce servers, but each tool earns its place in the core workflow.

Completeness4/5

The search-then-get flow covers the main user journey without dead ends. Pagination, category browsing, or review listing could be useful additions, but they are not essential gaps for the stated purpose of searching and inspecting products.

Maintenance

ActivityMaintained
ResponsivenessNo issues