款多多即时零售运营分析平台 · 统一能力入口 · 13域93数据工具 + 能力网关9工具
V2.2 · 2026-08-19https://aimo.kddauto.com/mcp/gateway 采用 default-deny 认证。
所有公网调用必须携带 X-Gateway-Key 请求头(dgk_ 本地 Key 或 tk-ai- 天枢统一 Key),
无 Key 返回 401,Key 无效返回 403。详细接入指南见
docs/中枢统一数据网关/06_MCP全流程架构与外部AI接入指南_V7.0.4.md。
| MCP 端点 | https://aimo.kddauto.com/mcp/gateway |
| 说明网页 | https://aimo.kddauto.com/mcp(GET 文档页,非协议端点) |
| 健康检查 | 6009 根路径 GET(/mcp/gateway 返回版本/工具数/口径声明) |
| 协议 | MCP Streamable HTTP (SSE) |
| 认证方式 | 天枢统一Key(tk-ai-*)或中枢本地Key(dgk_*),通过 X-Gateway-Key 请求头发送 |
| Key获取 | 统一Key由天枢签发(一套Key通四个系统),详见 天枢MCP接入页 |
| 数据保护 | 只读模式 · 品牌级隔离 · SQL注入拦截 |
# 查看服务状态(GET请求,返回JSON) curl -s https://aimo.kddauto.com/mcp | python3 -m json.tool # 预期响应(截取) { "code": 0, "data": { "tools": 85, "version": "10.0.0-p2", "domains": ["dashboard","report","store","product","user","order","ai","system","fulfillment","promotion","inventory","advanced_ai","insight"], "supply_chain": "库存/履约/补货/物流独立统计(services/supply_chain 独立模块,不混入零售口径)", "retail_scope": "订单/营收/门店/用户/商品/渠道/品牌(v_fact_order_detail_retail 零售核心口径)" } } # MCP客户端连接方式(Streamable HTTP协议) # 端点: https://aimo.kddauto.com/mcp/gateway (POST JSON-RPC,必带Accept: application/json, text/event-stream) # 协议: MCP Streamable HTTP (SSE) # 认证: X-Gateway-Key 请求头(tk-ai-* 天枢统一Key 或 dgk_* 中枢本地Key) # 示例: curl -X POST https://aimo.kddauto.com/mcp/gateway -H "Content-Type: application/json" \ # -H "Accept: application/json, text/event-stream" -H "X-Gateway-Key: tk-ai-xxx" \ # -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"my-agent","version":"1.0"}}}' # 注意: /mcp 为说明文档页(GET),协议端点统一使用 /mcp/gateway
长庚总铁律:全栈零售/供应链数据分离。中枢 MCP 所有业务分析工具统一使用零售口径,供应链业务独立模块与独立存储,互不混杂。
| 口径 | 数据源 | 覆盖工具域 | 说明 |
|---|---|---|---|
| 零售核心 | v_fact_order_detail_retail |
dashboard/report/store/product/user/order/ai/fulfillment/promotion/inventory | 即时零售唯一口径(order_type='retail'),订单/营收/门店/用户/商品/渠道/品牌 |
| 供应链独立 | services/supply_chain + /api/v1/supply-chain |
库存/履约/补货/物流 6端点独立统计 | 数据独立存储(meituan_data.mv_store_sku_inventory 等),不混入零售,前端 /supply-chain 独立导航 |
| 系统核验 | fact_order_detail 全量 |
system_data_integrity | 仅系统健康检查(含供应链/礼品),不参与业务分析 |
brand_id 可选 · days 默认30 · channel 可选brand_id 可选 · days 默认30 · channel 可选brand_id 可选 · days 默认30brand_id 可选 · days 默认90brand_id 可选 · days 默认90brand_id 可选 · limit 默认20brand_id 可选 · days 默认90brand_id 可选brand_id 可选 · days 默认30brand_id 可选brand_id 必填 · date_str 可选brand_id 可选brand_id 可选 · limit 默认20brand_id 必填 · days 默认30brand_id 必填brand_id 必填 · days 默认30brand_id 必填 · event_start · event_endbrand_id 必填 · quarter 可选brand_id 必填 · days 默认30brand_id 可选 · limit 默认20brand_id 可选brand_id 可选 · limit 默认50brand_id 必填 · limit 默认20brand_id 可选 · store_id 可选brand_id 可选 · months 默认12store_ids 必填(逗号分隔)brand_id 可选 · days 默认90store_id 或 store_name 必填 · start_date/end_date 默认近30天 · brand_id 可选store_ids 或 store_names 逗号分隔(≤20家) · start_date/end_date · brand_id 可选store_id 或 store_name 必填 · start_date/end_date 默认近30天 · limit 默认50brand_id 可选brand_id 可选brand_id 可选 · min_support 默认0.01 · top_n 默认20brand_id 可选brand_id 可选brand_id 可选brand_id 可选brand_id 可选brand_id 可选brand_id 可选brand_id 可选brand_id 可选 · inactive_days 默认30brand_id 可选 · days 默认90brand_id 可选 · months 默认6brand_id 可选 · days 默认90brand_id 可选order_sn 必填brand_id 可选brand_id 必填 · metric 默认revenue · days 默认30brand_id 可选 · REST: POST /api/v1/forecast/predictbrand_id 可选brand_id 必填 · question 必填brand_id 可选 · top_n 默认20brand_id 可选 · product_name 可选brand_id 必填 · store_id 可选question 必填brand_id 可选 · days 默认30brand_id 可选 · days 默认30brand_id 可选 · limit 默认20brand_id 可选 · days 默认30brand_id 可选brand_id 可选 · days 默认90brand_id 可选 · days 默认90brand_id 可选 · days 默认90brand_id 可选 · days 默认90brand_id 可选 · days 默认90brand_id 可选 · days 默认90brand_id 可选brand_id 可选 · days_no_sale 默认30brand_id 可选brand_id 必填brand_id 必填brand_id 可选 · months 默认12scenario 可选(留空返回全部场景列表)algorithm 必填(forecast/replenish/pricing/selection/demand/health) · decision_type 必填(predict/price/replenish/select/evaluate) · brand_id 可选 · output_summary 可选 · confidence 可选https://aimo.kddauto.com/api/v1/capability-gateway/{path},
AI 通过 MCP 网关统一调用,携带 X-API-Key(kdd_)或天枢统一 Key。
path 必填path 必填 · content 必填path 必填 · old_string 必填 · new_string 必填path 必填pattern 必填 · path 可选pattern 必填command 必填 · timeout 默认30url 必填query 必填