{
  "name": "Shoptavi",
  "description": "Shoptavi is a creator marketplace: shops sell memberships, courses, communities and downloads. AI agents can discover products and buy them for their users.",
  "protocols": {
    "acp": {
      "spec": "https://agenticcommerce.dev",
      "api_version": "2026-04-17",
      "base_url_template": "http://localhost:5173/acp/{shop_slug}",
      "item_ids": "plan ids (plan_N) from the catalog",
      "endpoints": [
        "POST /checkout_sessions",
        "GET /checkout_sessions/{id}",
        "POST /checkout_sessions/{id}",
        "POST /checkout_sessions/{id}/complete",
        "POST /checkout_sessions/{id}/cancel"
      ]
    },
    "mcp": {
      "url": "http://localhost:5173/mcp",
      "transport": "streamable-http",
      "tools": [
        "search_products",
        "get_product",
        "list_shops",
        "create_checkout",
        "update_checkout",
        "complete_checkout",
        "get_checkout",
        "cancel_checkout",
        "get_payment_instructions"
      ]
    }
  },
  "catalog": {
    "products": "http://localhost:5173/api/v1/products",
    "shops": "http://localhost:5173/api/v1/shops"
  },
  "authentication": {
    "type": "bearer",
    "header": "Authorization: Bearer <agent key>",
    "get_a_key": "http://localhost:5173/agents",
    "public": [
      "catalog",
      "discovery"
    ]
  },
  "payments": {
    "provider": "stripe",
    "method": "Stripe Shared Payment Token (SPT)",
    "network_business_profile": null,
    "supported_payment_methods": [
      "card"
    ],
    "how_to_pay": [
      "Create a checkout session with plan ids and the buyer email, and confirm the total with the buyer.",
      "Issue a Shared Payment Token for the buyer's payment method with seller_details[network_business_profile] set to network_business_profile, and usage_limits (currency, max_amount = session total, expires_at).",
      "Send it as payment_data.token with provider \"stripe\" to POST {acp_base_url}/checkout_sessions/{id}/complete (or the complete_checkout MCP tool).",
      "Give the buyer order.permalink_url: it gives them access to the member hub."
    ],
    "free_plans": "Plans priced at 0 complete without a payment token.",
    "fallback": "Recurring plans, or when you cannot issue SPTs: send the buyer the product url to check out on the web.",
    "demo_mode": "Demo mode: any token starting with spt_ succeeds; tokens containing \"declin\" are declined."
  },
  "amounts": "All amounts are integers in minor units (cents/pence)."
}