rtsy0

Send Christmas Postcard

Community rtsy0
Updated

Send real printed Christmas postcards worldwide — built for AI agents (REST, OpenAPI, MCP, WebMCP, MPP). sendchristmaspostcard.com

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 · Pricing and Christmas cutoffs · Agent quickstart · OpenAPI · MCP tools

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

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"]}'

The example quote is for one card. Include one country code per card in the countries array. The currency follows the destinations: USD if every card goes to the US, GBP if every card goes to the UK, otherwise EUR. Use the resulting total and Christmas delivery estimate when confirming the order.

2. Prepare and review a postcard

Use a design ID returned by the first call. The address and message below are sample data. Preparing an order charges nothing until the person pays on the checkout page. Test mode ("mode":"test") works only on local development and Vercel preview deployments, not on sendchristmaspostcard.com.

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: "live",
    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 hand payment.checkoutUrl to the customer, who pays on Stripe. Nothing is charged or printed before then, and an unpaid order can be cancelled.

3. Check status after checkout

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.

{
  "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

{
  "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.

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

Discovery documents

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

API and MCP traffic in Vercel

  • Request volume. Open the production project's Observability → CDN Requests view and compare /mcp and /api/v1/*. This includes cached catalog requests. Use Functions for route-level invocations and errors. Vercel Observability
  • REST operations. In Logs, select Production and search for scp.rest.request. Each request handled by the shared REST rate limiter records the operation, HTTP status, duration in milliseconds, and an application error code when available.
  • MCP tools. Search for scp.mcp.tool in the same view. A tool result can contain an error inside HTTP 200. Use the event's outcome and errorCode to diagnose it. status describes the tool result, while Vercel's request status describes the transport. MCP initialization, discovery, and resource reads are counted in CDN requests. Vercel Runtime Logs

Add an operation name or error code to either log search to narrow it. Server errors use Vercel's Error severity. Application log messages contain fixed labels and timings and omit request URLs, headers, payloads, and private order references.

Contact [email protected]. This repository uses the MIT License.

MCP Server · Populars

MCP Server · New

    ordewell

    ordewell

    Open source agent orchestrator. One goal becomes an editable plan of tasks that run in parallel on Claude Code, Codex, OpenCode and more, each on its own git branch.

    Community ordewell
    goodnight000

    api-anything

    Turn any website into an API your agent can call. Learns from the site's own frontend, heals itself when the site changes.

    Community goodnight000
    shuttle-browser

    Shuttle

    A Chromium fork built for AI agents: built-in MCP server, per-agent logged-in identities, sessions as tab groups

    Community shuttle-browser
    postgres-ai

    PostgresAI

    postgresai – Postgres observability built for humans and AI agents

    Community postgres-ai
    auto-mobile-oss

    AutoMobile

    Mobile automation suite of tools including an MCP and libraries for test authoring & execution

    Community auto-mobile-oss