alibaba-seller-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SOCIAL_MODEL | No | Claude model used for social content generation (default claude-opus-5). | claude-opus-5 |
| ALIBABA_APP_KEY | Yes | Alibaba.com open-platform app credentials (App Key) from the console. | |
| ANTHROPIC_API_KEY | Yes | Anthropic API key used by Claude for social-content generation and AI-enriched product detail. | |
| ALIBABA_APP_SECRET | Yes | Alibaba.com open-platform app credentials (App Secret) from the console. | |
| ALIBABA_LOCAL_BIND | No | Local bind address for the auth helper when auto-capturing the OAuth code through a public https tunnel, e.g. 127.0.0.1:8721 (equivalent to passing --bind). | |
| ALIBABA_REDIRECT_URI | Yes | OAuth callback URL registered in the console. Must byte-match the callback registered in the app console. If it is a localhost URL (e.g. http://127.0.0.1:8721/callback), the local auth helper auto-captures the code; otherwise it asks you to paste the redirected URL. | |
| ALIBABA_MCP_ALLOWED_DIRS | No | Filesystem allowlist: tools that take a local path (read_local_media, read_price_file, product manifests and their referenced assets, generate_product_detail(save_to=...)) resolve the path and confine it to this setting. Defaults to the current working directory. Paths outside the allowlist, including .. traversal, are rejected. | |
| ALIBABA_PRODUCT_DESC_TYPE | No | Description mode mapped to the schema field productDescType (default 1 = 智能编辑). | 1 |
| ALIBABA_METHOD_PHOTO_UPLOAD | No | Granted API method name for photo bank upload. The exact method names/paths and product field schema are category-specific; check your app console's API权限包 → 详情 pages and adjust this if it differs from the default. | |
| ALIBABA_METHOD_PRODUCT_CREATE | No | Granted API method name for product creation. The exact method names/paths and product field schema are category-specific; check your app console's API权限包 → 详情 pages and adjust this if it differs from the default. | |
| ALIBABA_METHOD_PRODUCT_UPDATE | No | Granted API method name for product update. The exact method names/paths and product field schema are category-specific; check your app console's API权限包 → 详情 pages and adjust this if it differs from the default. |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| alibaba_get_authorize_urlA | Get the OAuth URL the seller opens to grant this app access. Send the returned URL to the seller. After they approve, the platform
redirects to the app's configured callback with a |
| alibaba_complete_authorizationA | Exchange an OAuth |
| alibaba_complete_authorization_from_urlA | Complete authorization from the full callback URL the seller landed on. Handy when the callback is a page like https://www.alibaba.com — paste the
whole redirected address (containing |
| alibaba_auth_statusB | Show whether a seller is authorized and when the token expires. |
| alibaba_raw_callB | Call any granted API by method name (e.g. Escape hatch for testing/verifying methods. It can invoke write APIs, so it is
not read-only. Set |
| read_local_mediaA | Inspect a local image or video (type, size, and image dimensions). The path is confined to the server's allowed directories. |
| read_price_fileA | Read prices from a local CSV or JSON file into normalized rows. The path is confined to the server's allowed directories. |
| product_upload_imageA | Upload one local image to the photo bank; returns {file_id, url}. The path is confined to the server's allowed directories. |
| product_get_schemaA | Get the publish schema for a category: fillable fields, types, required flags, and allowed options. Inspect this before publishing. |
| category_get_attributesA | Get a category's system-defined attributes (for |
| product_publishA | Publish a product from a manifest file (product.json), creating a new product. The manifest gives |
| product_publish_from_briefA | Publish a product from a minimal brief — the seller provides only facts; Claude enriches the rest. Provide |
| product_render_draftB | Read back a DRAFT product's saved fields (schema.render.draft). |
| product_updateB | Incrementally update an existing product (schema.update) from a manifest. Only the fields present in the manifest are changed. Re-applying the same manifest yields the same state (idempotent). Paths are confined to the server's allowed directories. |
| product_group_getA | Get a product group's info (name, parents, child groups). Pass group_id=-1
(default) to list all top-level groups (returned under |
| video_relate_productA | Associate a video with a product. |
| video_list_relatedC | List product ids related to a video. |
| video_queryA | Query the seller's videos (to find video ids). Requires paging params, e.g.
params={"current_page": "1", "page_size": "20"}; each item has a |
| generate_product_detailA | Generate a structured product detail with Claude (title, highlights, ordered image+text modules, attributes, keywords, FAQs). The title is normalized to Alibaba title case; pass |
| generate_social_contentC | Generate platform-tailored social posts for a product with Claude. Token usage is recorded automatically (see |
| usage_statsA | Report AI token usage and estimated USD cost (from the local usage log). Filter by |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| usage_summary_resource | A quick all-time usage summary, grouped by model. |
TDQS
Scored across 21 tools
Most tools target distinct resources or actions, but there are overlapping pairs: alibaba_complete_authorization vs alibaba_complete_authorization_from_url, and product_publish vs product_publish_from_brief vs generate_product_detail. Descriptions clearly distinguish inputs and use cases, so misselection is unlikely but possible for an agent skimming.
The set mixes naming conventions: namespace-prefixed (alibaba_*), resource-prefixed (video_*, product_*), verb-first (read_*, generate_*), and standalone usage_stats. Names remain readable, but there is no predictable verb_noun or resource_verb pattern throughout.
At 21 tools the set is in the borderline-heavy range. The broad domain (auth, product publishing, video, AI generation, local utilities) justifies many tools, but several auth and publish variants could potentially be consolidated.
Core publishing, updating, draft inspection, schema lookup, media handling, and content generation are covered. However, there is no product delete, no live product get/list, and no order or inventory operations; alibaba_raw_call is an escape hatch rather than a proper complete surface.