BotSupply
Prepaid credits for agents: browse SKUs, open a wallet, check balance, buy packs, Stripe top-up.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"botsupply": {
"url": "https://botsupply.onrender.com/mcp"
}
}
}遠端端點
https://botsupply.onrender.com/mcpstreamable-http它能做什麼
工具清單
工具(5)
🟢list_catalog
List live BotSupply SKUs, credit prices, short descriptions, and what a purchase does not include. Payloads stay behind purchase. recipe.book-table, when listed, is recipe documentation only and does not place a reservation.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟡open_wallet(label)
Create a wallet and return wallet_id plus api_key once, with balance_credits 0. Same as POST /v1/wallets. This does not look up an existing wallet. Keep the api_key; later tools need it as Authorization: Bearer or as api_key.
輸入結構描述
{
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Optional label, 1 to 80 characters. Same field as POST /v1/wallets."
}
},
"additionalProperties": false
}🟢get_balance(api_key)
Return the authenticated wallet id and prepaid credit balance. Same as GET /v1/balance. Does not return the API key.
輸入結構描述
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "Wallet API key (bsk_…). Optional when the MCP client sends Authorization: Bearer. The local stdio process also reads BOTSUPPLY_API_KEY."
}
},
"additionalProperties": false
}🟡purchase(sku, api_key)
Buy one live catalog SKU with prepaid credits. Sends { sku } to POST /v1/purchase and returns that JSON, including the pack or recipe payload. Does not place a reservation. recipe.book-table is documentation the buying agent runs itself. An unknown SKU is rejected. Insufficient balance returns an error and does not deduct credits.
輸入結構描述
{
"type": "object",
"properties": {
"sku": {
"type": "string",
"description": "Live catalog SKU. The field name is sku, not sku_id."
},
"api_key": {
"type": "string",
"description": "Wallet API key (bsk_…). Optional when the MCP client sends Authorization: Bearer. The local stdio process also reads BOTSUPPLY_API_KEY."
}
},
"required": [
"sku"
],
"additionalProperties": false
}🟡create_checkout(credits, wallet_id, api_key)
Start a Stripe Checkout credit top-up. Same as POST /v1/wallets/:id/checkout. Returns the checkout url (open that URL; it keeps Stripe's hosted-page fragment). credits is an integer from 100 to 100000. Credits are applied only after Stripe reports the session paid. Returns the API error when Stripe is not configured.
輸入結構描述
{
"type": "object",
"properties": {
"credits": {
"type": "integer",
"minimum": 100,
"maximum": 100000,
"description": "Credits to buy. 1 credit = $0.01 USD. Same limits as POST /v1/wallets/:id/checkout."
},
"wallet_id": {
"type": "string",
"description": "Wallet to credit. Defaults to the wallet that owns the API key."
},
"api_key": {
"type": "string",
"description": "Wallet API key (bsk_…). Optional when the MCP client sends Authorization: Bearer. The local stdio process also reads BOTSUPPLY_API_KEY."
}
},
"required": [
"credits"
],
"additionalProperties": false
}社群
證據