Packrift MCP Workflow Gallery

Give external agents, developers, marketplaces, and AI-commerce workflow builders copy-ready buyer prompts and JSON-RPC sequences that drive real Packrift MCP usage without creating a duplicate CLI or storefront.

PACKRIFT-MCP-WORKFLOW-GALLERY-R02 6 workflows 15 tools 1272 resources

Install Config

{
  "mcpServers": {
    "packrift": {
      "type": "http",
      "url": "https://mcp.packrift.com/mcp"
    }
  }
}

Workflows

One-call exact SKU live confirmation

ID: one_call_purchase_handoff_1066

Agent hosts and demos that need the shortest useful Packrift MCP flow from known SKU to guarded cart handoff.

Buyer prompt: Use Packrift SKU 1066. Confirm the exact product, live price, and inventory; create the cart only after I confirm quantity 1.

Success outcome: Agent uses prepare_purchase_handoff to collapse product, price, inventory, and guarded cart handoff into one safe source-preserving MCP tool call.

[
  {
    "jsonrpc": "2.0",
    "id": "prepare-1066-unconfirmed",
    "method": "tools/call",
    "params": {
      "name": "prepare_purchase_handoff",
      "arguments": {
        "sku": "1066",
        "quantity": 1,
        "buyer_confirmed": false,
        "source_context": "workflow_gallery_one_call",
        "mcp_source_context": "workflow_gallery",
        "mcp_install_target": "generic_streamable_http"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "prepare-1066-confirmed",
    "method": "tools/call",
    "params": {
      "name": "prepare_purchase_handoff",
      "arguments": {
        "sku": "1066",
        "quantity": 1,
        "buyer_confirmed": true,
        "source_context": "workflow_gallery_one_call",
        "mcp_source_context": "workflow_gallery",
        "mcp_install_target": "generic_streamable_http"
      }
    }
  }
]
  • unconfirmed result has status live_confirmed_awaiting_buyer_confirmation and cart null
  • confirmed result has status cart_handoff_ready
  • cart result url starts with https://mcp.packrift.com/r/cart/1066
  • live_confirmation includes product, pricing, inventory, price_ok, and inventory_ok

Exact SKU reorder to measured cart

ID: exact_sku_reorder_1066

AI shopping agents, procurement copilots, and agent-host demos that need the shortest buyer-ready flow.

Buyer prompt: Reorder Packrift SKU 1066. Confirm the exact product, live price, and inventory, then prepare a cart for quantity 1.

Success outcome: Agent presents SKU 1066 only after live checks and hands off the MCP /r/cart URL before the final Shopify cart URL.

[
  {
    "jsonrpc": "2.0",
    "id": "candidate-1066",
    "method": "tools/call",
    "params": {
      "name": "get_cart_handoff_candidates",
      "arguments": {
        "sku": "1066",
        "limit": 1
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "product-1066",
    "method": "tools/call",
    "params": {
      "name": "get_product",
      "arguments": {
        "handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "price-1066",
    "method": "tools/call",
    "params": {
      "name": "get_pricing",
      "arguments": {
        "variant_ids": [
          "53472879935856"
        ],
        "quantity": 1,
        "selected_sku": "1066",
        "selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
        "match_type": "workflow_gallery_exact_sku"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "inventory-1066",
    "method": "tools/call",
    "params": {
      "name": "check_inventory",
      "arguments": {
        "variant_ids": [
          "53472879935856"
        ],
        "selected_sku": "1066",
        "selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
        "match_type": "workflow_gallery_exact_sku"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "cart-1066",
    "method": "tools/call",
    "params": {
      "name": "create_cart_url",
      "arguments": {
        "sku": "1066",
        "quantity": 1,
        "selected_sku": "1066",
        "selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
        "match_type": "workflow_gallery_exact_sku",
        "source_context": "mcp_workflow_gallery",
        "journey_id": "mcp_workflow_gallery_1066_53472879935856",
        "result_set_id": "mcp_workflow_gallery",
        "utm_term": "1066"
      }
    }
  }
]
  • candidate result includes selected_sku 1066
  • product result has ai_status AI_APPROVE
  • pricing result has unit_price and currency
  • inventory result has in_stock true before cart handoff
  • cart result url starts with https://mcp.packrift.com/r/cart/1066

Weather-resistant label reorder

ID: label_reorder_ll251wr

Procurement agents handling repeat label purchases where printer type, material, size, and case count must stay exact.

Buyer prompt: Prepare a procurement-ready reorder for Packrift SKU LL251WR and confirm live price and inventory before giving me a cart path.

Success outcome: Agent confirms the 2 5/8 x 1 weather-resistant polyester laser label spec and keeps the label case count exact.

[
  {
    "jsonrpc": "2.0",
    "id": "product-ll251wr",
    "method": "tools/call",
    "params": {
      "name": "get_product",
      "arguments": {
        "handle": "2-5-8-x-1-weather-resistant-polyester-laser-labels-3000-case"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "price-ll251wr",
    "method": "tools/call",
    "params": {
      "name": "get_pricing",
      "arguments": {
        "variant_ids": [
          "53475925492080"
        ],
        "quantity": 1,
        "selected_sku": "LL251WR",
        "selected_handle": "2-5-8-x-1-weather-resistant-polyester-laser-labels-3000-case",
        "match_type": "workflow_gallery_label_reorder"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "inventory-ll251wr",
    "method": "tools/call",
    "params": {
      "name": "check_inventory",
      "arguments": {
        "variant_ids": [
          "53475925492080"
        ],
        "selected_sku": "LL251WR",
        "selected_handle": "2-5-8-x-1-weather-resistant-polyester-laser-labels-3000-case",
        "match_type": "workflow_gallery_label_reorder"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "reorder-ll251wr",
    "method": "tools/call",
    "params": {
      "name": "get_reorder_link",
      "arguments": {
        "sku": "LL251WR",
        "source_context": "mcp_workflow_gallery"
      }
    }
  }
]
  • product result has approved_sku LL251WR
  • label material and printer type are not substituted
  • pricing and inventory are current before purchase handoff
  • reorder link contains Packrift product and procurement-spec continuity

Literature mailer lookup and cart handoff

ID: literature_mailer_mfl1295

Fulfillment agents choosing a repeat mailer SKU for ecommerce shipping.

Buyer prompt: Find Packrift SKU MFL1295, confirm it is the white self-seal literature mailer, and prepare a quantity 1 cart only if it is in stock.

Success outcome: Agent confirms the exact white self-seal literature mailer SKU and avoids nearby mailer sizes or colors.

[
  {
    "jsonrpc": "2.0",
    "id": "product-mfl1295",
    "method": "tools/call",
    "params": {
      "name": "get_product",
      "arguments": {
        "handle": "12-1-8-x-9-1-4-x-5-white-corrugated-literature-mailer-self-seal-50-pack"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "price-mfl1295",
    "method": "tools/call",
    "params": {
      "name": "get_pricing",
      "arguments": {
        "variant_ids": [
          "53472994427248"
        ],
        "quantity": 1,
        "selected_sku": "MFL1295",
        "selected_handle": "12-1-8-x-9-1-4-x-5-white-corrugated-literature-mailer-self-seal-50-pack",
        "match_type": "workflow_gallery_mailer_cart"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "inventory-mfl1295",
    "method": "tools/call",
    "params": {
      "name": "check_inventory",
      "arguments": {
        "variant_ids": [
          "53472994427248"
        ],
        "selected_sku": "MFL1295",
        "selected_handle": "12-1-8-x-9-1-4-x-5-white-corrugated-literature-mailer-self-seal-50-pack",
        "match_type": "workflow_gallery_mailer_cart"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "cart-mfl1295",
    "method": "tools/call",
    "params": {
      "name": "create_cart_url",
      "arguments": {
        "sku": "MFL1295",
        "quantity": 1,
        "selected_sku": "MFL1295",
        "selected_handle": "12-1-8-x-9-1-4-x-5-white-corrugated-literature-mailer-self-seal-50-pack",
        "match_type": "workflow_gallery_mailer_cart",
        "source_context": "mcp_workflow_gallery",
        "journey_id": "mcp_workflow_gallery_mfl1295_53472994427248",
        "result_set_id": "mcp_workflow_gallery",
        "utm_term": "MFL1295"
      }
    }
  }
]
  • product result has approved_sku MFL1295
  • mailer color, closure, and pack count stay exact
  • cart result uses https://mcp.packrift.com/r/cart/MFL1295

Fit an item, then confirm commerce facts

ID: fit_item_then_confirm

Agents answering packaging-fit questions where the buyer does not know the SKU.

Buyer prompt: Find packaging for a 9 x 4 x 3 inch ecommerce item weighing 2 lb. Show only AI-approved candidates, then confirm price and stock for the selected SKU.

Success outcome: Agent ranks fit candidates, asks the buyer to choose an exact SKU and quantity, then runs live price and inventory checks before handoff.

[
  {
    "jsonrpc": "2.0",
    "id": "fit-9x4x3",
    "method": "tools/call",
    "params": {
      "name": "find_packaging_for_item",
      "arguments": {
        "item_length_in": 9,
        "item_width_in": 4,
        "item_depth_in": 3,
        "item_weight_lb": 2,
        "use_case": "ecommerce"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "price-selected-fit",
    "method": "tools/call",
    "params": {
      "name": "get_pricing",
      "arguments": {
        "variant_ids": [
          "<selected_variant_id_from_fit_result>"
        ],
        "quantity": "<buyer_confirmed_quantity>",
        "match_type": "workflow_gallery_fit_confirmed"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "inventory-selected-fit",
    "method": "tools/call",
    "params": {
      "name": "check_inventory",
      "arguments": {
        "variant_ids": [
          "<selected_variant_id_from_fit_result>"
        ],
        "match_type": "workflow_gallery_fit_confirmed"
      }
    }
  }
]
  • fit results come from AI_APPROVE catalog records
  • agent does not create a cart until buyer chooses an exact SKU and quantity
  • price and inventory are checked for the selected variant

No-exact-match quote recovery

ID: no_exact_match_quote_recovery

Agents handling buyer specs where dimensions, material, closure, color, printer type, or case count differs.

Buyer prompt: The buyer asked for 10 x 6 x 8 ECT-32 kraft boxes, 25/bundle. If Packrift has no exact AI-approved match, explain the mismatch and give a quote path.

Success outcome: Agent refuses to present a nearby SKU as exact and routes the buyer to a tracked quote recovery path.

[
  {
    "jsonrpc": "2.0",
    "id": "search-10x6x8",
    "method": "tools/call",
    "params": {
      "name": "search_products",
      "arguments": {
        "query": "10 x 6 x 8 ECT-32 kraft corrugated boxes 25 bundle",
        "limit": 5
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "no-match-10x6x8",
    "method": "tools/call",
    "params": {
      "name": "explain_no_exact_match",
      "arguments": {
        "requested_spec": "10 x 6 x 8 ECT-32 kraft corrugated boxes, 25/bundle",
        "family": "corrugated_boxes",
        "missing_or_mismatched_fields": [
          "depth",
          "exact_dimensions"
        ],
        "reason": "Do not substitute 10 x 6 x 6 or nearby corrugated boxes as an exact 10 x 6 x 8 match."
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "quote-10x6x8",
    "method": "tools/call",
    "params": {
      "name": "get_bulk_quote_link",
      "arguments": {
        "requested_spec": "10 x 6 x 8 ECT-32 kraft corrugated boxes, 25/bundle",
        "family": "corrugated_boxes",
        "quantity": "buyer to confirm",
        "reason": "No exact AI-approved Packrift match."
      }
    }
  }
]
  • agent states no exact match when required fields differ
  • nearby dimensions are not promoted as exact substitutes
  • quote link is used for recovery instead of cart handoff

Agent Host Uses

turn each workflow into an eval caseuse exact_sku_reorder_1066 as the first demo after installuse no_exact_match_quote_recovery to test safety behavioruse fit_item_then_confirm when the buyer does not know the Packrift SKUrecord create_cart_url output as MCP-attributed conversion handoff

Automation Templates

Import the n8n workflow directly, or use the JSON workflow pack for Zapier and Pipedream-style hosts.

Operating Rules

  • Use https://mcp.packrift.com/mcp as the runtime endpoint.
  • Do not build a separate Packrift CLI or duplicate buyer surface for these workflows.
  • Always confirm exact SKU, live price, live inventory, and buyer-selected quantity before cart handoff.
  • Use the MCP /r/cart URL returned by create_cart_url as the primary measured handoff.
  • If any required spec differs, explain no exact match and use quote recovery instead of forcing a substitute.