Skip to main content
Glama
README.md
# Send Christmas Postcard

Design, print and mail real Christmas postcards worldwide from €3.25 per card, including VAT and postage. Choose a Christmas design or upload a photo, add a message, and preview both sides before checkout. Cards are printed in the Netherlands, the US or the UK depending on destination.

[Website](https://sendchristmaspostcard.com) · [Pricing and Christmas cutoffs](https://sendchristmaspostcard.com/pricing.md) · [Agent quickstart](https://sendchristmaspostcard.com/agents.md) · [OpenAPI](https://sendchristmaspostcard.com/openapi.json) · [MCP tools](https://sendchristmaspostcard.com/docs/mcp.md)

## REST quickstart

Guest requests require no account or API key. The API uses JSON, reports prices in integer minor units, and returns RFC 9457 problem details for errors. Use a fresh `Idempotency-Key` for each new write and the same key if you retry it with identical inputs.

### 1. Find a design and quote the order

```bash
site=https://sendchristmaspostcard.com

curl --fail-with-body --silent --show-error "$site/api/v1/designs"

curl --fail-with-body --silent --show-error "$site/api/v1/quotes" \
  -H 'Content-Type: application/json' \
  --data '{"countries":["NL"],"currency":"EUR"}'
```

The example quote is for one card. Include one country code per card in the `countries` array. Use the resulting total and Christmas delivery estimate when confirming the order.

### 2. Prepare and review a test postcard

Use a design ID returned by the first call. The address and message below are sample data for `"mode":"test"`.

```bash
design_id='replace-with-a-returned-design-id'
idempotency_key="$(node -p 'crypto.randomUUID()')"

curl --fail-with-body --silent --show-error "$site/api/v1/orders" \
  -H 'Content-Type: application/json' \
  -H "Idempotency-Key: $idempotency_key" \
  --data "$(jq -n --arg design "$design_id" '{
    mode: "test",
    currency: "EUR",
    card: {
      format: "a6",
      front: {type: "design", designId: $design},
      message: "Merry Christmas!"
    },
    recipients: [{
      address: {
        name: "Test Recipient",
        line1: "Dam 1",
        postalCode: "1012 JS",
        city: "Amsterdam",
        country: "NL"
      }
    }]
  }')" > postcard-order.json

jq '{ref: .order.ref, previews, checkoutUrl: .payment.checkoutUrl}' postcard-order.json
```

Review `previews.front` and every URL in `previews.backs`, then open `payment.checkoutUrl` and complete Stripe test checkout using `4242 4242 4242 4242`, any future expiry date and any three-digit CVC. Test orders never print or mail. For a live order, confirm the amount and use `"mode":"live"` when live ordering is enabled, then hand the checkout link to the customer.

### 3. Check status after checkout

```bash
ref="$(jq -er '.order.ref' postcard-order.json)"
curl --fail-with-body --silent --show-error "$site/api/v1/orders/$ref"
```

Keep the order reference, the preview URLs and checkout link private. The status view omits recipient names, addresses and message text.

## MCP quickstart

Connect to `https://sendchristmaspostcard.com/mcp` using Streamable HTTP with no authentication. Run `list_designs` if you need a design or `upload_photo` if you want to use an image. Call `quote_postcard`, then `prepare_postcard` in the explicit mode. Review the previews and share the hosted payment link. After payment, call `get_order_status` with the returned order reference.

The other tools are `get_checkout_link`, `pay_with_mpp` when enabled, and `cancel_order`. Use `tools/list` for input and output schemas.

### Claude Code

Add this to the project's `.mcp.json`.

```json
{
  "mcpServers": {
    "send-christmas-postcard": {
      "type": "http",
      "url": "https://sendchristmaspostcard.com/mcp"
    }
  }
}
```

In Claude's web or desktop app, add the same URL as a custom connector.

### ChatGPT

In ChatGPT on the web, choose **Plugins → + → Add custom MCP server**. Use these settings, then install the plugin and select it in a conversation. [ChatGPT setup documentation](https://developers.openai.com/api/docs/guides/custom-mcp-server)

```json
{
  "name": "Send Christmas Postcard",
  "server_url": "https://sendchristmaspostcard.com/mcp",
  "authentication": "No authentication"
}
```

### Cursor

Add this to `.cursor/mcp.json` in your project or `~/.cursor/mcp.json` for a global connection.

```json
{
  "mcpServers": {
    "send-christmas-postcard": {
      "url": "https://sendchristmaspostcard.com/mcp",
      "transport": "streamable-http"
    }
  }
}
```

## Discovery documents

- [llms.txt](https://sendchristmaspostcard.com/llms.txt) and [full agent reference](https://sendchristmaspostcard.com/llms-full.txt)
- [Authentication](https://sendchristmaspostcard.com/auth.md) and [pricing](https://sendchristmaspostcard.com/pricing.md)
- [API catalog](https://sendchristmaspostcard.com/.well-known/api-catalog), [agent card](https://sendchristmaspostcard.com/.well-known/agent-card.json) and [MCP server card](https://sendchristmaspostcard.com/.well-known/mcp/server-card.json)
- [Agent Skills index](https://sendchristmaspostcard.com/.well-known/agent-skills/index.json) and [postcard skill](https://sendchristmaspostcard.com/.well-known/agent-skills/send-christmas-postcard/SKILL.md)

```bash
curl -fsS -H 'Accept: text/markdown' https://sendchristmaspostcard.com/
```

Contact [hello@sendchristmaspostcard.com](mailto:hello@sendchristmaspostcard.com). This repository uses the [MIT License](./LICENSE).