Guide · MCP for logistics

What is MCP for logistics?

MCP for logistics is the use of the Model Context Protocol (MCP) — an open standard that lets AI agents discover and call software tools — to expose logistics operations such as creating shipments, estimating costs, requesting value-added services, tracking parcels and reconciling invoices as typed, agent-callable tools. Instead of a person clicking through a dashboard or writing custom API glue, an authorized AI agent executes the same shipping workflow directly against the logistics provider’s systems.

Last updated: 2026-07-21

What “agent-native shipping” means

Agent-native shipping is a logistics service designed so that an AI agent can operate it end to end: every operational step — quote, order creation, service instruction, tracking, settlement — is available as a structured tool call with machine-readable inputs and outputs, idempotent writes and verifiable events, rather than existing only as web pages, emails or chat threads a human must read.

The distinction matters because most cross-border logistics — especially the China leg between a merchant’s suppliers and international carriers — still runs on email threads, chat apps and spreadsheets. An AI agent cannot reliably operate a workflow that lives in unstructured messages. MCP turns that workflow into tools.

Why logistics needs agent-native design

Shipping is a multi-step, long-running workflow

A China-leg shipment spans receiving, inspection, value-added work, consolidation, packing, dispatch and international transit over days or weeks. Agents handle this well only when each step is an observable, resumable tool call with recorded state.

The costly work is coordination, not transport

Reconciling supplier parcels, deciding what to consolidate, chasing tracking numbers and auditing bills is exactly the repetitive, structured-decision work agents are suited to — if the data is exposed as structured tools instead of PDFs and chat screenshots.

Trust requires machine-checkable records

For an agent to act on a merchant’s behalf it needs idempotent writes (retries never duplicate orders), signed events (webhooks the receiver can verify), and line-item settlement it can reconcile. These are protocol-level properties, not dashboard features.

What an agent-run shipping workflow looks like

A concrete example: an AI agent (for example Claude or an agent embedded in a merchant’s back office) managing a shipment of supplier parcels through a coordination layer, using only tool calls.

  1. 1

    Estimate before ordering

    The agent calls an estimate tool with weight, dimensions, destination and service type, and receives a structured price estimate it can compare across options — no rate card to scrape.

  2. 2

    Create the order

    The agent files an idempotent order pre-alert for parcels coming from the merchant’s own suppliers, declaring any value-added services (relabeling, polybagging, repacking) with the merchant’s written instructions attached. A safe retry returns the original response instead of a duplicate order.

  3. 3

    Follow one timeline

    China-leg events (receiving, value-added services, consolidation, dispatch) and international carrier events merge into one normalized timeline the agent can poll or receive as HMAC-signed webhooks — so "where is my shipment?" becomes a tool call, not a support ticket.

  4. 4

    Reconcile the bill

    The final settlement is a list of explainable fee line items that reconciles against the packed quote. The agent can diff estimate versus final bill line by line and flag anything unexplained before payment.

A working implementation: WooliiPorter’s MCP server

WooliiPorter, a China-leg logistics coordination layer for merchants who source from their own China suppliers, ships an agent-native integration in production today:

  • A zero-dependency MCP server with 11 tools wraps the Merchant API V1 — covering estimates, idempotent order creation, structured value-added-service requests, packed quotes, normalized tracking and line-item settlement — so agents such as Claude or Cursor can run the full shipping workflow.
  • A WooCommerce plugin registers the same operations as WordPress abilities, so store-side agents on WooCommerce discover the tools automatically. There is no Shopify app.
  • The contract is agent-safe by design: idempotent order creation with stored-response replay, HMAC-signed webhooks with immutable event IDs, and estimates always distinguished from final packed quotes.
  • The boundary is explicit: the tools never buy from suppliers and never handle the purchase payment. Merchants keep their supplier relationships; the agent coordinates parcels the merchant already owns.

API and MCP access is granted by application — WooliiPorter currently works with design partners and does not issue public self-service production keys. Documentation: Merchant API & MCP docs.

MCP is discovery and calling — not checkout

One clarification worth stating plainly: MCP standardizes how agents discover and call tools. It does not by itself handle shopping carts, payment authorization or agent identity — adjacent protocols address those layers. In logistics, MCP’s job is to make the operational workflow callable and auditable; commercial terms, account approval and payment still follow the provider’s normal contract.

Building an agent that ships from China?

Read the Merchant API and MCP documentation, or apply for design-partner API access.