bhs-mcp
Cloudflare Worker로 배포되는 Blackhearts & Sparrows 제품 데이터용 MCP 서버입니다.
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 도구
도구 | 설명 |
| 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에 의존합니다.
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
