MCP directory
SG

SpendTheBits Gift Cards

by github.com/jkambo1986-collab · v0.1.2 · updated Oct 19, 2026

Let an AI agent buy gift cards with USDC over x402, within limits the wallet owner sets.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://x402.spendthebits.com/mcp

Claude Code

claude mcp add --transport http stb-giftcards https://x402.spendthebits.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @spendthebits/[email protected]

Environment variables

  • STB_AGENT_PRIVATE_KEYsecret

    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.

More MCP servers