SpendTheBits Gift Cards
Let an AI agent buy gift cards with USDC over x402, within limits the wallet owner sets.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http spendthebits-gift-cards 'https://x402.spendthebits.com/mcp'
{
"mcpServers": {
"spendthebits-gift-cards": {
"type": "http",
"url": "https://x402.spendthebits.com/mcp"
}
}
}
@spendthebits/mcp-giftcardsclaude mcp add spendthebits-gift-cards -e 'STB_AGENT_PRIVATE_KEY=<your stb_agent_private_key>' -e 'STB_MAX_USDC_PER_PAYMENT=30' -e 'STB_ORDERS_FILE=<STB_ORDERS_FILE>' -- npx -y @spendthebits/mcp-giftcards@0.1.2
{
"mcpServers": {
"spendthebits-gift-cards": {
"command": "npx",
"args": [
"-y",
"@spendthebits/mcp-giftcards@0.1.2"
],
"env": {
"STB_AGENT_PRIVATE_KEY": "<your stb_agent_private_key>",
"STB_MAX_USDC_PER_PAYMENT": "30",
"STB_ORDERS_FILE": "<STB_ORDERS_FILE>"
}
}
}
}
متغيرات البيئة
STB_AGENT_PRIVATE_KEYسري The agent key from the SpendTheBits app's Agents screen. Never the wallet's recovery phrase. Without it, search, price and status still work.STB_MAX_USDC_PER_PAYMENTThe most this server signs for in one payment, in USDC.STB_ORDERS_FILEOptional file that keeps order claim tokens across restarts.
الأسئلة الشائعة
ما هو SpendTheBits Gift Cards؟
Let an AI agent buy gift cards with USDC over x402, within limits the wallet owner sets.
كيف أثبّت SpendTheBits Gift Cards؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http spendthebits-gift-cards 'https://x402.spendthebits.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج SpendTheBits Gift Cards إلى مفتاح API؟
نعم. يتطلب STB_AGENT_PRIVATE_KEY، وتضبطها في إعداداته.
من يصون SpendTheBits Gift Cards؟
ينشره jkambo1986-collab. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.