Skip to content

MCP server

Mock Ecommerce MCP Server

Self-hosted Java MCP server exposing 40+ mock ecommerce tools for product search, cart, checkout, payment, orders, tickets, reviews and Swiggy restaurant data.

  • Community
  • Runs locally
  • No credentials

Repository and documentation last checked Built from public product pages and documentation. SourcesClaim this listing

ecommerceguide summary

Mock Ecommerce MCP Server is a self-hosted Java sandbox for testing AI agents against shopping workflows. Built with Java 21 and Spring Boot, it exposes over 40 tools covering product search, cart, checkout, payment, orders, shipments, tickets, reviews and Swiggy-style restaurant data across grocery, fashion, electronics, beauty and home categories. Tools are served over SSE at localhost:8080 with no client credential. Maintained by arpanm under an MIT licence.

Why it stands out

A Spring Boot MCP server serving mock commerce data, with a bundled React explorer for browsing generated products and restaurants.

What Mock Ecommerce MCP Server does

ecommerceguide editorial
  • Community server maintained by arpanm, MIT licensed, written in Java
  • Read and write tools: addToCart, checkout, initiatePayment, cancelOrder, returnOrderItem
  • Runs locally via mvn clean package and spring-boot:run
  • SSE transport at http://localhost:8080/sse, no client credential required
  • Setup documented for Claude Desktop, Claude Code and VS Code
  • H2 in-memory database for dev, PostgreSQL via Docker Compose
  • Bundled React data explorer browses generated products and restaurant data
  • ANTHROPIC_API_KEY environment variable enables LLM product data generation

How ecommerce teams could use it

ecommerceguide editorial

Illustrative scenarios written by ecommerceguide from the product's documented capabilities. They are not customer case studies.

  1. Developers building an LLM shopping assistant

    Exercising a search, cart, checkout, payment and order tracking sequence during development

    Intended outcomeThe server generates mock products on demand and returns structured JSON for each tool call, with no live store involved.

  2. A team testing post-purchase agent behaviour

    Checking how an agent handles cancellations, returns, support tickets and reviews

    Intended outcomeTools such as cancelOrder, returnOrderItem, createTicket and submitProductReview move mock orders through their documented status values.

  3. An engineer comparing MCP client setups

    Connecting the same server to Claude Desktop, Claude Code and VS Code

    Intended outcomeEach client points at the local SSE endpoint on port 8080 using the documented configuration, with no credential to provision.

Who it suits

ecommerceguide editorial

Best for

You can run a Java 21 and Maven build locally and want an MIT-licensed mock commerce backend with read and write MCP tools.

Probably not for

You need a hosted endpoint, authenticated access or tools that act on a real store, since this server is self-hosted and serves mock data only.

Business size
Any stageA free MIT-licensed self-hosted server with mock data, so fit depends on running the build rather than store size.

Technical details

From the vendor's own pages

From the server's repository, documentation and MCP directory listings.

What an agent can do
Manage products, Orders, Payments, Shipping and fulfilment, Customers, Customer service, Agentic shopping, Product content
Transport
SSE (deprecated)
Authentication
No credentialsMCP client config uses local http://localhost:8080/sse with no credential; tool-level login uses a mock platform secret 'mock-platform-secret-key'.
Package
None published; build from source
Language
Java
Licence
MIT
Repository last updated
5 Apr 2026

Connect Mock Ecommerce MCP Server

Third-party data
Install command
mvn clean package -DskipTests && mvn spring-boot:run

Command as listed on the repository README, not tested by ecommerceguide. Check the repository README (opens in a new tab) for configuration and credentials before running it.

Categories and use cases

Sources

ecommerceguide profiles are built from public product information and written for ecommerce teams. We do not test products, and paying never changes where a listing ranks.

Also listed on PulseMCP.

See something incorrect? Report an update