Packrift MCP Start
Install the hosted Packrift MCP endpoint, run one exact-spec packaging flow, confirm live price and inventory, and hand off a measured cart URL.
Install
{
"mcpServers": {
"packrift": {
"type": "http",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=generic_streamable_http"
}
}
}
claude mcp add --transport http packrift 'https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=claude_code'
codex mcp add packrift --url 'https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=codex'
Tracked Links
Use source-specific start links and config links in directories, partner handoffs, campaigns, and agent workflows so MCP install traffic is measurable by source. Custom lowercase slugs are allowed when they match ^[a-z0-9_]{2,64}$.
Current Source
Start Examples
Config Examples
External Activation
Use the selected contact-ready task feed when an agent host, marketplace reviewer, or automation platform needs the smallest current set of real MCP runs. This is for external proof against the hosted endpoint, not a new CLI.
https://mcp.packrift.com/ai/mcp-external-activation-brief-tasks.jsonl
https://mcp.packrift.com/ai/mcp-external-activation-brief-tasks.csv
PACKRIFT_EXTERNAL_ACTIVATION=1 bash <(curl -sS 'https://mcp.packrift.com/ai/mcp-external-activation-brief-runner.sh')
Review handoff
Run After Install
Copy one source-aware first run into a compatible MCP client after install. It confirms SKU 1066, live price, inventory, and returns a measured Packrift MCP cart URL without placing an order.
https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=generic_streamable_http
https://mcp.packrift.com/r/run/open_webui_agent/generic_streamable_http?utm_source=open_webui_agent&utm_medium=first_run_action&utm_campaign=packrift_mcp_activation&utm_content=generic_streamable_http
Reorder Packrift SKU 1066. Confirm the exact product, live price, and inventory, then prepare a measured cart handoff for quantity 1. Use endpoint: https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=generic_streamable_http
[
{
"jsonrpc": "2.0",
"id": "tools",
"method": "tools/list"
},
{
"jsonrpc": "2.0",
"id": "candidate-1066",
"method": "tools/call",
"params": {
"name": "get_cart_handoff_candidates",
"arguments": {
"sku": "1066",
"limit": 1,
"source_context": "open_webui_agent_first_cart_run",
"journey_id": "mcp_install_open_webui_agent_1066_53472879935856",
"result_set_id": "mcp_install_first_run_open_webui_agent"
}
}
},
{
"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": "install_first_useful_run",
"source_context": "open_webui_agent_first_cart_run",
"journey_id": "mcp_install_open_webui_agent_1066_53472879935856",
"result_set_id": "mcp_install_first_run_open_webui_agent"
}
}
},
{
"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": "install_first_useful_run",
"source_context": "open_webui_agent_first_cart_run",
"journey_id": "mcp_install_open_webui_agent_1066_53472879935856",
"result_set_id": "mcp_install_first_run_open_webui_agent"
}
}
},
{
"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": "install_first_useful_run",
"source_context": "open_webui_agent_first_cart_run",
"journey_id": "mcp_install_open_webui_agent_1066_53472879935856",
"result_set_id": "mcp_install_first_run_open_webui_agent",
"mcp_source_context": "open_webui_agent",
"mcp_install_target": "generic_streamable_http",
"utm_term": "1066"
}
}
}
]
#!/usr/bin/env bash
set -euo pipefail
PACKRIFT_MCP_ENDPOINT='https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=generic_streamable_http'
PACKRIFT_MCP_USER_AGENT='MCP-First-Run/1.1 (+https://mcp.packrift.com/start)'
PACKRIFT_MCP_SESSION_ID="${PACKRIFT_MCP_SESSION_ID:-mcp-first-run-$(date -u +%Y%m%dT%H%M%SZ)-$RANDOM}"
PACKRIFT_MCP_LAST_RESPONSE=''
rpc() {
PACKRIFT_MCP_LAST_RESPONSE="$(curl -sS "$PACKRIFT_MCP_ENDPOINT" \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-H "Mcp-Session-Id: $PACKRIFT_MCP_SESSION_ID" \
-H "user-agent: $PACKRIFT_MCP_USER_AGENT" \
-d "$1")"
normalize_mcp_response
}
normalize_mcp_response() {
if printf "%s\n" "$PACKRIFT_MCP_LAST_RESPONSE" | grep -q "^data:"; then
printf "%s\n" "$PACKRIFT_MCP_LAST_RESPONSE" | sed -n "s/^data:[[:space:]]*//p" | tail -n 1
return
fi
printf "%s\n" "$PACKRIFT_MCP_LAST_RESPONSE"
}
extract_measured_cart_url() {
printf "%s\n" "$PACKRIFT_MCP_LAST_RESPONSE" | grep -Eo 'https://mcp\.packrift\.com/r/cart/[^"[:space:]<>\\]+' | tail -n 1 || true
}
touch_measured_cart_landing() {
local cart_url="${PACKRIFT_MCP_CART_URL:-$(extract_measured_cart_url)}"
if [ -z "$cart_url" ]; then
printf "No measured Packrift MCP /r/cart URL found in the final response.\n" >&2
return 1
fi
printf "Opening measured Packrift MCP cart landing: %s\n" "$cart_url"
curl -sS -o /dev/null "$cart_url" \
-H "user-agent: $PACKRIFT_MCP_USER_AGENT"
printf "Recorded mcp_cart_landing. No order was placed.\n"
}
rpc '{"jsonrpc":"2.0","id":"tools","method":"tools/list"}'
rpc '{"jsonrpc":"2.0","id":"candidate-1066","method":"tools/call","params":{"name":"get_cart_handoff_candidates","arguments":{"sku":"1066","limit":1,"source_context":"open_webui_agent_first_cart_run","journey_id":"mcp_install_open_webui_agent_1066_53472879935856","result_set_id":"mcp_install_first_run_open_webui_agent"}}}'
rpc '{"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":"install_first_useful_run","source_context":"open_webui_agent_first_cart_run","journey_id":"mcp_install_open_webui_agent_1066_53472879935856","result_set_id":"mcp_install_first_run_open_webui_agent"}}}'
rpc '{"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":"install_first_useful_run","source_context":"open_webui_agent_first_cart_run","journey_id":"mcp_install_open_webui_agent_1066_53472879935856","result_set_id":"mcp_install_first_run_open_webui_agent"}}}'
rpc '{"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":"install_first_useful_run","source_context":"open_webui_agent_first_cart_run","journey_id":"mcp_install_open_webui_agent_1066_53472879935856","result_set_id":"mcp_install_first_run_open_webui_agent","mcp_source_context":"open_webui_agent","mcp_install_target":"generic_streamable_http","utm_term":"1066"}}}'
touch_measured_cart_landing
Guarded Order Handoff
Use this after a real source-attributed MCP run has produced tool-call and measured cart proof. The shell runner performs an unconfirmed live check first, requires buyer approval, and never places an order.
https://mcp.packrift.com/r/order/open_webui_agent?format=html
https://mcp.packrift.com/r/order/open_webui_agent?format=sh
curl -sS 'https://mcp.packrift.com/r/order/open_webui_agent?format=sh' | bash
Guardrail
The shell runner calls prepare_purchase_handoff with buyer_confirmed=false first and exits unless PACKRIFT_BUYER_CONFIRMED=1. A confirmed run returns and opens a measured /r/cart URL only; it never places an order.
First Useful Flow
-
1. Connect the hosted endpoint
The agent sees Packrift as a remote Streamable HTTP MCP server.
https://mcp.packrift.com/mcp?packrift_mcp_source=open_webui_agent&packrift_mcp_target=generic_streamable_http
-
2. List tools
The agent confirms the current 15-tool commerce surface.
{ "jsonrpc": "2.0", "id": "tools", "method": "tools/list" } -
3. Try the one-call exact-SKU prep tool
The agent confirms SKU 1066, live price, and inventory without creating a cart URL until buyer_confirmed is true.
{ "jsonrpc": "2.0", "id": "prepare-1066", "method": "tools/call", "params": { "name": "prepare_purchase_handoff", "arguments": { "sku": "1066", "quantity": 1, "buyer_confirmed": false, "source_context": "mcp_start_demo" } } } -
4. Fetch one purchase-ready cart candidate
The agent receives SKU 1066 plus the required live-confirmation sequence.
{ "jsonrpc": "2.0", "id": "candidate-1066", "method": "tools/call", "params": { "name": "get_cart_handoff_candidates", "arguments": { "sku": "1066", "limit": 1 } } } -
5. Confirm live price
The agent verifies the current price before showing a buyer-facing recommendation.
{ "jsonrpc": "2.0", "id": "price-1066", "method": "tools/call", "params": { "name": "get_pricing", "arguments": { "variant_ids": [ "53472879935856" ], "quantity": 1 } } } -
6. Confirm live inventory
The agent verifies the exact SKU is available before cart handoff.
{ "jsonrpc": "2.0", "id": "inventory-1066", "method": "tools/call", "params": { "name": "check_inventory", "arguments": { "variant_ids": [ "53472879935856" ] } } } -
7. Create the measured cart handoff
The agent returns a Packrift MCP /r/cart landing URL before the final Shopify cart URL.
{ "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": "mcp_start_demo", "source_context": "exact_spec_ai_agent", "journey_id": "mcp_start_1066_53472879935856", "result_set_id": "mcp_start", "utm_term": "1066" } } }
Buyer Prompts
- Reorder Packrift SKU 1066. Confirm product, live price, inventory, then prepare a cart handoff for quantity 1.
- Use prepare_purchase_handoff for Packrift SKU 1066 with buyer_confirmed=false, then ask me to confirm the exact SKU and quantity before creating the cart handoff.
- Find packaging for a 9 x 4 x 3 inch item weighing 2 lb for ecommerce shipping; compare options and check live price and inventory.
- A buyer asked for 10 x 6 x 8 ECT-32 kraft boxes. If there is no exact AI-approved match, explain no exact match and route to bulk quote recovery.
- Create a procurement line item for Packrift SKU LL251WR with exact SKU, product URL, live price check, inventory, and reorder path.