mcp-server-shop

joefazee/mcp-server-shop

3.1

If you are the rightful owner of mcp-server-shop and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The MCP Server Shop is a Model Context Protocol server that provides access to product, cart, and order functionalities through a REST API.

MCP Server Shop

Model Context Protocol (MCP) server that exposes product, cart, and order tools backed by our shop API at https://github.com/joefazee/learning-go-shop.

Prerequisites

  • Go 1.24 or newer

Configuration

Set environment variables directly or via a .env file before starting the server:

  • API_URL (default http://localhost:8080/api/v1)
  • AUTH_TOKEN or JWT_TOKEN
  • LOG_LEVEL (default debug)
  • TRANSPORT (default stdio)

Run Locally

go run ./cmd/server

Using It With Claude Desktop

This is an example config for your Claude Desktop mcpServers settings:

{
  "mcpServers": {
    "shop": {
      "command": "mcp-server", // path to your binary
      "env": {
        "JWT_TOKEN": "",
        "API_URL": "http://localhost:8080/api/v1"
      }
    }
  }
}

Tooling Overview

The server registers toolsets for products, carts, and orders. They are surfaced over MCP streams so AI clients can browse products, manage carts, and review orders through the underlying REST API.