storelink-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STORELINK_MODE | No | mock = in-process fixtures; http = call the real API | mock |
| STORELINK_API_KEY | No | Optional Bearer for non-store endpoints | |
| KORRAL_GCP_PROJECT | No | GCP project where Korral stores weekly-rotated store keys (required in http mode) | |
| STORELINK_BASE_URL | No | Base URL used in http mode | https://storelink.com |
| STORELINK_BUYER_MD | No | Category-buyer activity (readable markdown) | logs/buyer-activity.md |
| STORELINK_AUDIT_LOG | No | NDJSON audit log file path | logs/storelink-audit.ndjson |
| STORELINK_BUYER_LOG | No | Category-buyer activity (JSON lines) | logs/buyer-activity.ndjson |
| STORELINK_THREAD_ID | No | Optional agent/thread id for correlating a chat | |
| KORRAL_SECRET_PREFIX | No | Secret id = {prefix}{store_id} (e.g. korral-store-47) | korral-store- |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to service account key file for GCP Secret Manager (Application Default Credentials) |
Capabilities
Features and capabilities supported by this server
| 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 |
|---|---|
| list_storesA | List all StoreLink stores (id, name, city, country code, active flag). Args: reason: Why you are listing stores (required for audit). |
| get_storeA | Get details for a single store by store_id (e.g. 47 or store-001). Args: store_id: Store identifier. reason: Why you need this store's details (required for audit). |
| get_on_hand_vs_posA | Current on-hand plus POS sales for a SKU at a store (category buyer view). Returns inventory, last-24h POS (by default), delta = units_sold − available, and a product block (name, case_pack, supplier lead_time_days) for order sizing. If delta >= 6, call create_replenishment (prefer multiples of case_pack). Args: store_id: Store identifier (e.g. 47 or 102). sku: Product SKU (e.g. 8847291 for Madeta butter 250g). reason: Why you are checking on-hand vs POS (required for audit). since: Optional ISO-8601 start of the POS window. If omitted, defaults to 24 hours ago (UTC). |
| create_replenishmentA | Raise a replenishment order when get_on_hand_vs_pos delta >= 6. Call after get_on_hand_vs_pos when units_sold − available is at least 6. Prefer ordering in multiples of product.case_pack from that response. Args: store_id: Store identifier (e.g. 47). sku: Product SKU to replenish (e.g. 8847291). quantity: Units to order (must be > 0; prefer case_pack multiples). reason: Why you are raising this order (required for audit). order_reason: Optional note stored on the replenishment order record. priority: One of low, normal, high, urgent (default normal). |
| get_replenishmentB | Get status of a replenishment order by store_id and order_id. Args: store_id: Store identifier. order_id: Replenishment order id. reason: Why you are checking order status (required for audit). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| buyer_activity_feed | Plain-language activity feed for category buyers (what the agent did and why). |
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/aleccritser/storelink-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server