# i2dor/giftcardshop-mcp [Health: Active]

**Category:** 🛒 E-Commerce  
**Repository:** https://github.com/i2dor/giftcardshop-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 248  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-379

## Description
Browse the giftcardshop catalog and buy gift cards with Lightning over MCP. No account, no signup.

## Tools
Capabilities this server exposes over MCP:

- **list_brands** — List gift-card brands in the giftcardshop catalog. Optionally filter by country and paginate.
- **search_products** — Search/list purchasable products. Filter by free-text query, brand slug, country, denomination (amount), currency, or category. Each result already includes its description, countries, and variants (with variantId + amount + currency + availability), so you can pick the exact SKU and call create_order without a get_product round-trip.
- **get_product** — Get one product by id, including its denominations/variants (the variantId + amount needed for create_order).
- **get_order_status** — Check an order: payment state and whether the reveal link (the code) is available yet.
- **get_checkout_instructions** — Fetch the live payment instructions from the BTCPay Server for this store. Returns machine-readable Markdown describing how to pay invoices via Lightning or on-chain Bitcoin. Call this once at the start of a checkout session to get up-to-date endpoint URLs and payment rules.
- **create_order** — Create an order and get a Lightning invoice to pay. The response includes a bolt11 payment request and the sats amount. IMPORTANT: after receiving the invoice, present the bolt11 to the user for payment, then immediately start polling get_order_status every 10-15 seconds (up to 30 times) WITHOUT asking the user to confirm or tell you when they have paid. Stop polling when status is PAID or EXPIRED. Needs the variantId from search_products or get_product.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "giftcardshop-mcp": {
    "command": "npx",
    "args": ["-y","@giftcardshop/mcp"],
    "env": {
      "GCS_API_BASE": "",
      "GCS_INTERNAL_SECRET": ""
    }
  }
}
```

**Requires environment variables:** `GCS_API_BASE`, `GCS_INTERNAL_SECRET` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What i2dor/giftcardshop-mcp MCP server does

i2dor/giftcardshop-mcp MCP server connects an MCP-compatible AI client to giftcardshop’s API. It supports catalog discovery through brand and product queries, product inspection including variants and denominations, and order-status checks. The read operations use the live public API and do not require an API key.

The server also supports gift-card checkout as an early-access write operation. When configured for checkout, an agent can create an order, receive a Lightning invoice, pay that invoice, and then check the order for reveal availability. The completed flow provides a single-view reveal link containing the gift-card code.

## Tools and capabilities

The available MCP tools map directly to giftcardshop API endpoints:

- `list_brands` retrieves the available brands from `GET /v1/brands`.
- `search_products` queries products through `GET /v1/products`.
- `get_product` retrieves one product from `GET /v1/products/:id`, including its variants and denominations.
- `get_order_status` checks `GET /v1/orders/:id` for payment state and whether the reveal is available.
- `create_order` sends a signed request to `POST /internal/agent-orders` and returns a Lightning invoice.

Read responses are passed through as API JSON. A successful `create_order` response can include an order ID, invoice ID, invoice URL, optional BOLT11 invoice, satoshi amount, total, currency, and expiration time.

## Setup and configuration

Run the package with `npx @giftcardshop/mcp`. Without additional configuration, the server operates in read-only mode: catalog and order-status tools remain available, while `create_order` reports that it is not configured.

Set `GCS_INTERNAL_SECRET` to enable checkout:

```bash
GCS_INTERNAL_SECRET=<64-hex> npx @giftcardshop/mcp
```

The secret is used to create the HMAC signature sent in the `x-internal-sig` header. The documentation says to request this shared secret from giftcardshop. `GCS_API_BASE` controls the public API base URL and defaults to `https://api.giftcardshop.org`.

For Claude Desktop or another stdio-capable MCP client, configure the server with `npx`, the `-y` and package arguments, and the optional secret in the client’s environment settings.

## Limitations and notes

i2dor/giftcardshop-mcp MCP server’s checkout capability is marked early access and depends on the shared internal secret. Without that secret, only read-oriented use is supported. Creating an order produces an invoice; the agent or user must pay it before polling `get_order_status` for reveal availability.

The roadmap mentions possible future L402 support, a hosted remote MCP endpoint, and a separate mobile-top-up server, but these are not current capabilities described for this package.

_Full upstream README: https://allmcps.com/mcp/mcp-379/readme_

