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»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http spendthebits-gift-cards 'https://x402.spendthebits.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "spendthebits-gift-cards": {
            "type": "http",
            "url": "https://x402.spendthebits.com/mcp"
        }
    }
}
NPM package @spendthebits/mcp-giftcards
Claude Code
claude 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
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "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_PAYMENT The most this server signs for in one payment, in USDC.
  • STB_ORDERS_FILE Optional 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 الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.