Koskamo

SpendTheBits Gift Cards MCP

An MCP server that allows AI agents to search for, price, quote, and purchase gift cards using USDC over the x402 protocol on the Base network. It supports both owner-approved transactions via a hosted endpoint and self-paying local execution with a funded agent key.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

SpendTheBits Gift Cards MCP logo, by SpendTheBitsCommunity listingLocal stdioSource reviewed; not executedPublished by SpendTheBits
You need:sign in with your STB Superapp email and password
Vendor documentation

What you can do with it

  • Search for available gift card brands and countries
  • Get real-time pricing for specific gift cards
  • Purchase gift cards using USDC via x402
  • Check order status and retrieve claim tokens

Source and maintenance

Community listingRegistry 0.1.2

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@spendthebits/mcp-giftcards 0.1.2

npm
@spendthebits/mcp-giftcards package definition
{
  "version": "0.1.2",
  "transport": "stdio",
  "identifier": "@spendthebits/mcp-giftcards",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "STB_AGENT_PRIVATE_KEY",
      "format": "string",
      "description": "The agent key from the SpendTheBits app's Agents screen. Never the wallet's recovery phrase. Without it, search, price and status still work."
    },
    {
      "name": "STB_MAX_USDC_PER_PAYMENT",
      "format": "string",
      "default": "30",
      "description": "The most this server signs for in one payment, in USDC."
    },
    {
      "name": "STB_ORDERS_FILE",
      "format": "filepath",
      "description": "Optional file that keeps order claim tokens across restarts."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "spendthebits-gift-cards-mcp": {
      "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": "<YOUR_STB_MAX_USDC_PER_PAYMENT>",
        "STB_ORDERS_FILE": "<YOUR_STB_ORDERS_FILE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "spendthebits-gift-cards-mcp": {
      "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": "<YOUR_STB_MAX_USDC_PER_PAYMENT>",
        "STB_ORDERS_FILE": "<YOUR_STB_ORDERS_FILE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "spendthebits-gift-cards-mcp": {
      "type": "stdio",
      "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": "<YOUR_STB_MAX_USDC_PER_PAYMENT>",
        "STB_ORDERS_FILE": "<YOUR_STB_ORDERS_FILE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "spendthebits-gift-cards-mcp": {
      "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": "<YOUR_STB_MAX_USDC_PER_PAYMENT>",
        "STB_ORDERS_FILE": "<YOUR_STB_ORDERS_FILE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like SpendTheBits Gift Cards MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.