Packrift MCP 0.2.13 15 tools 1272 resources No buyer API key

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.

Tracked install source: mcp so

Use this config URL when a directory, partner, campaign, or agent host can fetch MCP JSON directly.

Tracked config Tracked Codex install Tracked Cline install Tracked first run Activation runner Order handoff

Install

Remote MCP config
{
  "mcpServers": {
    "packrift": {
      "type": "http",
      "url": "https://mcp.packrift.com/mcp?packrift_mcp_source=mcp_so&packrift_mcp_target=generic_streamable_http"
    }
  }
}
Claude Code
claude mcp add --transport http packrift 'https://mcp.packrift.com/mcp?packrift_mcp_source=mcp_so&packrift_mcp_target=claude_code'
Codex
codex mcp add packrift --url 'https://mcp.packrift.com/mcp?packrift_mcp_source=mcp_so&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}$.

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.

Selected JSONL tasks
https://mcp.packrift.com/ai/mcp-external-activation-brief-tasks.jsonl
Selected CSV tasks
https://mcp.packrift.com/ai/mcp-external-activation-brief-tasks.csv
Guarded selected-runner
PACKRIFT_EXTERNAL_ACTIVATION=1 bash <(curl -sS 'https://mcp.packrift.com/ai/mcp-external-activation-brief-runner.sh')

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.

Source-aware endpoint
https://mcp.packrift.com/mcp?packrift_mcp_source=mcp_so&packrift_mcp_target=generic_streamable_http
Tracked run URL
https://mcp.packrift.com/r/run/mcp_so/generic_streamable_http?utm_source=mcp_so&utm_medium=first_run_action&utm_campaign=packrift_mcp_activation&utm_content=generic_streamable_http
Buyer prompt
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=mcp_so&packrift_mcp_target=generic_streamable_http
JSON-RPC sequence
[
  {
    "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": "mcp_so_first_cart_run",
        "journey_id": "mcp_install_mcp_so_1066_53472879935856",
        "result_set_id": "mcp_install_first_run_mcp_so"
      }
    }
  },
  {
    "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": "mcp_so_first_cart_run",
        "journey_id": "mcp_install_mcp_so_1066_53472879935856",
        "result_set_id": "mcp_install_first_run_mcp_so"
      }
    }
  },
  {
    "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": "mcp_so_first_cart_run",
        "journey_id": "mcp_install_mcp_so_1066_53472879935856",
        "result_set_id": "mcp_install_first_run_mcp_so"
      }
    }
  },
  {
    "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": "mcp_so_first_cart_run",
        "journey_id": "mcp_install_mcp_so_1066_53472879935856",
        "result_set_id": "mcp_install_first_run_mcp_so",
        "mcp_source_context": "mcp_so",
        "mcp_install_target": "generic_streamable_http",
        "utm_term": "1066"
      }
    }
  }
]
Curl script
#!/usr/bin/env bash
set -euo pipefail

PACKRIFT_MCP_ENDPOINT='https://mcp.packrift.com/mcp?packrift_mcp_source=mcp_so&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":"mcp_so_first_cart_run","journey_id":"mcp_install_mcp_so_1066_53472879935856","result_set_id":"mcp_install_first_run_mcp_so"}}}'
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":"mcp_so_first_cart_run","journey_id":"mcp_install_mcp_so_1066_53472879935856","result_set_id":"mcp_install_first_run_mcp_so"}}}'
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":"mcp_so_first_cart_run","journey_id":"mcp_install_mcp_so_1066_53472879935856","result_set_id":"mcp_install_first_run_mcp_so"}}}'
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":"mcp_so_first_cart_run","journey_id":"mcp_install_mcp_so_1066_53472879935856","result_set_id":"mcp_install_first_run_mcp_so","mcp_source_context":"mcp_so","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.

Buyer/reviewer page
https://mcp.packrift.com/r/order/mcp_so?format=html
Guarded shell URL
https://mcp.packrift.com/r/order/mcp_so?format=sh
Shell one-liner
curl -sS 'https://mcp.packrift.com/r/order/mcp_so?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. 1. Connect the hosted endpoint

    The agent sees Packrift as a remote Streamable HTTP MCP server.

    https://mcp.packrift.com/mcp?packrift_mcp_source=mcp_so&packrift_mcp_target=generic_streamable_http
  2. 2. List tools

    The agent confirms the current 15-tool commerce surface.

    {
      "jsonrpc": "2.0",
      "id": "tools",
      "method": "tools/list"
    }
  3. 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. 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. 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. 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. 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

Proof Links