boj_menu
Lists all BoJ cartridges with their domains, protocols, tiers, and availability for unified access to multiple servers through a single gateway.
Instructions
List all BoJ cartridges with their domains, protocols, tiers, and availability
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp-bridge/main.js:635-643 (handler)The handler for the 'boj_menu' tool, which calls the fetchMenu function and returns the result as text.
case "boj_menu": { const menu = await fetchMenu(); sendResult(id, { content: [ { type: "text", text: JSON.stringify(menu, null, 2) }, ], }); break; } - mcp-bridge/main.js:86-93 (helper)The fetchMenu function, which performs a GET request to the BoJ server to retrieve the menu.
async function fetchMenu() { try { const res = await fetch(`${BOJ_BASE}/menu`); return await res.json(); } catch { return OFFLINE_MENU; } } - mcp-bridge/main.js:306-311 (registration)Registration of the 'boj_menu' tool in the list of tools provided by the bridge.
tools.push({ name: "boj_menu", description: "List all BoJ cartridges with their domains, protocols, tiers, and availability", inputSchema: { type: "object", properties: {} }, });