bhs-mcp
bhs-mcp
Blackhearts & Sparrowsの製品データ用MCPサーバー。Cloudflare Workerとしてデプロイされます。
Code Modeパターンを採用しており、LLMが固定されたツールを直接呼び出すのではなく、サンドボックス化されたDynamic Worker内で型定義されたBHS APIに対して実行されるTypeScriptコードを記述します。
アーキテクチャ
LLM -> code tool -> Dynamic Worker (sandbox)
| bhs.search(...)
BhsProxy (RPC bridge)
|
Host Worker
|
Meilisearch / GraphQL APIsサンドボックスにはネットワークアクセス権限がありません。すべての外部呼び出しは、BhsProxy RPCブリッジを介してホストワーカーへ送信されます。
Related MCP server: Kibo Commerce MCP Server
MCPツール
ツール | 説明 |
| TypeScriptの型定義、メソッドシグネチャ、およびクエリ例 |
| サンドボックスの機能、制約、およびガイダンス |
|
|
サンドボックス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);開発
npm install
npm run dev # wrangler dev
npm run typecheck # tsc --noEmit
npm run deploy # wrangler deployデプロイ
ルート: bhs.jackemcpherson.com/mcp*
API関数および型については@jackemcpherson/bhs-cliに依存しています。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
Related MCP Servers
- AlicenseBqualityDmaintenanceA code-first MCP server that provides a single tool to execute JavaScript or TypeScript with authenticated access to Google Workspace APIs. It enables flexible interactions with services like Calendar and Drive by running user-provided scripts through a built-in runtime environment.17MIT
- AlicenseNot gradedqualityDmaintenanceDeprecated MCP server integrating with Kibo Commerce for product, order, customer, and inventory management via its TypeScript SDK.9 npmMIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that executes TypeScript/JavaScript code in a sandboxed Bun environment with permission-based security controls, code snippets, and a web management UI.-
- AlicenseAqualityBmaintenanceA local MCP server for grocery shopping, enabling product search, specials, and browsing across NZ supermarkets, with cart and order history for Countdown/Woolworths via browser-assisted login.141MIT