Priceminder MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP server bind address | 127.0.0.1 |
| MCP_MODE | No | Run mode: stdio or http | stdio |
| MCP_PORT | No | HTTP server port | 8082 |
| LOG_LEVEL | No | Log level | INFO |
| SENTINEL_TOKEN | Yes | Your authentication token (required) | |
| SENTINEL_API_KEY | No | API key for backend auth | sentinel-mvp-2026 |
| SENTINEL_TIMEOUT | No | HTTP request timeout (s) | 30 |
| SENTINEL_API_BASE | No | Backend API base URL | https://priceminder.online/shopee |
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 |
|---|---|
| get_monitor_listA | 获取用户正在监控的商品列表。 用户可能的问法:
返回监控项数组,每项包含商品名、店铺、站点、基准价、当前价、变动幅度、状态等。 |
| get_price_summaryA | 获取指定商品或所有活跃监控商品的价格摘要,包括当前价、基准价、最高/最低/均价、趋势方向。 用户可能的问法:
如果不指定 monitor_id,返回所有活跃监控的摘要。可选指定 site(站点)和 days(天数,默认 3)。 |
| get_price_historyA | 获取指定商品的时间序列价格数据,可用于绘制价格趋势图或分析价格变化。 用户可能的问法:
需要提供 monitor_id(必填)。可选 days(默认 7 天,最大 90 天)。 |
| get_alertsA | 获取价格预警列表,查看系统推送过的所有降价预警。支持未读筛选和站点过滤。 用户可能的问法:
可选参数:
|
| add_monitorA | 添加一个新的商品到监控列表。用户需要提供一个 Shopee 商品 URL。 用户可能的问法:
需要提供 product_url(必填)。可选参数:
|
| update_monitor_statusA | 暂停或恢复某个监控项。 用户可能的问法:
需要提供 monitor_id(监控项 ID)和 status("paused" 暂停 / "active" 恢复)。 |
| mark_alert_readC | 将某条预警标记为已读,保持预警列表干净。 用户可能的问法:
需要提供 alert_id(预警记录 ID)。 |
| get_crawl_healthA | 检查后台采集引擎的运行状态,包括采集次数、各站点采集情况、过期监控检测。 用户可能的问法:
无需参数,直接返回采集系统健康报告。数据范围为当前用户自己的监控商品。 |
| get_monitor_overviewA | 获取所有监控的总览大盘数据,包括活跃监控数、今日采集/预警、各站点分布等。 用户可能的问法:
无需参数,返回监控大盘摘要。 |
| search_my_productsA | 在用户的监控列表中按关键词搜索商品(匹配商品名或店铺名)。 用户可能的问法:
需要提供 keyword(搜索关键词)。 |
| run_smart_follow_analysisA | 触发一次智能跟卖批处理分析(ALG-01~12,含 ALG-03/04/08/12 决策链),同步执行并返回结果状态。 用户可能的问法:
可选参数:
分析完成后用 get_smart_follow_results 查看每件商品的建议动作、目标价与理由。 同步执行最长等待 180 秒;若超时,跑批可能仍在后台继续,稍后再查结果即可。 |
| get_smart_follow_resultsA | 查看最近一次智能跟卖分析的结果:每个自营商品的建议动作、目标价、理由与竞品快照。 用户可能的问法:
可选参数:
建议动作取值:follow_price(跟进降价)/ hold_price(维持)/ observe(观察)/ raise_price(提价)/ improve_rating(优化评分)。 目标价只在 follow_price / raise_price 时有值,其他动作显示“—”。 |
| mark_self_ownedA | 把某个监控项标记为自己的商品(自营)或取消标记。只有自营商品会进入智能跟卖批处理。 用户可能的问法:
需要提供 monitor_id;is_self_owned 默认 true(false 表示取消标记)。 |
| map_competitorsA | 设置某自营商品的竞品映射。注意:这是覆盖式写入,会替换该自营商品原有的全部映射。 用户可能的问法:
参数:
所有竞品 ID 必须属于当前用户,否则整次写入被拒绝(不会部分生效)。 |
| get_competitor_mappingA | 查看自己的商品与竞品的映射关系(自营监控 ID → 竞品监控 ID 列表)。 用户可能的问法:
可选参数:
|
| create_decisionA | 记录一条跟卖决策建议(状态为 suggested,14 天后到期复盘)。决策会进入统计与复盘闭环。 用户可能的问法:
参数:
返回 decision_id 与 review_at;随后可用 adopt_decision 采纳或 reject_decision 拒绝。 |
| list_decisionsA | 查看历史跟卖决策记录,可按监控项和状态筛选。 用户可能的问法:
可选参数:
注意:接口按创建时间倒序返回全部,MCP 侧做状态筛选与截断,头部会标明总数。 |
| review_decisionA | 对一条决策做复盘,记录执行后的实际效果。 用户可能的问法:
参数:
说明:review_outcome 是留档文字,review_result 是用于统计的枚举;只传文字、不传枚举时统计不会计入。 |
| adopt_decisionA | 采纳一条决策建议,状态变为 adopted。可记录实际执行价。 用户可能的问法:
参数:
注意:hold_price / observe / improve_rating 这类建议通常没有目标价,采纳后实际执行价可能仍为空。 |
| reject_decisionA | 拒绝一条决策建议,状态变为 rejected。 用户可能的问法:
需要提供 decision_id。后端不限制状态流转(已拒绝的仍可再次采纳), MCP 侧不做前置校验,操作前请确认决策 ID 无误。 |
| get_smart_follow_statsA | 查看近 30 天智能跟卖决策统计:建议总数、采纳率、拒绝率、复盘有效率,以及按动作分组明细。 用户可能的问法:
无参数。复盘有效率只统计填写了结论枚举(effective/ineffective)的决策。 |
| get_algorithm_listA | 查看智能跟卖算法清单(ALG-01~12)及其启用状态与参数。 用户可能的问法:
无参数。返回 algo_id、名称、是否启用、参数(params)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Most tools target distinct resources/actions: monitor listing, price history, alerts, smart-follow batch analysis, and the decision lifecycle are clearly separated by name and description. There is mild overlap among get_monitor_list, get_monitor_overview, and search_my_products (all return slices of the monitor list), and between get_smart_follow_results and list_decisions, but the descriptions distinguish them adequately.
Every tool follows a consistent snake_case verb_noun pattern (get_*, add_*, update_*, mark_*, create_*, list_*, review_*, adopt_*, reject_*, run_*, map_*). The verb choice also reflects intent well: get_ for reads, mark_ for state flips, and lifecycle verbs for decisions.
22 tools is on the heavy side, but the server covers several real subsystems (monitoring, pricing, alerts, crawl health, smart-follow analysis, decision lifecycle, algorithm config), so most tools earn their place. A few listings/summary tools could be consolidated to trim the surface.
The decision lifecycle is complete (create/list/review/adopt/reject) and price/alert reads are covered, but the monitor lifecycle has notable gaps: there is no delete_monitor and no way to edit monitor settings such as check_interval or alert_threshold after creation, only a status pause/resume. Alerts likewise support mark-read but not delete/dismiss.