bhs-mcp
MCP-Server für Produktdaten von Blackhearts & Sparrows, bereitgestellt als Cloudflare Worker.
Verwendet das Code Mode-Muster – das LLM schreibt TypeScript, das gegen eine typisierte BHS-API in einem isolierten Dynamic Worker ausgeführt wird, anstatt feste Tools direkt aufzurufen.
Architektur
LLM -> code tool -> Dynamic Worker (sandbox)
| bhs.search(...)
BhsProxy (RPC bridge)
|
Host Worker
|
Meilisearch / GraphQL APIsDie Sandbox hat keinen Netzwerkzugriff. Alle externen Aufrufe erfolgen über die BhsProxy RPC-Brücke zum Host-Worker.
Related MCP server: UseScraper MCP Server
MCP-Tools
Tool | Beschreibung |
| TypeScript-Typdefinitionen, Methodensignaturen und Beispielabfragen |
| Sandbox-Funktionen, Einschränkungen und Anleitungen |
| Führt TypeScript mit Zugriff auf das |
Sandbox-API
// Search products
const wines = await bhs.search({ type: "Wine", country: "France", priceMax: 30 });
// Get product details
const product = await bhs.product("44253");
// List stores
const stores = await bhs.stores();
// Manage cart
const cart = await bhs.cart.create();
await bhs.cart.addItems(cart.uid, [{ sku: "44253", masterSku: "44253", quantity: 6 }]);
const url = bhs.cart.checkoutUrl(cart.uid);Entwicklung
npm install
npm run dev # wrangler dev
npm run typecheck # tsc --noEmit
npm run deploy # wrangler deployBereitstellung
Route: bhs.jackemcpherson.com/mcp*
Basiert auf @jackemcpherson/bhs-cli für API-Funktionen und Typen.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jackemcpherson/bhs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
