product-search-mcp-server

product-search-mcp-server

An MCP server that exposes SF Supplies product search API to LLM tools. Supports free-text search, autocomplete suggestions, and retrieving filterable attributes.

Category
Visit Server

README

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"]}

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured