Korral StoreLink MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Korral StoreLink MCPAssess stock position for store 47 and raise replenishment if needed."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Korral StoreLink MCP
A small FastMCP server and custom local client for Korral's stock-assessment and replenishment workflow. The StoreLink API is represented by a deterministic stub, as permitted by the assignment; no real Korral system or customer data is used.
What works
The MCP server exposes exactly three Pydantic-validated tools:
inspect_stock_position: returns on-hand units, POS units sold over the requested window,gap = max(POS - on-hand, 0), and whether the gap exceeds the threshold.raise_replenishment: creates one order for an explicit positive quantity and returns its StoreLink order ID and status.get_replenishment_status: retrieves the status of a known order.
The surface deliberately omits raw POS transactions, arbitrary StoreLink requests, store/SKU administration, supplier lookup, and credential tools. The supplied buyer task does not need them, and exposing them would give an agent broader access without improving the acceptance path. Assessment and replenishment remain separate so the buyer audit can show the evidence before the consequential action.
The custom FastMCP client runs the validated cases in
examples/step2_buyer_case, writes one readable JSON file
per run under audit_trails/, and prints redacted StoreLink call evidence. Technical
events are JSON logs on stderr for FDE troubleshooting.
Related MCP server: StockPilot-MCP-Server
Local setup and demo
Python 3.12+ and uv are required.
uv sync --all-groups
export KORRAL_STORE_KEYS_JSON='{"47":"demo-key-47","102":"demo-key-102"}'
uv run korral-demoRun the strict > 6 boundary case:
uv run korral-demo --case examples/step2_buyer_case/strict_threshold.jsonThe command prints the assessment, order, status, and redacted stub calls. Its
audit_path points to the saved buyer audit. Demo keys are synthetic and must not be
reused outside local development.
Run the MCP service
HTTP is the packaged default:
export KORRAL_STORE_KEYS_JSON='{"47":"demo-key-47","102":"demo-key-102"}'
uv run korral-mcpThe Streamable HTTP endpoint is http://localhost:8000/mcp. Set
MCP_TRANSPORT=stdio for a local stdio client. Other configuration is documented in
.env.example; production should set KORRAL_STORE_KEYS_FILE to a Secret
Manager-backed mounted JSON file rather than placing key values in process arguments.
Test and quality commands
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run mypyTests use only the StoreLink stub. They prove the mixed and threshold cases, the narrow tool surface, Pydantic rejection of a non-positive order, in-flight key rotation, failed refresh, missing-store credentials, audit persistence for successful and failed runs, ambiguous-write review without retry, and secret redaction.
Recording checklist
The submission recording should show the complete acceptance evidence in this order:
Run
uv run korral-demoand point out the three MCP tool calls.Show store 47's gap of 8, its 8-unit accepted order, and store 102's no-order result.
Open the printed
audit_pathand show the evidence, decision, order, and outcome.Run
uv run pytestand show the credential rotation, missing credential, and uncertain-write tests passing.Show the successful
docker build -t korral-storelink-mcp:local .command and briefly explain the Korral-owned deployment path inDEPLOYMENT.md.
Container
docker build -t korral-storelink-mcp:local .
docker run --rm -p 8000:8000 \
-e KORRAL_STORE_KEYS_JSON='{"47":"demo-key-47","102":"demo-key-102"}' \
korral-storelink-mcp:localThe container runs as a non-root user. For a containerized demo client, mount an audit
directory and override the command with korral-demo. See DEPLOYMENT.md
for the customer deployment and rotation story.
Assumptions and deliberate shortcuts
The example gap and order quantity are both
max(last-24h sales - on-hand, 0).A gap must be strictly greater than six; exactly six does not order.
StoreLink responses and authentication rejection are stubbed. The credential and retry boundary is real, but a real
httpxadapter awaits Korral's complete schemas.An explicit authentication rejection is retried once after reloading the secret. Ambiguous writes must be reviewed and are never blindly retried.
The custom client is deterministic; no LLM is needed. A future agent may interpret language, but calculation, validation, credentials, and writes stay deterministic.
MCP client authentication and a production audit sink must be agreed with Korral IT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseAqualityCmaintenanceProvides identity, permission, audit, and recall for healthcare AI agents, with tools for registering agents, checking permissions, recording actions, and verifying audit integrity.Last updated7MIT- Flicense-qualityBmaintenanceProvides inventory analysis, risk assessment, demand forecasting, and recommendation generation tools for retail inventory optimization via a FastMCP stdio server.Last updated1
- Alicense-qualityCmaintenanceA lightweight, local inventory-intelligence MCP server that enables querying structured inventory schemas with read-only, zero-config tools for stock levels, velocity metrics, and purchase orders.Last updated20MIT
- FlicenseAqualityBmaintenanceMCP server for managing store replenishment, including listing stores, raising orders, checking order status, and viewing SKU reports with observability and key rotation handling.Last updated4
Related MCP Connectors
Manage products, EU Digital Product Passports, operator parties, and GS1 EPCIS supply-chain events.
A paid remote MCP for ShipSwift, built to return verdicts, receipts, usage logs, and audit-ready JSO
Runtime permission, approval, and audit layer for AI agent tool execution.
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/HillmaDa/korral-storelink-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server