retail-inventory-mcp-server
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., "@retail-inventory-mcp-serverWhat are the current inventory levels at Fernwood Riverside?"
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.
Retail Inventory API — Server
Implements retail-inventory-api.json (the OpenAPI spec one level up) two
ways from one process: as the literal REST API the spec describes, and as
an MCP server exposing the same 8 operations as tools. Both are backed by
the same in-memory synthetic dataset, since the spec's servers entry
(api.retailpartner.com) is a design placeholder, not a real backend.
No persistence, logging, analytics, or caching — everything lives in
module-level Python lists for the life of the process. Rate-limit response
headers (X-RateLimit-Limit, X-RateLimit-Remaining) are present because
the spec requires them, but are fixed example values, not an enforced
limit — real enforcement would need exactly the kind of stateful
infrastructure this server is deliberately kept free of.
Auth matches the spec's stated model exactly: a Bearer API Key resolves to
one Partner, whose Store/Region/Brand scope filters every query. Demo keys
(see retail_inventory_auth.py):
API Key | Partner | Scope |
| Priya Nair, Store Manager | Fernwood Riverside only |
| Carlos Mendez, Regional VP | Columbus, OH region |
| Alice Smith, Inventory Planner | All Fernwood stores |
Run locally
pip install -r requirements.txt
python retail_inventory_mcp_server.pyServes on http://127.0.0.1:8090 (or $PORT if set):
REST API — the 8 paths exactly as declared in
retail-inventory-api.json(/stores,/stores/{storeId}/inventory-levels,/inventory-levels,/promotional-events,/sales-transactions,/inventory-recommendations,/inventory-recommendations/{recommendationId}/overrides,/metrics/full-price-sell-through-rate) — no/apior version prefix, since none is in the spec.MCP — streamable-HTTP at
/mcp, unchanged from before.Docs —
/serves a Swagger UI page (backed by/openapi.json) for browsing the spec. Not part ofretail-inventory-api.jsonitself, added so the deployed service has something to show a human visiting the root URL instead of a bare 404.
Related MCP server: ECommerce MCP Server
Call the REST API
curl -H "Authorization: Bearer rip_demo_store_key" http://127.0.0.1:8090/storesErrors follow the spec's RFC 9457 Problem Details format
(application/problem+json) for 400/401/404, exactly as documented.
Connect an MCP client
Send Authorization: Bearer <one of the demo keys above> when connecting to
http://127.0.0.1:8090/mcp.
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 Connectors
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Let AI agents query data and act across all your business apps via MCP.
Agentic commerce with 58 MCP tools for product search, checkout, A2A negotiation, C-Suite analytics.
Multi-tenant MCP gateway for AI commerce. One connection, every store.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Dynamics 365 Commerce systems through 125+ tools covering customer management, sales orders, cart operations, product searches, inventory tracking, and store operations. Provides comprehensive mock data for development and testing purposes.2
- FlicenseNot gradedqualityCmaintenanceEnables querying ecommerce data (customers, products, orders, reviews) using natural language via Cortex Analyst and Cortex Search, with SQL execution capability, all exposed as MCP tools.
- FlicenseNot gradedqualityCmaintenanceProvides read-only tools for querying a synthetic e-commerce dataset, including product categories, products, sales data, customer history, and order details.
- FlicenseNot gradedqualityBmaintenanceProvides tools for searching a sneaker catalog (hybrid keyword and semantic search), retrieving product details, and checking inventory stock.
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/dol7/retail-inventory-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server