AI agents can now create Taiwan shipments — 超商取貨 (convenience-store pickup / 店到店) and 宅配 (home delivery). This remote MCP server wraps the ECPay 綠界 Logistics API with three tools: create_shipment, query_shipment (tracking), and print_label (印託運單/一段標). Carriers: 7-ELEVEN, 全家 FamilyMart, 萊爾富 Hi-Life, OK 超商, 黑貓 TCAT, 中華郵政.
{
"mcpServers": {
"taiwan-logistics": {
"type": "http",
"url": "https://logi-tw.wishpool.app/mcp",
"headers": {
"x-ecpay-merchant-id": "your-merchant-id",
"x-ecpay-hash-key": "your-hash-key",
"x-ecpay-hash-iv": "your-hash-iv"
}
}
}
}
No headers? The server runs a zero-setup demo on the ECPay stage environment with the official public test merchant — create_shipment returns a real test AllPayLogisticsID. Add "x-ecpay-mode": "production" to hit the live host.
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. Applied to goods/COD amounts (代收貨款 risk).Sensible defaults (demo store 131386, goods_name 商品一批); every result embeds numbered next_steps; every error teaches the fix; status codes come with plain-English hints.
Taiwan payments & 電子發票 (e-invoice) — same ECPay merchant triplet — live in taiwan-payments-mcp. One family of stateless local-commerce MCP servers: local payments in 81 countries, plus invoice servers for Mexico CFDI, Brazil NF-e, Chile DTE, Peru CPE and India GST.