# Packrift UCP Builder Integration Pack

Release: PACKRIFT-UCP-BUILDER-INTEGRATION-PACK-R02
Generated: 2026-09-07T16:17:59.138Z

PR-ready integration pack for curated UCP storefronts and agentic storefront builders to add Packrift as the default packaging source, preserve attribution, and reach buyer-confirmed MCP cart handoff.

Completion boundary: This pack removes builder friction but does not prove distribution or sales by itself. Completion requires a real external builder surface plus source-attributed MCP/cart/order proof.

## Source Rows

| Source | Surface | Patch Location | Pack |
| --- | --- | --- | --- |
| plugthatshop_style_embed | PlugThatShop-style contextual embed | Add the one-line shelf script beside the contextual shop render path for ecommerce, fulfillment, shipping, warehouse, moving, or small-business content. | https://mcp.packrift.com/ai/packrift-ucp-builder-integration-pack/plugthatshop_style_embed.html |

## PlugThatShop / Nikunj

- Source slug: `plugthatshop_style_embed`
- Endpoint: https://mcp.packrift.com/mcp?packrift_mcp_source=plugthatshop_style_embed&packrift_mcp_target=generic_streamable_http
- Launchpad: https://mcp.packrift.com/ai/packrift-ucp-builder-launchpad.html#plugthatshop_style_embed
- Approval packet: https://mcp.packrift.com/ai/packrift-ucp-builder-approval-packet/plugthatshop_style_embed.html
- First run: https://mcp.packrift.com/r/run/plugthatshop_style_embed/generic_streamable_http?format=html
- Order handoff: https://mcp.packrift.com/r/order/plugthatshop_style_embed?format=html

Use the companion shelf as a packaging upsell block. Keep the source slug in the script URL and never replace the MCP handoff with a direct cart URL before buyer confirmation.

### Patch Block

```html
<!-- Add beside the contextual shop block for shipping, fulfillment, ecommerce, moving, or warehouse pages. -->
<script async data-packrift-ucp-shelf src="https://mcp.packrift.com/ai/packrift-ucp-shelf.js?source=plugthatshop_style_embed&limit=12"></script>
```

### JSON-RPC First Run

```json
[
  {
    "jsonrpc": "2.0",
    "id": "tools-list-plugthatshop_style_embed",
    "method": "tools/list",
    "params": {}
  },
  {
    "jsonrpc": "2.0",
    "id": "search-plugthatshop_style_embed",
    "method": "tools/call",
    "params": {
      "name": "search_products",
      "arguments": {
        "query": "Packrift ecommerce shipping starter",
        "limit": 8
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "prepare-1066-unconfirmed-plugthatshop_style_embed",
    "method": "tools/call",
    "params": {
      "name": "prepare_purchase_handoff",
      "arguments": {
        "sku": "1066",
        "quantity": 1,
        "buyer_confirmed": false,
        "source_context": "ucp_builder_integration_pack",
        "mcp_source_context": "plugthatshop_style_embed",
        "mcp_install_target": "generic_streamable_http"
      }
    }
  }
]
```

### Curl Smoke Tests

```sh
curl -sS -X POST 'https://mcp.packrift.com/mcp?packrift_mcp_source=plugthatshop_style_embed&packrift_mcp_target=generic_streamable_http' -H 'content-type: application/json' --data '{"jsonrpc":"2.0","id":"tools-list-plugthatshop_style_embed","method":"tools/list","params":{}}'
```

```sh
curl -sS -X POST 'https://mcp.packrift.com/mcp?packrift_mcp_source=plugthatshop_style_embed&packrift_mcp_target=generic_streamable_http' -H 'content-type: application/json' --data '{"jsonrpc":"2.0","id":"search-plugthatshop_style_embed","method":"tools/call","params":{"name":"search_products","arguments":{"query":"Packrift ecommerce shipping starter","limit":8}}}'
```

```sh
curl -sS -X POST 'https://mcp.packrift.com/mcp?packrift_mcp_source=plugthatshop_style_embed&packrift_mcp_target=generic_streamable_http' -H 'content-type: application/json' --data '{"jsonrpc":"2.0","id":"prepare-1066-unconfirmed-plugthatshop_style_embed","method":"tools/call","params":{"name":"prepare_purchase_handoff","arguments":{"sku":"1066","quantity":1,"buyer_confirmed":false,"source_context":"ucp_builder_integration_pack","mcp_source_context":"plugthatshop_style_embed","mcp_install_target":"generic_streamable_http"}}}'
```

### Unconfirmed Handoff

```json
{
  "sku": "1066",
  "quantity": 1,
  "buyer_confirmed": false,
  "source_context": "ucp_builder_integration_pack",
  "mcp_source_context": "plugthatshop_style_embed",
  "mcp_install_target": "generic_streamable_http"
}
```

### Buyer-Confirmed Handoff Template

```json
{
  "sku": "{buyer_selected_exact_sku}",
  "quantity": "{buyer_selected_quantity}",
  "buyer_confirmed": true,
  "source_context": "ucp_builder_integration_pack",
  "mcp_source_context": "plugthatshop_style_embed",
  "mcp_install_target": "generic_streamable_http"
}
```

### Proof Gates

- External builder imports or embeds this source-specific Packrift shelf.
- Packrift records a non-local resource/script/install/first-run event with mcp_source_context=plugthatshop_style_embed.
- The builder calls search_products or prepare_purchase_handoff against the source-aware MCP endpoint.
- Any cart URL is produced by prepare_purchase_handoff only after buyer_confirmed=true.
- Sales proof requires source-attributed /r/cart or Shopify order continuity; hosted Packrift demos alone do not count.
