AI agents can buy shipping labels worldwide — using their own carrier accounts. This remote MCP server wraps AfterShip Shipping (Postmen), which aggregates carriers (UPS, USPS, FedEx, DHL, Ninja Van, J&T and more). Four tools: quote_rates (compare live rates → service_type + total_charge), create_label (buy a chosen service → printable label_url + tracking_number), cancel_label (void an unused label), and query_tracking (honestly not supported — tracking is a separate AfterShip product).
AfterShip is an aggregation layer. You bind your OWN carrier accounts — your contracts and rates — inside AfterShip (admin.postmen.com), then pass that shipper_account_id on each call. This server owns no carrier accounts and never marks up the price. It is how an agent can reach carriers that do not hand out self-serve API keys — J&T, Ninja Van, Aramex — the curve-around is your AfterShip-bound account.
{
"mcpServers": {
"global-logistics": {
"type": "http",
"url": "https://logi-global.wishpool.app/mcp",
"headers": {
"x-aftership-key": "your_aftership_api_key",
"x-aftership-env": "sandbox"
}
}
}
}
Register a free AfterShip key (no approval) at admin.postmen.com / AfterShip → Shipping, and bind your carrier accounts there. x-aftership-env defaults to sandbox, which generates real labels end-to-end at zero cost; send production to buy real labels on your carrier contract. The same key works in both.
Give quote_rates a to/from address (ISO 3166-1 alpha-3 countries, e.g. USA, GBR, JPN) and a parcel (weight_value/weight_unit; optional width/height/depth). It returns each available service_type with its total_charge, delivery date and transit time. Feed the service_type into create_label with the same shipper_account_id; the server re-quotes the exact charge, applies the owner policy guardrails, then buys — returning label_url and tracking_number.
as-api-key) and is never stored.x-agentpay-max-amount, x-agentpay-approval-above, x-agentpay-allowed-tools — set by the human owner in client config; the agent cannot relax them. The label price is gated before any purchase.query_tracking returns a structured not_supported result: AfterShip's Shipping (Postmen) API has no tracking endpoint. Use the tracking_number from create_label with the carrier, or the separate AfterShip Tracking API.
US domestic labels via EasyPost live in usa-logistics-mcp; Taiwan CVS-pickup & home delivery in taiwan-logistics-mcp. The same family covers local payments in 81 countries at mcp.wishpool.app, plus electronic-invoice servers across nine countries including Mexico CFDI, Brazil NF-e, Chile DTE, Peru CPE and India GST.