TasteRay Business - Recommendation API & ForMe MCP Server
v0.2.1Explainable cold-start Recommendation API & ForMe PDP widget MCP server for catalogs and stores.
Official Model Context Protocol (MCP) server for TasteRay Business: When TASTERAY_API_KEY is omitted, recommend_catalog_items, explain_catalog_item, and discover_catalog_rows automatically call TasteRay's keyless demo endpoints (/v1/demo/*, IP rate-limited to 5 req/min and 25 req/day). Set TASTERAY_API_KEY (get a free key with 1,000 requests/month at api.tasteray.com/generate-key) to switch automatically to authenticated /v1/* endpoints with full count, grounding, and usage reporting.
Summary extracted from the README.
TasteRay Business - Recommendation API & ForMe MCP Server (@tasteray/business-mcp)
Official Model Context Protocol (MCP) server for TasteRay Business:
- TasteRay Business - Recommendation API (api.tasteray.com) — stateless, cold-start catalog ranking and explainable item recommendations for any vertical (
streaming,ecommerce,books,games,travel,food,custom). - TasteRay ForMe Widget (forme.tasteray.com) — drop-in
"Is this for me?"product-page verdict widget (~16 KBgzipped, Shadow DOM, free up to 1,000 checks/domain/month).
B2B vs. Consumer MCP: This package (
@tasteray/business-mcp) is built for developers, merchants, and catalog operators integrating TasteRay Business APIs or the ForMe widget into their products and coding workflows. The unscoped consumer package name@tasteray/mcp(tasteray/mcp) is reserved for the future personal TasteRay: Your Culture & Entertainment Guide consumer server.
Quick Start (Works Immediately — No API Key Required)
When TASTERAY_API_KEY is omitted, recommend_catalog_items, explain_catalog_item, and discover_catalog_rows automatically call TasteRay's keyless demo endpoints (/v1/demo/*, IP rate-limited to 5 req/min and 25 req/day).
Set TASTERAY_API_KEY (get a free key with 1,000 requests/month at api.tasteray.com/generate-key) to switch automatically to authenticated /v1/* endpoints with full count, grounding, and usage reporting.
Option 1: Hosted Remote Streamable-HTTP (Recommended — Zero Install)
Official MCP Registry name: com.tasteray/business-mcp · Endpoint: https://api.tasteray.com/mcp (2025-03-26 Streamable-HTTP, stateless).
# Claude Code (keyless demo mode)
claude mcp add --transport http tasteray-business https://api.tasteray.com/mcp
# Claude Code (authenticated with your TasteRay Business API key)
claude mcp add --transport http tasteray-business https://api.tasteray.com/mcp \
--header "X-API-Key: reco_live_..."
Option 2: Local stdio via GitHub (npx)
Claude Code
claude mcp add tasteray-business -- npx -y github:tasteray/business-mcp
With an API key:
claude mcp add -e TASTERAY_API_KEY=reco_live_... tasteray-business -- npx -y github:tasteray/business-mcp
Cursor / Claude Desktop / Windsurf (mcp.json)
{
"mcpServers": {
"tasteray-business": {
"command": "npx",
"args": ["-y", "github:tasteray/business-mcp"],
"env": {
"TASTERAY_API_KEY": ""
}
}
}
}
OpenAI Codex (~/.codex/config.toml)
[mcp_servers.tasteray-business]
command = "npx"
args = ["-y", "github:tasteray/business-mcp"]
Tools Exposed
| Tool | Backend Endpoint | Auth | What it does |
|---|---|---|---|
recommend_catalog_items |
POST /v1/recommend or /v1/demo/recommend |
Optional | Ranks candidate catalog items (items) or generates recommendations with written why_match, key_factors, potential_concerns, and confidence. |
explain_catalog_item |
POST /v1/explain or /v1/demo/explain |
Optional | Deep itemized fit breakdown (summary, taste_alignment, constraint_satisfaction, unique_factors, potential_concerns, alternatives). |
discover_catalog_rows |
POST /v1/demo/discover |
Keyless | Generates a mood/theme discovery row strictly over a newline-separated catalog list, dropping any unsent title. |
get_api_usage |
GET /v1/usage |
TASTERAY_API_KEY |
Checks active plan tier, monthly allowance, and current request usage. |
generate_forme_widget_snippet |
Deterministic local generator | None | Outputs validated HTML, Shopify Liquid (main-product.liquid), WooCommerce PHP (functions.php), or React embed code for https://forme.tasteray.com/widget.js. |
Resources Exposed
| URI | Source |
|---|---|
tasteray-business://docs/api |
Live Markdown reference from https://api.tasteray.com/docs.md |
tasteray-business://docs/forme |
Live Markdown install guide from https://forme.tasteray.com/install.md |
Related Resources
- Agent Skills (
SKILL.md): api.tasteray.com/SKILL.md · forme.tasteray.com/SKILL.md - AI Catalogs: api.tasteray.com/.well-known/ai-catalog.json · forme.tasteray.com/.well-known/ai-catalog.json
- API Docs (HTML / Markdown): api.tasteray.com/docs · api.tasteray.com/docs.md · api.tasteray.com/ai-assistant-guide.md
- Starter Examples & Cold-Start Benchmark: github.com/tasteray/business-api-examples
- ForMe Widget: forme.tasteray.com · forme.tasteray.com/install
- B2B Architecture Guides: www.tasteray.com/business
Development
bun install
bun run verify
License
MIT — Copyright (c) 2026 TasteRay, Inc.