MCP Taobao Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DISPLAY | No | Xvfb virtual display number (inside container) | :99 |
| MCP_HOST | No | SSE listen host | 0.0.0.0 |
| MCP_PORT | No | SSE listen port | 8094 |
| MCP_TRANSPORT | No | Transport mode: stdio or sse | stdio |
| MCP_TAOBAO_SITE | No | Site mode: h5 (m.taobao.com) or pc | h5 |
| MCP_TAOBAO_SCREEN | No | Virtual screen resolution | 1280x1024x24 |
| MCP_TAOBAO_SLOWMO | No | Slow down each operation by milliseconds | 0 |
| MCP_TAOBAO_MAX_QTY | No | Maximum quantity per add to cart | 10 |
| MCP_TAOBAO_TIMEOUT | No | Page operation timeout in seconds | 30 |
| MCP_TAOBAO_HEADLESS | No | Run browser headless or not; order creation requires headed mode | false |
| MCP_TAOBAO_NOVNC_PORT | No | noVNC web page port | 6080 |
| MCP_TAOBAO_MAX_RESULTS | No | Maximum number of search results returned | 10 |
| MCP_TAOBAO_VNC_PASSWORD | No | VNC password; empty means no password (recommend behind reverse proxy) | |
| MCP_TAOBAO_USER_DATA_DIR | No | Browser persistent profile directory (login state) | ./profile |
| MCP_TAOBAO_MAX_ORDER_AMOUNT | No | Maximum order amount in yuan; 0 means no limit | 200 |
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| shangou_check_loginA | 检查是否已登录饿了么(淘宝闪购外卖)。未登录请调 shangou_open_login,并在 noVNC 里人工完成手机+短信+滑块登录。 |
| shangou_open_loginA | 打开饿了么登录页(手机号+短信验证码+滑块)。因含短信与滑块验证,须由人在 noVNC(http://<服务器IP>:6080/vnc.html) 的浏览器窗口里完成;返回当前页截图与操作指引。登录态在服务进程存活期间有效。 |
| shangou_list_addressesA | 列出账号里的常用收货地址(index/名称/联系人)。下单前需先用 shangou_set_address 选定一个地址。 |
| shangou_set_addressA | 选择收货地址以确定配送范围。参数 keyword=地址关键词(如'马家店春华园'),或 index=shangou_list_addresses 里的序号(从0起)。选好后即可搜附近店。 |
| shangou_searchA | 搜索附近可配送的店铺/美食。参数 keyword=关键词(如'奶茶'/'汉堡'/'超市'/'水果');limit=返回条数。需先登录并设好收货地址,否则返回结构化错误。 |
| shangou_shop_menuA | 查看某店铺的菜单/商品。参数 shop=店铺ID或店铺URL;limit=返回条数。返回菜品名称与价格(尽力解析)。 |
| shangou_add_to_cartA | 把某店铺的菜品加入购物车。参数 shop=店铺ID/URL;item=菜品名称;quantity=份数(默认1)。可能需先选规格,返回是否成功及截图。 |
| shangou_view_cartA | 查看某店铺当前购物车内容(尽力解析菜品与价格)。参数 shop=店铺ID/URL。 |
| shangou_create_orderA | 生成待支付外卖订单:点『去结算』走到确认订单/支付页即【停止,绝不提交付款】,返回金额、页面截图与人工付款指引。参数 shop=店铺ID/URL(需已在该店加购)。金额超过服务端上限(MCP_TAOBAO_MAX_ORDER_AMOUNT)会被拦截。付款请经 noVNC(:6080)在浏览器手动完成。 |
| shangou_submit_orderA | 【会真实提交订单】在确认订单页点『提交订单』,进入支付宝收银台即【停止,不输密码、不代付】,返回收银台支付链接与截图。仅在用户明确同意下单后调用(通常先 shangou_create_order 核对金额)。参数 shop=店铺序号。金额超上限(MCP_TAOBAO_MAX_ORDER_AMOUNT)会被拒绝。收银台链接与登录态/时效绑定,请在已登录浏览器(服务器为 noVNC:6080)打开付款。 |
| shangou_get_server_statusA | 查询服务配置与可用性(是否装好 playwright、profile 目录、有头/无头、默认定位、金额上限等)。无需登录即可调用。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ganyu123456/mcp-taobao-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server