VOOZH about

URL: https://glama.ai/mcp/servers/jackemcpherson/bhs-mcp?locale=ja-JP

⇱ bhs-mcp by jackemcpherson | Glama


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: UseScraper MCP Server

MCPツール

ツール

説明

schema

TypeScriptの型定義、メソッドシグネチャ、およびクエリ例

tools

サンドボックスの機能、制約、およびガイダンス

code

bhs APIオブジェクトにアクセスして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に依存しています。

F
license - not found
-
quality - not tested
A
maintenance

Maintenance

Maintainers
<1hResponse time
Release cycle
Releases (12mo)
Commit activity

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