Skip to main content
Glama
product-search-mcp-server

product-search-mcp-server

by sfsupplies

product-search-mcp-server

An MCP server that exposes the SF Supplies product search (the Typesense-backed website search API) to an LLM tool loop. It is a sibling of mssql-mcp-server and uses the same transport/auth/deploy pattern, so the internal chatbot can bridge both servers at once.

Tools

Tool

What it does

search_products

Runs a search against POST /api/Products/Search/v2. Supports free-text query, attribute filters, category_slug, sorting, and pagination. Returns each product's name, page URL, stock status, and attributes (Brand, Color, Size, Material, …).

suggest_products

Fast typeahead/autocomplete (GET /api/Products/query?query=…). Returns matching product names + URLs only — lightweight. Use it to resolve a vague/partial term, then hand the chosen term to search_products.

list_product_filters

Returns the facets (filterable attributes and their values + counts) available for a query/category — so the model knows what it can pass to search_products' filters.

The filters argument maps facet field names to arrays of values, matching the API's attributeFilter, e.g.:

{"Brand": ["Avery"], "Color": ["Plum"], "Size": ["15\" x 10 Yards"]}

Related MCP server: MCP Merchant Scout

Run locally (stdio — e.g. Claude Desktop)

pipenv install
pipenv run python -m product_search_mcp_server

Run as a shared HTTP service (LAN)

cp .env.deploy.example .env.deploy   # set MCP_AUTH_TOKEN (openssl rand -hex 32)
docker compose -f docker-compose.deploy.yml up -d --build

Consumers connect to http://<host>:8001/mcp with header Authorization: Bearer <MCP_AUTH_TOKEN>. Defaults to port 8001 to avoid clashing with the MSSQL MCP server on 8000.

examples/chatbot_bridge.py shows the client-side bridge the chatbot uses.

Configuration

Env var

Default

Purpose

MCP_TRANSPORT

stdio

stdio or http

MCP_AUTH_TOKEN

—

Required bearer token in http mode

MCP_DISABLE_AUTH

false

Dev-only: serve HTTP with no auth

MCP_HTTP_HOST / MCP_HTTP_PORT

0.0.0.0 / 8000

HTTP bind (container)

SEARCH_API_URL

https://api.sfsupplies.com/api/Products/Search/v2

Results/filtering endpoint

SUGGEST_API_URL

https://api.sfsupplies.com/api/Products/query

Typeahead/autocomplete endpoint

PRODUCT_URL_TEMPLATE

https://www.sfsupplies.com/product/{slug}

Product page link template — verify the path

SEARCH_API_TIMEOUT

15

HTTP timeout (seconds)

SEARCH_API_KEY / SEARCH_API_KEY_HEADER

—

Optional, only if the API gets locked down

Available Tools

3 tools
list_product_filtersA

Discover the filterable attributes (facets) available for a given search/category, with each value and how many products have it. Use this to learn what you can pass to search_products' 'filters' argument and to suggest refinements.

Inputs: search, filters, category_slug.

search_productsA

Search the SF Supplies product catalog (vinyl, films, signage supplies, etc.). Returns matching products with their name, page URL, stock status, product status, and attributes (Brand, Color, Size, Material, Finish, Series, …). Use the optional 'filters' to narrow by attribute — call list_product_filters first if you need to know which attributes/values are available. Two distinct availability signals: 'in stock' reflects inventoryQty — whether the item is ACTUALLY in stock in the warehouse right now (yes/no). 'status' is the catalog classification: StockItem (normally stocked), InHouse (made/held in house), NonStock (orderable, not stocked), Discontinued (no longer offered), Development (not yet released), or Null. A product can be a StockItem yet currently out of stock — when asked about availability, use 'in stock' (inventoryQty), not 'status'. To FILTER by these, pass 'in_stock' (true = only in-stock, false = only out-of-stock) and/or 'product_status'.

Inputs: search (required), page, filters, in_stock, +5 more.

suggest_productsA

Fast typeahead/autocomplete lookup (the search-bar suggester). Given a partial query it returns matching product NAMES (and page URLs) — lightweight, no attributes or filters. Use it to resolve a vague or partial term to concrete product names, then call search_products with the chosen term for full details.

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clear, distinct purpose: list_product_filters discovers filterable attributes, search_products performs full catalog searches with filters, and suggest_products provides lightweight autocomplete. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (list_product_filters, search_products, suggest_products), making them predictable and easy to understand.

    Tool Count5/5

    Three tools is an ideal size for a product search server, covering the essential operations (discover filters, search with filters, autocomplete) without being too few or overly numerous.

    Completeness5/5

    The tool set provides a complete surface for product search: discovering available filters, performing full searches with filtering, and quick autocomplete. No obvious gaps for the intended domain.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI agents to search, discover, and retrieve technical specifications from a SpecLib instance. It provides tools for full-text search, scope listing, and reading specs as markdown content.
      -
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that wraps the Universal Commerce Protocol (UCP) Discovery and Catalog capabilities, letting you search and compare products across UCP merchants directly from Claude.
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that exposes document retrieval as tools (semantic search and source listing) for any LLM, using a vector index built from DocPilot's ingestion pipeline.
      -
    • A
      license
      A
      quality
      D
      maintenance
      A UCP-compliant MCP storefront server that exposes product catalog operations (search, cart, checkout) as MCP tools, following UCP schema version 2026-04-08.
      5
      MIT