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.
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
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@spendthebits/mcp-giftcards 0.1.2
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"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
{
"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
{
"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
{
"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.