Commerce MCP App
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., "@Commerce MCP Appfind me a laptop with 16GB RAM under $800"
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.
Commerce MCP App
A cross-platform MCP App for product discovery, session-scoped carts, and confirmation-gated checkout.
Tool contract
search_products— the only model-facing product discovery tool. Handles browsing, natural-language queries, categories, price constraints, attributes, ranking, and pagination.list_products— app-only unfiltered catalog loader; hidden from the model to prevent routing ambiguity.add_to_cart— adds an exact product ID to the current session cart.remove_from_cart— removes an exact product ID from the current session cart.view_cart— returns the current session cart.checkout_cart— previews checkout unlessconfirmed=true; accepts an idempotency key for safe retries.
The React UI is served at ui://products/index.html. Every UI-backed tool also returns text content for hosts without MCP Apps support.
Related MCP server: Enneagora E-commerce MCP Server
Product accuracy pipeline
search_products does not send a conversational sentence to the upstream literal search endpoint. It:
Normalizes common product synonyms and categories.
Extracts price bounds and ranking intent from ordinary shopping language.
Retrieves the full catalog through the resilient API client.
Applies deterministic constraints.
Ranks matching candidates by title, category, description, tags, rating, or requested price order.
Returns the normalized intent in
structuredContentfor debugging and evaluation.
This local retrieval pipeline is appropriate for the small DummyJSON catalog. For a large production catalog, replace candidate retrieval with a search index while retaining the same intent and ranking contract.
Reliability and safety
Retry with exponential backoff for network, 429, and 5xx failures.
Request timeout, ETag revalidation, LRU caching, and stale-cache fallback.
Zod validation at the upstream catalog boundary.
Optional bearer-token authentication with explicit 401 responses.
Cart isolation by MCP transport session; stdio processes are naturally one client per process.
Cumulative per-product quantity limits.
Explicit confirmation and idempotent replay for checkout.
MCP annotations describing read-only, destructive, and idempotent behavior.
The sample checkout produces a local receipt. A real deployment must replace it with transactional inventory, order, and payment services.
Commands
npm install
npm run check
npm test
npm run build
npx -y @mcpjam/inspector@latestPaid model-routing evals are intentionally separate:
npm run evalConfiguration
PRODUCTS_API_ENDPOINT— defaults tohttps://dummyjson.com/productsPRODUCTS_API_BEARER_TOKEN— optionalPRODUCTS_API_TIMEOUT_MS— defaults to8000PRODUCTS_API_MAX_RETRIES— defaults to3PRODUCTS_API_BASE_BACKOFF_MS— defaults to300PRODUCTS_API_MAX_BACKOFF_MS— defaults to3000PRODUCTS_API_CACHE_TTL_MS— defaults to30000PRODUCTS_API_CACHE_MAX_ENTRIES— defaults to100
Evaluation strategy
npm test is deterministic and covers API resilience, response validation, query parsing, ranking, cart isolation, quantity constraints, and UI behavior. npm run eval measures model tool selection and argument extraction without a routing answer sheet. Product-result correctness is covered by deterministic golden-set tests so provider outages or exhausted credits cannot masquerade as zero product accuracy.
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
- Alicense-qualityDmaintenanceEnables interaction with Amazon services through AI assistants, allowing users to search products, manage their cart, view order history, and place orders using natural language.7MIT
- Alicense-qualityDmaintenanceEnables customer support across e-commerce platforms by providing order management, product guidance, and account assistance tools through natural language queries.4MIT
- FlicenseAqualityDmaintenanceEnables AI-powered shopping assistance by analyzing natural language shopping queries and automating product searches on multiple e-commerce platforms.12
- Flicense-qualityDmaintenanceEnables e-commerce shopping assistant capabilities including product search, cart management, payment processing, and order fulfillment via MCP tools.
Related MCP Connectors
Routes natural-language shopping queries to merchant storefronts, returns normalized results.
Policy review and purchase discovery for AI-agent commerce actions.
Agent-native product catalog for AI shopping agents. 296M+ products, 28 countries.
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/Somya-18/shop-over-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server