storelink-mcp
MCP server for managing store replenishment, including listing stores, raising orders, checking order status, and viewing SKU reports with observability and key rotation handling.
README
MCP tools decision
Public Tools
server.py
- list_store() > read only -- agent tool to determine which stores are available to access
- raise_replenishment_order() > write -- provide the agent the capability to place orders on behalf of Korral
- replenishment_order_status() > read only -- agent tool to determine the status of a placed order
- sku_report() > read only -- agent tool to assess sku information, including supplier and lead time
Utility private functions (not agent tools)
server.py
- sku_lead_time() > read only (private) -- utility tool for the sku_report public tool to determine how fast an order can be fulfilled.
- stock_report(sku) > read only (private) -- compare what is in stock/on-hand vs recent post transactions for the sku
Observability
Package in observability/
1. Technical trace — for support / engineers
Structured JSON on the storelink_mcp.trace.technical logger, meant for
diagnosing issues as they happen:
- Explicit MCP server version (
mcp_server.name+version) on every record. - Correlation
trace_id(shared with the audit stream) and the MCPrequest_id. - Tool name and business arguments (the audit-only
reasonis stripped out). - Per-leg downstream spans — every StoreLink HTTP call with method, path,
status, latency, and retry
attempts, taggedleg: "mcp<->storelink". - On failure: the failing connection leg (
duvo<->mcpvsmcp<->storelink), the unwrapped root-cause error type/message (FastMCP wraps tool errors in aToolError; the originalStoreLinkAPIErroris surfaced withwrapped_by), and the full chained stack trace.
2. Audit trace — for buyers (non-technical stakeholders)
A readable line on the storelink_mcp.trace.audit logger:
- A plain-English description of each step the agent took.
- The agent's reasoning, captured via an optional
reasonargument added to every public tool (the model is instructed to always provide it). - A buyer-friendly outcome — a summary of the result on success, or a calm "this step could not be completed" note on failure (never a stack trace).
- A running
step_numberso the actions read in order.
Keys transactions
Each StoreLink API key (X-Korral-Store-Key) is scoped to one store id.
There are two scenarios to consider per the assessment brief: a) key rotates mid-flight and b) unknown store id is referenced.
-- For a, when a key is rotated while a request is in flight e.g. storelink api returns 40x errors, invalidate the currently stored key, reload with the newly rotated key, and retry (max 3).
-- For b, when a new or unknown store is provided, before making any request to the storelink API, inform the end user (buyer) that the store number referenced is not included in the available stores, provide them explicit written instructions to ask the Korral IT team to provision a key for the store provided.
Shipping
-- Where this runs: The MCP server will run in Korall's GCP instance via GCP Cloud Run where all the data is already internal/private. Assuming that StoreLink API also exists in the same GCP instance, all the data that comes into the MCP server is also internal/private.
-- How it gets there: The MCP server will be built as a docker image that Duvo maintains and ships out to Korral for verification before they deploy new builds/changes done by Duvo.
-- How secrets are handled: see Keys transactions section
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。